Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 Error

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using Eclipse3.6.1, Apache Tomcat server 7.0 for creating struts helloworld example. while executing the following code,
am getting 404 error.Copied all necessary jar files in lib folder.
Exception at line 10
Multiple annotations found at this line:
- <bean:write name="helloWorldForm"
property="message"/>

helloworld.jsp


HelloWorldAction.java


HelloWorldActionForm.java


struts-config.xml



 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because you are using struts taglib bean
So you need to declare that taglib into the JSP page
 
abhishek rathur
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
include
in your .jsp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic