wood burning stoves
The moose likes Struts and the fly likes Struts problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts problem" Watch "Struts problem" New topic

Struts problem

Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
I created a simple struts application. I used eclipse 3.0 and jboss 3.2.5.
These are the contents of my web.xml:

<?xml version="1.0"?>
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"


<!-- Action Servlet Configuration -->

<!-- Action Servlet Mapping -->

<!-- Taglib Configuration -->

The struts-config.xml has these contents:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"

<!-- ======= Form Bean Definitions ============================ -->
<form-bean name="lookupForm"

<!-- ======= Action Mapping Definitions ============== -->
<action path="/Lookup"
<forward name="success" path="/jsp/quote.jsp" />
<forward name="failure" path="/jsp/index.jsp" />

<!-- ====== Message Resources Definitions ======== -->

I placed these two xml's under WEB-INF directory together with the struts-html.tld.

I think I have successfully deployed the war file, but when I try to run the index.jsp, I always got this error:

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

Can somebody help me? thanks!

Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Ensure all jars files and tld files required are placed in appropriate directories

Sarath Mohan
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts problem
It's not a secret anymore!