Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

struts2 helloWorld --> show 404 error

 
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,

I have put my struts2 helloWorld code. When run on weblogic server 10.3.6, click on index.jsp page, it show 404 error.
It should process the hello action but not.
Is there any missing in my code. Please help.

aeon_awip_application
+---src
+---src---com.tutorialspoint.strut2(package)---HelloWorldAction.java
+---src---struts.xml
+---WebContent
+---WebContent---index.jsp
+---WebContent---WEB-INF---web.xml, weblogic.xml
+---WebContent---WEB-INF---helloWorld---HelloWorld.jsp

index.jsp


web.xml




 
Raymond Chiu Wing Hing
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have solved the issue which is due to the jar version. I have not used maven and use lib folder in which I copied the jar according to the tutorials. It worked
reply
    Bookmark Topic Watch Topic
  • New Topic