Hi,

        I want to include a querystring within an HTML anchor tag

eg:

<a href="/examples/test.jsp?name=hello world">  click </a>

but tomcat is giving JSP parse error as:

1)test.jsp(0,4) invalid argument

I even tried encoding the href as
response.encodeURL("/examples/test.jsp?name=hello world") 

eventhough everythgs written properly to html page,tomcat complains with
(0,4) error..invalid declaration.

can anybody let me know how to include querystring in links in JSPs??

thanx advance,

deeps


Reply via email to