| Author |
Struts 1.3.10 DispatchAction issue
|
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
Guys,
I have a DispatchAction class defined as below:
My struts-config.xml entry looks like this:
I call this by clicking a hyperlink which calls an action when clicked:
When I click the hyperlink to call my searchForms.jsp, I get the following error:
Not able to figure out why this happens. Any suggestions?
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
Are you sure the the the class you mapped
is same as the class you post.
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
|
That was a typo. It is the same by the way.
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
Code looks ok, some RnD
Use Struts tag:
If that doesn't work, pass the hidden input param named "method" with value = "populate"
|
 |
 |
|
|
subject: Struts 1.3.10 DispatchAction issue
|
|
|