Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i get the output of the jsp  RSS feed

 
George Pincharoen
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to get the output of the jsp page, which has been parsed,
How can i change this before it send to the browser and use as input
for something else.
Thanks for help
 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is typically done as a HTML doc right?
 
George Pincharoen
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Statement: out.write(" /*something*/ ");
In java file that generated from jsp
i want to get /*something*
for use as input for something else


 
Marilyn Monickam
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You can use the request.setAttribute(String,String) to set an attribute and then get it back using getAttribute(String) or you can pass it as a hidden variable from the HTML form
Marilyn
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!