• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create HTML file from JSP on Web Server

 
Elizabeth King
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
How to create the HTML file in ascii
format on the web server from the JSP
that generats this HTML file on
the browser? I know it is in the HTTP
response, but how to get it from web container
on server?
Thanks.
 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
If i have understood it correctly, then what u mean is instead of using the response object to print the information on to the browser u need to extract the data from the response object.If this is the case, try using response.getContent()..I think this would return u the content present in the response object
Geeta
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!