[thelist] simple JSP question
Raditha Dissanayake
jabber at raditha.com
Thu Jan 22 08:32:27 CST 2004
request.getParameter("dir")
Tom Dell'Aringa wrote:
>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...]
>
>
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.
More information about the thelist
mailing list