Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

problem running a struts exercise

Thread view: 
ros - 28 Apr 2007 13:39 GMT
Hello,

I am studying SAMS Teach Yourself JSP in 21 days and this book has a
chapter on Struts. The book comes with sample code and I tried running
the code on this chapter on Struts in Tomcat 5.5.16.

The application is fairly simple but I get this error when I try to
run it:

org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Can anybody please explain what this error means and how to fix it?

Thanks
Ros
Richard Senior - 28 Apr 2007 14:30 GMT
> I am studying SAMS Teach Yourself JSP in 21 days and this book has a
> chapter on Struts. The book comes with sample code and I tried running
[quoted text clipped - 5 lines]
> org.apache.jasper.JasperException: Failed to load or instantiate
> TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei

Looks like it can't find the Struts Bean tag library. This lives in the
struts-taglib-x.y.z.jar file (where x.y.z) is the version of Struts you
are using, e.g. 1.3.8.

Where did you put the Struts jar files? In WEB-INF/lib or in Tomcat's
shared/lib directory? Have a look at this:

http://mail-archives.apache.org/mod_mbox/tomcat-dev/200301.mbox/%3C2003010801145
2.22644.qmail@nagoya.betaversion.org%3E


Regards,

Richard


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.