Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes deploy struts project on tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "deploy struts project on tomcat server" Watch "deploy struts project on tomcat server" New topic

deploy struts project on tomcat server

Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120

I deployed Strut_Contracts_Entry project war file on tomcat server.
while i am trying to run the application using following url:


i am using netbeans .

I am getting the below Error:

HTTP Status 404 - /Struts_Contracts_Entry/


type Status report

message /Struts_Contracts_Entry/

description The requested resource (/Struts_Contracts_Entry/) is not available.

Gayathri Chowduru
Ranch Hand

Joined: Oct 17, 2007
Posts: 42
Requested resource is not available means, the controller is not able to find the action path, which is you are invoking from jsp. Did you define all the ActionForm and ActionClass names in struts-config.xml? Just check once. If not, define the ActionForm under <form-beans/> tag and ActionClass under <action-mappings/>.
Just check and let me know. :-)

Thanks & Regards,
Gayathri Chowduru.
I agree. Here's the link:
subject: deploy struts project on tomcat server
jQuery in Action, 3rd edition