wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "deploy struts project on tomcat server" Watch "deploy struts project on tomcat server" New topic
Author

deploy struts project on tomcat server

Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120
Hi,

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

http://wallace:8080/Struts_Contracts_Entry/login.jsp


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.






Thanks
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: http://aspose.com/file-tools
 
subject: deploy struts project on tomcat server
 
Similar Threads
Creating a Virutal host and a exe in tomcat.
Tomcat problem with RAD (Rational Application Developer)
Displaying a .jsp page using Tomcat Server
Accessing my Servlets/JSP's from home via internet.
Changing the host name in apache tomcat