jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes how do i get the response after hitting a url 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 "how do i get the response after hitting a url" Watch "how do i get the response after hitting a url" New topic
Author

how do i get the response after hitting a url

preethi ranga
Greenhorn

Joined: Feb 14, 2007
Posts: 6
Hi..
I have a java file where i construct a few parameters like name,age etc and append it to a location which has a pdf file and now in that pdf these parameters will be mapped to the respective fields and the pdf will be generated.Now my question is in case there were some errors in the server because of which the document was not printed how do i find out the error from the response and handle it accordingly....

Thanks in Advance
[ September 25, 2008: Message edited by: Bear Bibeault ]
 
Consider Paul's rocket mass heater.
 
subject: how do i get the response after hitting a url
 
Similar Threads
IllegalStateException: getOutputStream() has already been called for this response
Publishing directory in Websphere App Server
display output as pdf
Embedding a pdf file inside a JSP
going to a particular page in a pdf