[thelist] simple JSP question

Tom Dell'Aringa pixelmech at yahoo.com
Thu Jan 22 08:01:08 CST 2004


No idea why I can't find this answer but anyway - I know I can get
the JSP querystring by doing such:

<%= request.getQueryString() %>

However, I don't want the WHOLE thing, I just want the value of my
name that I sent:

path.jsp?dir=Hey

So in this case I'm looking for "Hey". I thought you could do:

String myDir = request.getQueryString("dir");

but I get an error. How can I simply get the value of my name/value
for dir?

TIA

Tom

=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: JavaScript Author / Every Friday!
http://www.thywordistruth.net/ :: Eternal Life

[Those who say that I am finished, and am through, will have to run over my dead body to beat me...]


More information about the thelist mailing list