This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Working with struts 1.3.8 DispatchAction error -->The path of an ForwardConfig cannot be null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Working with struts 1.3.8 DispatchAction error -->The path of an ForwardConfig cannot be null" Watch "Working with struts 1.3.8 DispatchAction error -->The path of an ForwardConfig cannot be null" New topic
Author

Working with struts 1.3.8 DispatchAction error -->The path of an ForwardConfig cannot be null

Shailesh Kumar Saxena
Greenhorn

Joined: Dec 15, 2012
Posts: 25

Hello everybody..! I am newbie in struts. While working in a small application with Dispatch Action class I am getting problems( I don't know either these errors are related to some image upload, .doc file upload issues or something else).
I got this error The path of an ForwardConfig cannot be null
I am pasting the entire code.Please any body help me.

struts-config.xml
-------------------



---------------------------------------Right Now I am just focusing to register() method

Action class code
------------------



error message on browser...

Please help me..



Shailesh Saxena,
Pilibhit, U.P. INDIA
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8707
    
    6

Your struts config file doesn't reference RegisterAction, so I don't see how that figures into this situation. What action are you trying to trigger when you get this error? What URL are you putting in your browser?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Shailesh Kumar Saxena
Greenhorn

Joined: Dec 15, 2012
Posts: 25

Hi Joe,
Thanks for your reply. You are right, I don't have the manner to put my query. But I'll try to improve my self.
After 3-4 days of googling I got my mistake.
Thanks a lot.
 
 
subject: Working with struts 1.3.8 DispatchAction error -->The path of an ForwardConfig cannot be null
 
Similar Threads
Need an attribute to be available in different places (SOLVED)
problem with action mapping
Problem with ActionMessage
Compiler error in Action class - configuring data source in struts-config.xml. Please help!
The page will go to main.jsp even user don't input username?