Hi,

My configuration first --

Apache JServ 1.05b
Apache Web Server 1.3.6
OS Windows NT Workstation 4.0 SP4

Most of the examples that I have seen, allow one to send back html
tagged code as follows -
out.println("<P>This is output from SimpleServlet.");

1.  I have a situation where I take a FORM which the user fills and
clicks "continue", and I call the POST method

<FORM METHOD=POST ACTION="/servlets/MyServletClass">

MyServletClass, parses the form input and stores the info into a
database.

After storing into a database, I need to show the user the next FORM
page. Its a static form page. How do I send this static form page
(myStaticForm.html) back ?

[In Jason Hunter's book, Chap 4., I see references to getPathInfo() and
getPathTranslated() methods. The only relevant example is 4.10,
"Dynamically returning static files", where he uses a com.oreilly util
class method returnFile(). Is there a generic call in javax.servlet] 

2.  Also, if in this FORM page that I return, I want to add a hidden
tag so that I can remember the user or track the session. What's the
best way to do that ? 

Thanks in advance for your help.

-Depankar Neogi
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to