I'm passing some stuff from a Microsoft application to a Java Servlet called "dispatcher" (web server extension) like this: lccmd='run /n7 "C:\Program Files\Internet Explorer\iexplore.exe" ; http://'+gcWebHost+'/SomeWebApp/dispatcher+ ; '?txtlogin='+STRTRAN(ALLTRIM(userID),' ','%20')+; '&txtpassword='+STRTRAN(ALLTRIM(lcPassword),' ','%20')+; '&fName='+STRTRAN(ALLTRIM(fname),' ','%20')+; '&lName='+STRTRAN(ALLTRIM(lName),' ','%20') Naturally, this is coming into the servlet via IE as a "GET". This works fine, but the fields are visible in IE. How about if I don't want the fields above to be visible in the URL? Is there some way to send parameters to IE ... HIDDEN and not visible on the URL line? Any advice would be greatly appreciated!!! Thanks. -- Mike
Ranjeet Athwal
Greenhorn
Joined: Feb 17, 2004
Posts: 1
posted
0
you'd need to do a post - can do this by setting up a http session. if this is too much of a pain (it shouldn't be), you can do the get then imediately redirect to the same page without the get parameters
Mike London
Ranch Hand
Joined: Jul 12, 2002
Posts: 948
posted
0
The problem, I think, is that the way the URL is passed to the Servlet, it's first passed to IE from the MS application. Is there a way around IE? IOW, can I call the servlet directly from inside a method in some other application? Look forward to your reply. Thanks. -- Jim
Bear pointed out this is also posted in the HTML forum. Please don't cross post, it wastes the time of the people trying to help you. I'm going to close this copy. Anyone who wants to help should see this thread. Dave
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Calling Servlet via URL but want "Post" behavior