aspose 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
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: 61661
    
  67

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: 61661
    
  67

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.
 
 
subject: Servlets calling HTML