Hi Bear,
From Visual FoxPro, I'm calling IE and passing it a URL, like this:
lccmd='run /n7 "C:\Program Files\Internet Explorer\iexplore.exe" ;
http://'+gcWebHost+'/index.jsp'+ ;
'?txtlogin='+STRTRAN(ALLTRIM(USERID),' ','%20')+;
'&txtpassword='+STRTRAN(ALLTRIM(lcPassword),' ','%20')+;
'&fName='+STRTRAN(ALLTRIM(fname),' ','%20')+;
'&lName='+STRTRAN(ALLTRIM(lname),' ','%20') + CHR(13)
---------------
**********************************************
Then, in index.jsp, I do something like this:
**********************************************
RequestDispatcher disp = request.getRequestDispatcher("dispatcher");
.
. (more code to do request.getParameter(...)s)
.
disp.forward(request,response);
}
**********************************************
The dispatcher is a Servlet.
**********************************************
The "forward" above comes into the Servlet's doGet().
I then forward the (request,response) to the Servlet's doPost().
The doPost in the Servlet code finally calls the JSP page that is the Web App. However, when the Web App starts up, using the above methodology, you SEE the passwords and other private stuff inside the Web App.
I need some kind of way of doing a POST without having to manually log in and click SUBMIT.
-------
Does this information help?
Can I get the "hidden URL" doPost() behavior in some way?
Thank you very much for your reply.
I look forward to hearing back.
Thanks much!!!
-- Mike