| Author |
Cannot pass parameter to Servlet?
|
YuenLian Wu
Ranch Hand
Joined: Nov 16, 2005
Posts: 73
|
|
Dear all, I am currently encountering some unexpected errors from jsp and servlet. I hope I can get some help from you guys. I have a jsp that includes a html file, the html file contains serveral hyper links as shown in the below What I am tring to do is to pass the "action_type" parameter from html to a Servlet class. However, I couldn't get back this parameter from the servlet class, and I don't know why. I am getting dizzy and crazy about this, I hope you guys can solve my problem so that I can get a good sleep tonight. Myriad Thanks Transistor [ April 19, 2006: Message edited by: Bear Bibeault ]
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
Can you show us the code that you use in your servlet class? The code that fails to get the parameter?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Moved to the Servlets forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Is your servlet even being invoked?
|
 |
YuenLian Wu
Ranch Hand
Joined: Nov 16, 2005
Posts: 73
|
|
|
yes, it can be invoked !!!
|
 |
Ganesh Chinni
Greenhorn
Joined: Dec 30, 2005
Posts: 24
|
|
|
Post the servlet code that you are using to get the request parameter.
|
 |
 |
|
|
subject: Cannot pass parameter to Servlet?
|
|
|