• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

struts2 helloWorld --> show 404 error  RSS feed

 
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!