• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POSTING FROM APP to SERVLET

 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm passing some stuff from a Microsoft Application to a Java Servlet (WebApplication) 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 appreciated!
-- Mike
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have the URL link to a dummy page which redirects to the real page using a post.
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What sort of control do you have in the App, are you writing the source code for the App?
Are you able to create ActiveX objects etc?
Anyway, this might be of use, it demonstrates using an activex object for doing a http post (example is in javascript, but it could be modified to say run in VB or something similar.
 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THANKS ALL!!!
-- Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic