Since the real location is the same as the uri, having that in your web.xml
will have no effect on the operation of the application.

Since the container knows to look for the
org.apache.struts.taglib.logic.ForwardTag class, it seems clear that it is
finding the TLD.

Which means it isn't finding that class in the struts.jar. Here's my input
on what might be causing that:

- The files you are examining are not the files that the app server
considers to be the app. Perhaps struts.jar is missing from the .war file or
some other expanded directory structure.

- The user account that the app server runs as does not have access to the
struts.jar file due to file permissions.

- I had a problem with WebLogic 6.1 not liking filenames that contained more
than one '.' as in 'struts-1.0.jar'. I had to change the names of some of
the jars we had to eliminate the extra dots. I doubt that is the case for
your app, but I just thought I'd mention it since it was a total pain to
debug and is a really strange behavior.

-Max

----- Original Message -----
From: "Lucas Claude" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 8:47 AM
Subject: RE: Problem while accessing a JSP page


In the WEB-INF directory of my web app.

I also defined a redirection in this web.xml file :
  <taglib>
    <taglib-uri>/WEB-INF/tld/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
  </taglib>

Thanks
Claude


----------------------------------------------------------------------------

As of February 12th, 2003 Thomson unifies its email addresses on a worldwide
basis.
Please note my new email address: [EMAIL PROTECTED]

http://www.thomson.net/

----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 March 2003 17:38
To: [EMAIL PROTECTED]
Subject: RE: Problem while accessing a JSP page


Where is the web.xml?


  _____

Thank You

Mick Knutson

Sr. Designer - Project Trust
aUBS AG, Financial - Z�rich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
  _____



-----Original Message-----
From: Lucas Claude [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 5:31 PM
To: '[EMAIL PROTECTED]'
Subject: FW: Problem while accessing a JSP page


> I implement a struts WEB application and I have an error while accessing
> the following JSP index page :
>
> <%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
> <logic:forward name="welcome"/>
>
> Error :
> org.apache.jasper.compiler.CompileException: /index.jsp(4,0) Unable to
> load class org.apache.struts.taglib.logic.ForwardTag
>
> However, the file struts.jar (containing the forward tag class) is present
> in the WEB-INF/lib directory of my web app.
>
> What I am missing?
>
> Thanks by advance,
> Claude
>
>
> --------------------------------------------------------------------------
> --
> As of February 12th, 2003 Thomson unifies its email addresses on a
> worldwide basis.
> Please note my new email address: [EMAIL PROTECTED]
>
> http://www.thomson.net/
>

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to