This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What can replace bc.getString()

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have this code snippet in a jsp.

<%
/* BodyContent, pageContext.pushBody() and pageContext.popBody() APIs are used to read
values returned by tags into a String object(urls).
The String is then parsed to create a Map object.
The Map object will contain name of page as key and url of page as value.
*/
String urls = "";
BodyContent bc = null;
bc = pageContext.pushBody();
urls = bc.getString().trim();
pageContext.popBody();
%>

For some reason the new version of Web Server AppServer which runs this application has placed restrictions on the usage of BodyContent and pageContext to get the information.
What can the scriplet be replaced with such that I am still able to get the values of String urls as before.
Thanks .
Dhiren
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic