Hi All,
My application has already been coded to use the encodeURL() method for all
URL references within all of the JSP pages. I now have a need to take the
output of encodeURL() and add additional text to it. Is it possible to
write my own version of encodeURL() that will call the request.encodeURL()
method and then pass the output back to the JSP page?
For example I would have the following on a JSP page:
<%= response.encodeURL( "/SomePage.jsp") %>
Then I would have a class called response with a static method called
encodeURL() which may look like this:
static String encodeURL( String location ) {
String strTemp = response.encodeURL( location );
doStuff( strTemp );
return strTemp;
}
Due to the fact that I don't fully understand the Jakarta architecture
perhaps this isn't possible? Any ideas?