• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

"/stuts-tag" not found

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am new to struts2.............i get an error while running my jsp page in application
error i got-----HTTP Status 500 - /view/jsp/contactus1.jsp (line: 4, column: 41) File "/struts-tags" not found



here is my sruts.xml





my web.xml




my jsp

 
Bartender
Posts: 9613
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added code tags to your post. Please use them in the future as they preserve formatting and make your code more readable.
From what I've seen, the most likely cause of your problem is a missing dependency. The Struts distribution has example applications. Have a look at the Blank app and compare the contents of the WEB-INF/lib directory to the one in your application.
 
jyotii chavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir i added jar files in WEB-INF/lib.....
i added
commons-logging-1.1.1
freemarker-2.3.8
ognl-2.6.11
struts2-core-2.1.8
xwork-2.0.4


but still i got that error
 
Joe Ess
Bartender
Posts: 9613
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you get those files? The Struts jar is version 2.1.8 and the xwork version is 2.0.4. I happen to have Struts 2.1.8.1 handy and the xwork version is 2.1.6, so I think you are mixing dependency versions. I have 6 JAR files and you have 5.
Also, the current version of Struts is 2.3.8.
 
jyotii chavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell which is the 6th jar file i have to install
 
Joe Ess
Bartender
Posts: 9613
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on the version of Struts you are using. My recommendation is to download the latest version and take the JAR files from the blank application.
 
jyotii chavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you ..... i downloaded the jar suggested by you and it works..........
 
Joe Ess
Bartender
Posts: 9613
16
Mac OS X Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
jyotii chavan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your suggestion solved my problem but now i am facing same problem with the other jsp page i had created....also i am unable to modify my previous jsp page...i had tried from last night but i am unable to sort out it
 
Something about .... going for a swim. With this tiny ad ...
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic