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 link between servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "link between servlets" Watch "link between servlets" New topic
Author

link between servlets

Archu Joshi
Greenhorn

Joined: Nov 12, 2000
Posts: 3
hi everybody
i have written a servlet that takes username & password from HTML form & checks the values with values stored in a database.
if valid values then Welcome message comes & ihave to click on a link that shows next screen. if values are not valid Login failed message comes.
but i dont want to click on any link to see the next screen it should come directly.
what is the solution.
bye
Archana


Archu
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
What you need is the "meta refresh" tag understood by most browsers. For example:
<meta http-equiv='refresh' content='10; /welcome.html'>
<html>
<body><h2>Logged in OK. Please Wait</h2>
</html>
Will show the "Logged in OK" message for 10 seconds, then go to to the /welcome.html page.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: link between servlets
 
Similar Threads
global veriable + hyper link
Create Server on WASD 6.0
netbeans 5.5 + Jboss 4.0.4 + EJB 3.0
Can someone explained to me the "paused" state ?
Oracle 9i INstallation in windows XP pro sp2