Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "response" Watch "response" New topic


gaurav chhabra
Ranch Hand

Joined: Jul 24, 2004
Posts: 109
as i want to check the user name and password through servlet and if it will match
the i have to send th other page and if the user name and password does not match then it will send an error to do this
thank you
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
cross posting
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
Setup a servlet which will read the 2 parameters from the client, and, as appriopiate, forward the desired page (e..g welcome.jsp or error.jsp).
I agree. Here's the link:
subject: response