In a servlet I use this line of code to modify a requests querystring and
add a parameter to flag that this link should be treated differently and add
a bit of javascript to open a new window for it.
This works fine on my local tomcat but on the server it gives a 404
What's wrong?
results.append("<p style=\"float:left\"><input class=\"button\"
type=\"button\" value=\"Printer Friendly Version\" "+
"onclick=\"window.open('"+res.encodeURL("RouteResults?"+req.getQueryString()
+"&prt=1")+
"')\"></p>");
--
Mike W
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html