jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes how to send error message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to send error message" Watch "how to send error message" New topic

how to send error message

gaurav chhabra
Ranch Hand

Joined: Jul 24, 2004
Posts: 109
how to send the error message to the client if i like to send the error message through the servlet..like i have to check for the user name and password and if the user enters the entries wrong then the servlet should respond with an error message.
thank you
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Bind the message string with the request object as an attribute like,

[ February 08, 2005: Message edited by: Adeel Ansari ]
I agree. Here's the link: http://aspose.com/file-tools
subject: how to send error message
Similar Threads
handle exception in servlet
How to validate HTML form using servlet
Sending multipart message