Thanks everyone for the help and information. I just wrote a method to
take the filename (obtained from the getPathTranslated() method) and
read into the FileInputStream, and then write it to the ServletOutput
Stream. This works fine and does the job.
-Depankar
--- Burt Alexander <[EMAIL PROTECTED]> wrote:
> > 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 ?
> >
> > 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 ?
>
> This may not be the best way to do things, but its
> how we do it.
>
> We have a class that reads html files & returns a
> string representation of
> the file. This is passed to the ServletOutputStream
> via the println
> method. There is also the facility to parameterize
> the html dynamically -
> we use html templates with specialized tags & fill
> them in accordingly.
>
> Hope this gives you some ideas.
>
>
> Burt.
_________________________________________________________
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]