Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Re: File "/WEB-INF/tld/struts-bean.tld" not found

Girish Naik

2009-06-20

Replies: Find Java Web Hosting

Author LoginPost Reply
as you dont have the files in WEB-INF can you remove the mapping in web.xml
and run again?


Regards,
---------------------------------------------------------
Girish Naik
Mobile:-+91-09740091638
girish.naik@(protected)
George Carlin<http://www.brainyquote.com/quotes/authors/g/george_carlin.html>
- "Electricity is really just organized lightning."

On Sat, Jun 20, 2009 at 8:57 PM, Sam Wun <swun2010@(protected):

> thanks for the response.
> I moved the following taglib lines into the /** ***/ area in the jsp
> file, and the recompile/deploy with ant. It still give me the same
> errors.
>
> Here is the jsp file load the tld files:
> <%
> /**
> <%@(protected)" %>
> <%@(protected)" %>
> <%@(protected)" %>
> <%@(protected)" %>
> */
> %>
>
> <%@(protected)" %>
> <%@(protected)" %>
>
> <portlet:defineObjects />
>
> <style type="text/css">
>  <%@(protected)" %>
> </style>
>
>
> here is the errors again:
> 01:23:47,290 INFO [PluginPackageUtil:1347] Checking for available updates
> 01:23:47,293 INFO [PluginPackageUtil:1391] Finished checking for
> available updates in 3 ms
> 01:23:54,476 ERROR [PortletRequestDispatcherImpl:316]
> org.apache.jasper.JasperException:
> /html/portlet/onlinepayment_portlet/order.jsp(1,1) File
> "/WEB-INF/tld/struts-bean.tld" not found
> org.apache.jasper.JasperException:
> /html/portlet/onlinepayment_portlet/order.jsp(1,1) File
> "/WEB-INF/tld/struts-bean.tld" not found
>     at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:40)
>     at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch (ErrorDispatcher.java:407)
>      at
> org.apache.jasper.compiler.ErrorDispatcher.jspError (ErrorDispatcher.java:88)
>     at
> org.apache.jasper.compiler.Parser.processIncludeDirective (Parser.java:345)
>     at
> org.apache.jasper.compiler.Parser.parseIncludeDirective (Parser.java:378)
>     at org.apache.jasper.compiler.Parser.parseDirective (Parser.java:486)
>     at org.apache.jasper.compiler.Parser.parseElements (Parser.java:1444)
>
>
>
> On Sun, Jun 21, 2009 at 1:10 AM, Girish Naik<girish.naik@(protected):
> > I would sugest you to remove the taglib configuration in ur web.xml. As
> it
> > is matching the uri and trying to load from the local file.
> >
> > In my previous application i had given :
> > <%@(protected)" %>
> >
> > in my jsp header and
> > <taglib>
> >     <taglib-uri>/tags/struts-bean</taglib-uri>
> >     <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
> >   </taglib>
> > in web.xml
> > And they are working fine.
> >
> > So either you can give :
> > <%@(protected)" %>
> >
> > or (if u have a local tag lib)
> >
> > <%@(protected)" %>
> >
> >
> > Regards,
> > ---------------------------------------------------------
> > Girish Naik
> > Mobile:-+91-09740091638
> > girish.naik@(protected)
> > Fran Lebowitz<
> http://www.brainyquote.com/quotes/authors/f/fran_lebowitz.html>
> > - "Life is something to do when you can't get to sleep."
> >
> > On Sat, Jun 20, 2009 at 7:42 PM, Sam Wun <swun2010@(protected):
> >
> >> Dear all,
> >>
> >> Can anyone tell me what is wrong with the following errors:
> >>
> >> ....
> >>
> >> 00:05:59,378 ERROR [PortletRequestDispatcherImpl:316]
> >> org.apache.jasper.JasperException:
> >> /html/portlet/onlinepayment_portlet/order.jsp(1,1) File
> >> "/WEB-INF/tld/struts-bean.tld" not found
> >> org.apache.jasper.JasperException:
> >> /html/portlet/onlinepayment_portlet/order.jsp(1,1) File
> >> "/WEB-INF/tld/struts-bean.tld" not found
> >>     at
> >>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:40)
> >>     at
> >>
> org.apache.jasper.compiler.ErrorDispatcher.dispatch (ErrorDispatcher.java:407)
> >> ...
> >>
> >> I have already defined tag-libs in my web.xml file:
> >>     <taglib>
> >>           <taglib-uri>http://struts.apache.org/tags-bean
> </taglib-uri>
> >>
> >> <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
> >>     </taglib>
> >>
> >> of course struts-bean.tld is not in my WEB-INF/tld directory, but I
> >> expect it will pick up the file from the lib path like the other
> >> sample does.
> >> I am sure most of you don't have this file in your project directory.
> >>
> >> This is the init.jsp file that is included in the order.jsp file:
> >>
> >> <%@(protected)" %>
> >> <%@(protected)" %>
> >> <%@(protected)" %>
> >> <%@(protected)" %>
> >>
> >> <%@(protected)" %>
> >> <%@(protected)" %>
> >>
> >>
> >> Any idea?
> >> Your help is very much appreciated.
> >> Thanks
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >> For additional commands, e-mail: user-help@(protected)
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 gg3721.com - Jax Systems, LLC, U.S.A.