How to put the custom action element 's body in a block of java 2005-01-21 - By Thai Dang Vu
Back Hello everybody,
I created a custom tag file like this
<%@ tag body-content="scriptless" %>
<jsp:doBody var="myBody" />
I want to use the myBody variable in a block of java code like
<% String myBody1 = myBody.replace('e', 'E'); %>
The above code didn't work. The error is: myBody cannot be resolved. Is there anyway to overcome this problem?
Regards,
Thai Dang Vu
=========================================================================== To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST". For digest: mailto listserv@(protected) with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
|
|