Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploy struts project on tomcat server

 
Bacchi Gerem
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic