File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlets calling HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets calling HTML" Watch "Servlets calling HTML" New topic
Author

Servlets calling HTML

Prasanna Santosh
Greenhorn

Joined: Mar 12, 2010
Posts: 5
Hey there, i just created two Html pages, once the user enters information in the first page, the servlet is called and username/password is verifed, upon success i should display second html file

How can this be done ?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "Servlets" in a forum completely dedicated to questions on Servlets isn't very helpful.

Please go back and change your post to add a more meaningful subject by clicking the


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

You can forward, or you can redirect. As it's an HTML file rather than a JSP, a redirect is best as a forward is pretty useless in that scenario.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets calling HTML
 
Similar Threads
Using color in a pane
Simple question concerning dates, JSP and Javabeans
mapping .jsp to .html
How To Set All the Textfields in a Web Page to READONLY?
HTML parser