Hi,
        This particular line 

"To use Struts, you must copy the .tld files that you require into your
WEB-INF directory, and copy struts.jar (and all of the commons-*.jar
files) into your WEB-INF/lib directory."

is not clear. Which .tld files ? Struts' .tld files are inside the
META-INF folder inside its JAR. This statement is true though because
the latest spec. can find them. Am I right ?

Mohan

-----Original Message-----
From: Craig McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 11:20 PM
To: Struts Users Mailing List
Subject: Re: Error in "instantiate TagExtraInfo class"

In addition to David's comments, this is what the Struts User Guide has
to say on the subject:

  http://struts.apache.org/userGuide/configuration.html#config_add

Craig


On Tue, 28 Dec 2004 12:33:56 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Manisha,
> 
> The application's /WEB-INF/lib directory is the preference for many of

> the Struts jars.  Unless you have only ONE Tomcat application using 
> Struts, putting Struts jars in any other place has been, if I recall 
> correctly.  I believe I read about reloading issues and possible 
> memory space conflicts issues if the Struts.jar (and some others) are 
> located in shared areas like Tomcat's common/lib or shared/lib 
> directories when more than one webapp uses Struts in that
container/Tomcat/Weblogic/etc.
> 
> Regards,
> David
> 
> -----Original Message-----
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 28, 2004 1:04 AM
> To: Struts Users Mailing List
> Subject: RE: Error in "instantiate TagExtraInfo class"
> 
> Thanks David,
> 
> It worked, i put all jars inside Tomcat's /Common/lib directory and it

> worked. Btw, does this mean that automatically class path is set for 
> all jars which r inside /common/lib OR {yr application}/WEB-INF/lib - 
> which is having precedence ?
> 
> Thanks once again,
> 
> regards
> Manisha
> 
> "David G. Friedman" <[EMAIL PROTECTED]> wrote:
> Manisha,
> 
> I don't think setting the classpath with another framework will do the
job.
> You should still have the struts.jar in WEB-INF/classes because the 
> struts.jar should be copied into each webapp. Putting it in some
'global'
> place may cause errors, especially if multiple struts applications are

> running. Where is your struts.jar?
> 
> Regards,
> David
> 
> -----Original Message-----
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 27, 2004 9:39 PM
> To: user@struts.apache.org
> Subject: Error in "instantiate TagExtraInfo class"
> 
> I am installing struts framework on another m/c. I copied all related 
> files
> + my application war file over there. Set class path for struts.jar. 
> + Now
> testing with one small program with struts.
> 
> -----------------------------------------------
> 
> " rel="stylesheet"
> type="text/css">
> 
> Authorisation Form
> 
> ------------------------------------------------------
> 
> But i am getting following error msgs
> 
> ----------------------------------
> org.apache.jasper.JasperException: Failed to load or instantiate 
> TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHa
> ndler
> .java:50)
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.ja
> va:37
> 8)
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.ja
> va:28
> 3)
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibrary
> InfoI
> mpl.java:422)
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoI
> mpl.j
> ava:248)
> org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.jav
> a:162)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418
> )
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> org.apache.jasper.compiler.ParserController.doParse(ParserController.j
> ava:2
> 20)
> org.apache.jasper.compiler.ParserController.parse(ParserController.jav
> a:101
> )
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
>
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:
> 511)
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:
> 274)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 2)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> root cause
> java.lang.ClassNotFoundException: 
> org.apache.struts.taglib.html.MessagesTei
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
> er.ja
> va:1340)
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
> er.ja
> va:1189)
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibrary
> InfoI
> mpl.java:419)
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoI
> mpl.j
> ava:248)
> org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.jav
> a:162)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418
> )
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> org.apache.jasper.compiler.ParserController.doParse(ParserController.j
> ava:2
> 20)
> org.apache.jasper.compiler.ParserController.parse(ParserController.jav
> a:101
> )
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
>
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:
> 511)
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:
> 274)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 2)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> --------------------------------
> 
> Everything woks fine on my m/c - anything missing to copy over. I 
> checked all .tld / web.xml files - all in place with proper entries.
> 
> regards
> Manisha
> 
> ---------------------------------
> Do you Yahoo!?
> Send holiday email and support a worthy cause. Do good.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------
> Do you Yahoo!?
>  Jazz up your holiday email with celebrity designs. Learn more.
> 
> ---------------------------------------------------------------------
> 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]



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

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

Reply via email to