File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 1.3.10 DispatchAction issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts 1.3.10 DispatchAction issue" Watch "Struts 1.3.10 DispatchAction issue" New topic
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
    
    1

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
    
    1

Code looks ok, some RnD
Use Struts tag:


If that doesn't work, pass the hidden input param named "method" with value = "populate"
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts 1.3.10 DispatchAction issue
 
Similar Threads
Error for the org.apache.struts.actions.ForwardAction
Problem with the form.
issue in calling the Action class
Problem running a simple webapplication in struts
Action Question