aspose file tools*
The moose likes Struts and the fly likes Exception in Struts namespace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exception in Struts namespace" Watch "Exception in Struts namespace" New topic
Author

Exception in Struts namespace

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Guys,

I'm facing a small problem when trying to access an action class. Below is how the exception stack trace:



The tiles definition would look like this:



My action mapping looks like below:




SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Are there any startup errors?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

No.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Does it mean that my form action should be /welcomeAction instead of just welcomeAction?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Here is my jsp page which I submit to an action:

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

I missed to include the struts-xxx.xml file. Now getting another error as below:



Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Oh yes, this time around forgot to include the tiles-xxx.xml to my web.xml. It now works just fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in Struts namespace