Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Parameter passing ( newbie JSP'er)  RSS feed

 
Rob Earls
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am converting a PHP program to JSP, and it uses this type of code to pass variables.
<a href="orderdisp.php?order=O284282">
Can I use the same format, and how do I read a variable passed in this manner? Needless to say I have tried:
request.getParameter("order")
and it does not appear to work.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
request.getParameter("order") should have worked.

Bosun
 
Rob Earls
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ignore this last post. I need to lay off the crack.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!