File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to send error message

 
gaurav chhabra
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir
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
gaurav
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bind the message string with the request object as an attribute like,


[ February 08, 2005: Message edited by: Adeel Ansari ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic