By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,541 Members | 1,106 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,541 IT Pros & Developers. It's quick & easy.

can i include query in URL?

P: n/a
I have a list of names, and upon clicking the list, want each list item to
go to a different url. Is it safe to put the urls's like this?

<A HREF="resultsPg?rownumber=1">Select row 1</A>
<A HREF="resultsPg?rownumber=2">Select row 2</A>
<A HREF="resultsPg?rownumber=3">Select row 3</A>

resultsPg is a servlet. I want to return a page based on the row selected
from the list (rownumber).

Thanks.
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You are compromising the security of the entire application.
Look up "SQL Injection".

--
Tony Morris
http://www.xdweb.net/~dibblego/
Jul 17 '05 #2

P: n/a
so how would i go about doing it? You know how in some websites, when you
click the column heading it re-sorts by that column that you clicked....
"Tony Morris" <di******@optusnet.com.au> wrote in message
news:cc**********@news.btv.ibm.com...
You are compromising the security of the entire application.
Look up "SQL Injection".

--
Tony Morris
http://www.xdweb.net/~dibblego/

Jul 17 '05 #3

P: n/a
"Tony Morris" <di******@optusnet.com.au> wrote in message
news:cc**********@news.btv.ibm.com...
You are compromising the security of the entire application.
Look up "SQL Injection".


Based upon the OPs post, how so?

- Virgil
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.