You cant have a space char in the query string; you need to encode it.
If the anchor tag itself is in a jsp page, you can write:
A HREF="/examples/test.jsp?name=%=java.net.URLEncoder.encode("hello
world")%"
- Boaz
-Original Message-
From: Deepak C S [mailto:[EMAIL PROTECTED]]
Sent:
thanx all who replied for my quest...It worked
regards
deeps
--
From: Ted Husted[SMTP:[EMAIL PROTECTED]]
Reply To: [EMAIL PROTECTED]
Sent: Monday, December 25, 2000 7:04 PM
To: Tomcat User List
Subject: Re: how to include querystring in JSP
a href
Ted Husted typed the following on 08:34 AM 12/25/2000 -0500
a href="/examples/test.jsp?name=hello world" click /a
As a rule, anchor tags should be URL encoded, so you might try
a href="/examples/test.jsp?name=hello+world" click /a
A quick nitpick:
a href="%=