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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 9243
    
    1

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: 2902
    
    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: 9243
    
    1

That was a typo. It is the same by the way.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    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://aspose.com/file-tools
 
subject: Struts 1.3.10 DispatchAction issue
 
Similar Threads
Action Question
Problem running a simple webapplication in struts
Problem with the form.
Error for the org.apache.struts.actions.ForwardAction
issue in calling the Action class