Accessing JavaScripts in Share Components

Hi.
I am trying to access/use a javascript I created under the path in portal:provider-->shared components--> javascripts. I called this function "test".
The Javascript works when I test it, but when I try to call the function "test" from an onChange() event handler portal can't find the function. When I view source the javascript function isn't loaded into the source.
I am calling the function from the onChange event handler like so: test();
Is there a specific way in which I have to call the shared components javascripts from an onChange event handler?
I know I can add my javascript function to the pl/sql additional code page using htp.p('...'); but I would really like to keep it in the share components so the code is accessible to everyone.
Any suggestions would be greatly appreciated. :)
Thanks,
McKell

Thanks for the reply. I appreciate your input.
You mentioned the shared components where available for form level and field level validation. Can I use the javascript in the shared components for a combobox?
Thank you again,
McKell

Similar Messages

  • Cant access a DFS share from a Windows 7 computer

    I am having DFS share access issues with a Windows 7 workstation.
    My setup is I have 6 windows 7 stations accessing this DFS Share.
    All computers have the same Administrator password and another User/Password
    All but 1 are working as they should.
    The DFS share is running under Server 2008 R2 and contains files from this and another server.
    From the workstation, I can see the server under Network.
    I can open it and see the individually shared volumes and I have full read/write permissions.
    I can see the DFS share and I can map it.
    If I try to open the shared volumes within the DFS file I get a message saying I dont have permission.
    Interestingly, when I look at the properties of the DFS share form the workstation, I dont see a DFS tab.
    If I do this from a workstation is is able to connect fully to the share, I see a DFS tab in the properties.
    I tried to include everything,
    Thanks in advance

    Hi,
    Please try hotfix in the following KB,and check the result.
    You cannot access a DFS share through a mapped network drive on a computer that is running Windows 7 or Windows Server 2008 R2
    http://support.microsoft.com/kb/983620/en-us
    Some steps for troubleshooting DFS you can try
    http://technet.microsoft.com/en-us/library/cc962144.aspx
    How to troubleshoot Distributed File System Namespace access failures in Windows
    http://support.microsoft.com/kb/975440/en-us
    use command dfsutil /pktinfo to test the access to the DFS root and connectivity to the root shares
    http://blogs.technet.com/b/askds/archive/2009/06/04/the-case-of-the-random-dfs-access-denial.aspx
    Regarding to the missing dfs tab, there's a policy, locate to User Configuration\Administrative Templates\Windows Components\Windows Explorer\remove dfs tab, then users can not view or change the properties of the dfs shares
    Yolanda Zhu
    TechNet Community Support

  • When i login with microsoft account cannot access with administrative share c$

    i have a problem when i login to windows with microsoft account cannot access any network computer with administrative sharing c$,d$ with windows 8.1 
    but when i login with local account can access
    and some people tell  me create key in regedit t fix it 
    after enter user name and password show this error 
    and i apply your instruction  and not fix until now
    note:
     my Machine windows 8.1 if another machine in network windows 7 can access a hidden share if machine in network windows 8.1 show this message in image 2 
    but if i login with local user can i access all machine hidden share network windows 7 and 8.1

    yes this computer i want to access  name poland2-work and have two users 
    first :administrator
    second : poland 2

  • Windows XP users can't access SMB/CIFS shares on MAC OSX10.4.4 Xserve bug?

    The Xserves are new for us. This problem involves two of the 10.4 xerserves.
    1 serves as an Open Directory System Master(10.4.3). 2 Serves as a file share & backup (10.4.4).
    Both are production machines and cannot easily be restarted.
    There is no Windows network, Active Directory or Windows domain in our network.
    We created a SMB and AFP share on the file server which is a member of the Open Directory. (It is bound and kerberized to server 1).
    The users all have accounts in the OD system and all passwords are Open Directory. Our users can ssh into the various xserves (including the file share server 2) and authenticate against OD.
    We made the shares available via smb under Protocols --> Windows File Settings. We turned the Windows Service on in Server Admin. I'ts a standalone server and all the authentication types are checked under access.
    The MAC (powerbook) users can access the share fine. The Windows users can't. The Windows laptops can see the file share server (through search - not visable is Network Neighborhood) but when they try and connect they are presented by an authentication box that just keeps cycling over and over regardless of what the user types as user name & passwd.
    I tried to access the smb share with my powerbook(10.4.4) and have the same issue. I'm presented with an authentication box but authentication fails.
    The Windows File Service Log shows:
    auth.c:checkntlmpassword(312)
    checkntlmpassword: Authentication for user [csmith] -> [csmith] FAILED with error NTSTATUS_WRONGPASSWORD
    [2006/02/24 21:52:03, 1] authods.c:opendirectory_authuser(212)
    User "csmith" failed to authenticate with "dsAuthMethodStandard:dsAuthSMBNTKey" (-14090)
    [2006/02/24 21:52:03, 1] authods.c:opendirectory_smb_pwd_checkntlmv1(427)
    opendirectorysmb_pwd_checkntlmv1: [-14090]opendirectoryauthuser
    [2006/02/24 21:52:03, 2] /SourceCache/samba/samba-92.15/samba/source/auth/auth.c:checkntlmpassword(312)
    checkntlmpassword: Authentication for user [csmith] -> [csmith] FAILED with error NTSTATUS_WRONGPASSWORD
    [2006/02/24 21:52:03, 1] authods.c:opendirectory_authuser(212)
    User "csmith" failed to authenticate with "dsAuthMethodStandard:dsAuthSMBNTKey" (-14090)
    [2006/02/24 21:52:03, 1] authods.c:opendirectory_smb_pwd_checkntlmv1(427)
    opendirectorysmb_pwd_checkntlmv1: [-14090]opendirectoryauthuser
    [2006/02/24 21:52:03, 2] /SourceCache/samba/samba-92.15/samba/source/auth/auth.c:checkntlmpassword(312)
    checkntlmpassword: Authentication for user [csmith] -> [csmith] FAILED with error NTSTATUS_WRONGPASSWORD
    [2006/02/24 21:52:03, 2] /SourceCache/samba/samba-92.15/samba/source/smbd/server.c:exit_server(595)
    Closing connections
    I've googled this error and it seems that there a lot of engineers out there with the same problem but no answers. Could this be a bug with Apple's SMB process? Is there something I've missed? (I've looked at the smb.conf and have even turned off deny clear text passwords - I've even tried granting guest access) Anyone have any ideas?

    On the server itself, run the following in the Terminal:
    (from a few different sources):
    run ps -auxw | grep Password
    to see if Password service is running
    Also check the logs in /Library/Logs/PasswordService
    Try: id username
    and see if you get some info returned.
    Ex: id jimguy
    You should get some info about uid, gid, groups.
    sudo killall -USR1 DirectoryService
    Then try to login from a client machine.
    Be sure to re-issue
    sudo killall -USR1 DirectoryService
    in order to stop the (far more) verbose logging.
    Then check the logs in /Library/Logs/DirectoryService
    In Open Directory, you might want to revert to standalone (this will destory the existing OD setup) and then re-promote to OD Master. You'll lose all OD users however when doing so. If you don't have many, this may be best.
    You'll want to verify the hostname, and forward & reverse DNS lookups before re-promoting, and watch for any errors when promoting to OD master
    See, when you say "The real clue is that I'm unable to access the shares from my Powerbook G4 with my Open Directory account. I can log in to the file share as the local admin though and that's why I'm thinking there is a bug in the samba/OD relationship. " - that's the real clue indeed.
    The local admin account, the first admin account you setup on the server, is indeed local, and resides in NetInfo, not Open Directory.
    So something is afoul in your OD.

  • I cant access the root share of a windows server after upgrading to mountain lion

    Hi Guys,
    Since upgrading to mountain lion i cant access the shared drives on our windows server. For example in a windows machine if i go to run the type \\server\ i get all the visible shares available. in my previous version i was able to do the same (obviously i would authenticate with my AD account). now when i try to access those same shares i get the message below:
    "The operation cant be completed becuase the original item for "/" cant be found"
    I can however connect to the shares directly for example if i connect to server path \\server\data it works ok.
    I have verified my account details and they are ok - i have also disconnected and reconnected the connection.
    This was working fine before the upgrade. can anyone help??

    well iv just managed to get to 35 gig free (just deleting iphone backups) and im now able to get past the next screen on bootcamp.
    unfortunatly its only allowing me to create a new partition not delete the current.
    this is leading me to think the old ones master partition has become damaged and the hard drive dosent know it exists any more.
    if this is the case (please tell me im wrong though) what options do i have as i dont want to / have the money to buy another hard drive to back everything up to it with.
    thanks again
    gareth

  • Cannot access local DFS shares while VPN is active

    Hi
    We use Windows Server 2008 Standard as a domain controller. It also hosts DFS. Although the namespaces are hosted on the server, the data is stored on a Windows 2008 Storage Server. We do not use DFS replication.
    I have several DFS shares mapped on my Windows 7 client, which has just replaced my XP client, and can access them without any problems.
    However, as soon as I connect to a remote network (located on a different domain - it has nothing to do with our network at all), I am unable to access our DFS shares. If I try to access a DFS share an error message pops up stating:
    Location is not available
    Logon failure: unknown user name or bad password.
    The first time I connected the VPN a network dialog popped up asking what type of network it was and I chose Work. After connecting via the VPN I use remote desktop to carry out daily maintenance on a server on the remote network.
    Other local resources are available. I can ping machines via IP, name and FQDN. I can access the same DFS shares using UNC paths. So, although I receive the error message described above when accessing AD-name.local-backslash-share-name1 I have no trouble
    accessing server-name-backslash-share-name1
    As soon as I close the VPN connection normal functionality is restored and I can again access the DFS shares without any problems.
    Can someone help me fix this, please? When this was setup on my XP machine I never experienced this problem.
    Also, is there a way of typing LAN addresses without the forum software converting them to a customised hyperlink? Thanks!

    Thank you, fupin
    Sabrina's suggestion to edit the pbk file worked. I changed the setting from 1 to 0 and connected to the remote network via the VPN and am still able to access the local DFS shares.
    As per the OPs comments, the username and password I am using for the remote network are both different from the credentials I am using on the local network.
    ... take the steps in the KB 822707 to resolve it:
    1). Locate the .pbk file that contains the entry that you dial. To do so, click Start, click Search, type *.pbk in the All or part of the file name box, and then
    click Search.
    2). Open the file in Notepad.
    3). Locate the following entry: UseRasCredentials=1
    4). Modify the entry to the following: UseRasCredentials=0
    5). On the File menu, click Save, and the click Exit.
    Cheers!

  • Have updated to F.F.5. and I now get this evertime I use it. Message: [Javascript Application] TypeError: Components.classes[@softage.ru/skype/SkypeFfExtension;1'] is undefined - HELP

    Have updated to F.F.5. and I now get this error every time I use it.
    Message: [Javascript Application] TypeError: Components.classes[@softage.ru/skype/SkypeFfExtension;1'] is undefined - HELP
    As do hundreds of others it seems. If you run a search on this error.
    Many thanks for your help over this.
    Sean

    That is caused by a problem with the Skype extension for Firefox.
    See:
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • No access on podcast share from Windows clients

    Hello together!
    I have the following scenatio at home:
    * 1 Server with Windows 2008 R2 with logged in user and iTunes running (everything is shared)
    * 1 Laptop with Windows 7 x64 & iTunes
    * 1 Desktop with Windows 7 x86 & iTunes
    * 1 Macbook with Mac OS X Leopard & iTunes
    With this constellation I want to have access to my iTunes library located on the server from all other computer. With the MacBook this funktions without any problem to access everything (podcasts too).
    On both Windows computer the directory pocasts is invisible. I can find the podcast files in the main directory but they are grey and the the playback does not start.
    Is here anyone who had already the same problem and perhaps solved it? Thank you in advance for your replies.
    P.S. Generally I can play the files by changing the kind of media to movie.
    Message was edited by: Mattn81

    Oleg,
    I had the exact same problem here - we have two XSERVE machines here running OSX 10.5.7 server, and we're accessing a samba share on these servers from Windows XP SP3 clients.
    When moving a file, I noticed a message in /var/log/samba/log.smbd :
    [2009/06/15 12:45:30, 0, pid=50709] /SourceCache/samba/samba-187.8/samba/source/modules/vfsdarwin_acls.c:fsp_setacl(126)
    darwinacl: failed to set ACL on <filename>: Invalid argument
    !#acl 1
    I tried to look this up on google, but had no success.
    Searching the file /etc/smb.conf for "acl" showed the following line:
    vfs objects = darwinacl,darwin_streams
    (Un)commenting this line (inserting a ";" in front of the first character) and restarting s,b solved the problem here - I'm now able to move files without having the permissions set to 0000, and the error in log.smbd doesn't appear any more.

  • Why Can't I Access My Leopard Shares from Vista

    I can access my Vista shares from Leopard via Go->Connect To Server (although they don't automatically just appear in Finder as they did in Tiger). In Vista, I can see my MBPro, but when I click on it there's a long wait followed by a Network Error, saying Vista can't access my Mac and telling me the network path was not found. I don't get even get a Login dialog box into which to enter my username and password. My MBPro is connected wirelessly to my Airport Extreme network, while the PC is connected via cable into the back of the AE.
    Yes, I've turned on File Sharing.
    Yes, I've made sure that the Workgroup is the same both in Leopard and Vista.
    Yes, I've created a new NETBios name for my MBPro and can confirm that Vista sees my Mac by the new name.
    Yes, I've made sure that SMB file sharing (and only SMB) is enabled.
    Yes, I've made sure that my username and passwords are identical in both Leopard and Vista.
    Yes, I've created an entirely new Network location.
    Yes, I've made sure "Read & Write" are enabled.
    Yes, I've set my Mac firewall to allow all incoming connections and made sure my Windows firewall is turned off.
    Yes, I spent 45 minutes on a call with a very helpful and patient Apple tech support rep who wasn't able to solve the problem.
    Can anyone offer any other advice?
    Thanks.

    There is a bit of work you need to do on Vista because of Vista's authentication model:
    To enable Windows Vista to connect to Mac OS X with Windows File Sharing enabled, you will need to change the following policy in Windows Vista:
    Start>Run>secpol.msc [enter]
    Click on "Local Policies" --> "Security Options"
    Navigate to the policy "Network Security: LAN Manager authentication level" and double-click it to get its Properties. By default Windows Vista sets the policy to "NTVLM2 responses only". Use the drop-down arrow to change this to "LM and NTLM – use NTLMV2 session security if negotiated".
    In Vista Home Premium, you won't have this tool so:
    1. Run the registry editor elevated and open this key:
    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    1. If it doesn't already exist, create a DWORD value named
    LmCompatibilityLevel
    3. Set the value to 1
    4. Reboot
    If you are using a third-party firewall on Vista, uninstall it; don't just turn it off. If you are using Vista's built-in firewall (which is adequate for most people), you don't need to turn it off - just configure it for file/printer sharing. Make sure Vista thinks your LAN is Private and not Public.

  • Accessing Windows CIFS Shares via Nautilus

    Hi,
    I've recently installed and configured Solaris 11, am having problems accessing Windows CIFS shares via Nautilus.
    I've installed both samba (needed for CUPS to print to printers connect to a windows pc) and smb/client. The smb/client and samba services are running. The smb/server service is not installed.
    I can print to any printer on the windows PC I'm trying to access via Nautilus, so I know my username/password for accessing the pc are correct.
    I can also manually mount any share on the windows PC via the cli (eg mount -F smfs -o user=elin //elink/users /mnt), and browse the files directly that way, except the file permisssions don't seem to align with any unix user. Again this just shows that the username/password combination is ok.
    For Samba, I'm using the default smb.conf file as /etc/samba/samba.conf. Workgroup is set to WORKGROUP in smb.conf.
    On the Windows pc, in the security event viewer, I can see the auth request, however is failing with bad password (event ID 4776, error code 0x006a). In the default group policy object for networking, I've set to accept "LM & NT, NTLMv2 when neogiatated", as this allows legacy clients to connect. (Legacy meaning NT4, Win95, etc, and also has the benefit of allowing other OSes to connect as well).
    I'm also able to access the WIndows PC CIFS shares from an Arch Linux based setup (running GNOME 3.2 w/ Nautilus 3.2), so I doubt it's the Windows side of things causing the problems. Additionally, when I was running Solaris 10u9 (just before upgrading to Sol11), I was able to access the shares via Nautilus as well.
    So my question is:
    1. Does Nautilus use Samba or the Oracle smb/client service to handle mount windows CIFS shares?
    2. What log files or configuration files do I need to looking at to help with this error?
    As a side question,
    I've found that on a clean installation running the "Print Manager" accesses CUPS fine, but once you install a printer, it'll no longer connect to CUPS, unless run from the cli "sudo system-config-printers". So this is a permissions issue, where's the best place to fix/handle that one.

    Replying to my own thread, as I have a possible but very-hackish solution.
    To add some further details to my original post.
    There are 4 PCs on the LAN.
    1. Hellfire - OS = Solaris 11 11/11
    2. Brimstone - OS = Arch Linux
    3. Elink - OS = Win7 Pro x64 SP1
    4. IsaacPC - OS = WinXP Home SP3
    Attempting to connect to Elink from Hellfire, accessing CIFS shares via Nautulis fails. (Mounting shares via Nautulis fails, but works fine from CLI using 'mount' command which to my understanding uses the smb/client service to work). Elink also hosts all the printers on the LAN, a HP LJ1200 and an Epson Fax/Printer/Scanner.
    Helfire does attempt to authenticate, as listed in the event logs on the Win7 PC (elink), but is returning bad password when using Nautulis. (but printing from hellfire to either printer on elink works fine, as does mounting CIFS shares using 'mount').
    Booting the live CD of Solaris 11, also exhibits the same non-working behaviour when attempting to mount CIFS shares in Nautulis.
    Attempting to access CIFS shares on elink from Brimstone (via Nautulis 3.2 within GNOME 3.2), or from IsaacPC works fine.
    Hellfire configuration.
    Samba is installed, but NOT running (samba is needed for accessing the printers on elink, as CUPS needs smbspool which is part of the samba package), and the native smb/client service is also running.
    smb.conf is a direct copy of the default *.conf file, except the WORKGROUP is set to 'WORKGORUP'. There is a symlink to smb.conf in /etc/sfw/smb.conf -> /etc/samba/smb.conf
    Onto the hackish-fix.
    I've noticed that there are 2 copies of libsmbclient.so installed on the system, one in /usr/sfw/lib (part of the "libsmbclient" package) and another in /usr/lib/samba (part of the "samba" package).
    "libsmbclient" appears to be based on samba 3.5.8 codebase, and is linked to the gvfsd-smb daemon (this is the software that Nautulis uses to talk SMB to access CIFS shares).
    "samba" is based on the samba 3.5.10 codebase, and it's installation has nothing to do with GNOME or Nautulis in any manner.
    Using any of the samba included tools to test SMB/CIFS functions, work with 1 minor exception (which I'll list below). eg, using smbclient I can list all shares on any PC on the LAN, etc.
    So as a hunch, I renamed the libsmbclient.so.0 in /usr/sfw/lib, and symlinked /usr/sfw/lib/libsmbclient.so.0 -> /usr/lib/samba/libsmbclient.so.0 (so that gvfsd-smb is linked against the slightly newer version of the libsmbclient.so as included in the samba package located in /usr/lib/samba).
    I rebooted Hellfire, and now I'm able to access CIFS shares via Nautulis, provided that some form of authentication is needed (that is a username and password is needed - guest access and blanks passwords don't work - but these IMO should be disabled immediately as part of a baseline security package in regards to Windows - so no harm there).
    Now to the minor exception I noted earlier. When using smbclient to actually connect and transfer files, I get:
    ld.so.1: smbclient: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not found
    As far as I know, tgetent is part of libtermcap.so, so I guess when building smbclient or libreadline.so, the link reference to termcap was left out? (or something like that). Anyway, that's another issue...

  • Creating an Intranet and using IIS 6 and recieiving a 403.14 error when trying to access remote servers share.

    I can access the remote shares contents in my browser if I use file:////<server name>/share/filename.file but when I set up a link in the html code, I receive the 403.14 error in the log files.  I also have directory listing set on the IIS 6 webpage
    on our intranet server.
    I am stuck and at a loss... I'm not terribly familiar with IIS...
    Thanks in advance,
    Eric

    Hi,
    Base on my experience, the UNC must use the
    \\+PATH format, in some case if your code is not standard it will cause unknow error, more about the IIS question please post to the IIS forum.
    More information:
    IIS support forum
    http://forums.iis.net/
    Naming Files, Paths, and Namespaces
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
    Thanks for your understanding and support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Accessing JavaScript objects via JSObject

    The jaws.jar file, which contains JSObject was included in the sdk directory up to j2sdk1.4.1_05 (in j2sdk1.4.1_05\jre\lib). However, apparently this JAR file is not included in versions 1.4.2 and later versions of the sdk. So I have the following questions:
    1. Is JSObject becoming obsolete?
    2. If this is the case, what mechanism is replacing JSObject to access JavaScript objects from Java?
    Thanks for your help.

    JSObject is included in plugin.jar for Java 1.5 and 1.6, which can be found in the jdk folder unter \jre\lib
    It can be still included as usual, with:
    import netscape.javascript.JSException;
    import netscape.javascript.JSObject;
    I hope this helps.

  • Unable to access server files shares with Active Directory Users

    Quick breakdown of my issue.
    I have setup a Yosemite file server running the latest version of Yosemite and Server.
    File sharing in Server.app is enabled and shares have been created
    The server is bound to my company's Active Directory and you can directly login to the computer via AD credentials.
    The big issue is this, unless the user has directly walked up to my server and logged into it at least once, they cannot authenticate to the file shares via their AD credentials.
    For example: Administrator (me) I can login and access all file shares without issue.
    Jane Smith (SMITH) who has actually walked up to my server and logged in via her AD credentials, can also access all file shares. (That she has access to)
    John Doe (JDOE) who has not logged into the server in anyway, cannot authenticate to the server file shares  at all (even though I have granted him permission) He just gets an "Access Denied" message.
    I have gone into Directory Utility and changed the search order to give AD priority and this still doesn't resolve the problem.
    We have unbound the server from AD and added in back again and still not able to resolve.
    If you open Server.app and go to add someone from AD to a file share, it finds the AD user quickly and everything looks right. but still unable to authenticate to the server if they haven't directly logged into it before?
    All of the documentation and google articles I have found say my server is setup correctly, any help would be greatly appreciate it!
    Thanks in advance!

    I figured this out. In Mountain Lion Server, it doesn't matter if you give the user rights to a shared file or folder, if the user doesn't have access the File Sharing service, they can't get it. I had to find the specific users in the Server app under the AD in the Users tab, and give them rights to the File Sharing service. I think you can do this for a whole AD group as well, but I haven't tried.

  • Should Clients be able to access Wsuscontent folder share?

    I was testing some MDT options for installing approved updates during the install task. One of the steps was to map to the WSUSContent folder on our wsus sever. Access was blocked by our firewall and the shares were not configured.
    That got me thinking. Do clients need to be able to access this folder share to download the updates from WSUS? Are my clients currently downloading from MS based upon the approvals?

    Do clients need to be able to access this folder share to download the updates from WSUS?
    Clients DO NOT download from the share directly; the download is done via an HTTP GET file transfer call to http://wsusServer/Content/pathNameToFile.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Accessing javascript using HttpClient API

    Hi,
    I am using HttpClient API to access the content of page.Using that API
    I am able to retrive the content of the first page(The page Prior to Login).
    Now I want to login with user id and password.I have tried with PostMethod() but the content(in HtML Form) that I am getting is not of the next page but of the same page i.e. I am unable to login.
    I have seen the html content of the first page(by View Source from Browser) and there in the form tag on onsubmit event there is a call to a javascript function which is encrypting the password field.
    Can any body let me know how to deal with this type of situation or how to access javascript functions through HttpClient API.
    Thanks
    Anupam Sarkar

    hi,
    i have the same problem. i want to reach a url that has two parameters sent from a javascript function;
    +function doPost(eventTarget, eventArgument) {+
    +if (!theForm.onsubmit || (theForm.onsubmit() != false)) {+
    theForm._ET.value = eventTarget;
    theForm._EA.value = eventArgument;
    theForm.submit();
    +}+
    i tried to write a java code that appends values wtih namevaluepair and send them to base url with setrequestbody method;
         HttpClient client = new HttpClient();
    +          +
    +     String actionURL = "http://mevzuat.basbakanlik.gov.tr";+
    +          +
    +     PostMethod method = new PostMethod();+
    +          +
    +     NameValuePair[] postData = {+
    new NameValuePair("aspnetForm._ET.value","ctl00$Menu1"),
    new NameValuePair("aspnetForm._EA.value","~/AlfabetikFihristler.aspx"),
    +                         };+
    +               +
    +     method.setPath(actionURL);+
    +     method.setRequestBody(postData);+
    +          +
    +     int status = client.executeMethod(method);+
    +.+
    +.+
    +.+
    this code gives a warning;
    Feb 13, 2008 9:05:09 PM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
    WARNING: Cookie rejected: "$Version=0; ASP.NET_SessionId=fa4pnl55x3wxy2n2psorpdmu; $Path=/". Illegal path attribute "/". Path of origin: "http://mevzuat.basbakanlik.gov.tr"
    and it does not recognize the parameters that i have sent and gets the base url content only.
    i am very new to this subject and any help that can fix my problem or shows me the way to solve my problem is appreciated.
    thanks...

Maybe you are looking for

  • Poor speed and fluctuation performance

    Hi just got infinity 2 installed on 02/09/14 and experiancing poor speeds. getting on average 20Mb Dl and 12UL. I am 100meters from the exchange box, with new wiring to house and throughout. my profile is (see below) tried restarting router disconnec

  • Flash Galleries generate multiple image folders

    Can anyone explain why the Flash templates need to generate 3 image folders (Large, Medium, Small) in addition to the Thumbs? I'm pushing my disk space limit on my hosting server, and wonder if I really need to upload all these, as the combined size

  • Email addresses hijack?

    Contacts in my Address Book have received spam email apparently from my btinternet.com email address which suggests that my Address Book has been hijacked, although I am careful not to open suspicious looking emails. I have since deleted the server a

  • Mirroring FCPX Fullscreen doesn't work properly in Mountain Lion

    I am a High School Video Teacher and I moved from FCP7 to FCPX last year and upgraded to Mountain Lion this year. As a teacher, I mirror my Apple on a projector so the class can see whatever I do. The problem I am having is when I Play a clip or proj

  • Replication queries

    Hi Friends, I have some queries, please help me to resolve the issues. 1) i have replicated the plant from R/3 to CRM, plant is already been replicated, but the issue is under which role the plant will be treated as, it has taken the standard interna