wood burning stoves 2.0*
The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark ""/stuts-tag" not found" Watch ""/stuts-tag" not found" New topic
Author

"/stuts-tag" not found

jyotii chavan
Greenhorn

Joined: Jan 03, 2013
Posts: 6
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

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
jyotii chavan
Greenhorn

Joined: Jan 03, 2013
Posts: 6
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

Joined: Oct 29, 2001
Posts: 8908
    
    8

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

Joined: Jan 03, 2013
Posts: 6
please tell which is the 6th jar file i have to install
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

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

Joined: Jan 03, 2013
Posts: 6
thank you ..... i downloaded the jar suggested by you and it works..........
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

jyotii chavan
Greenhorn

Joined: Jan 03, 2013
Posts: 6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "/stuts-tag" not found