struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bindhu <bindh...@gmail.com>
Subject Re: Problem in JSP. help me pls
Date Mon, 02 Jul 2007 08:51:10 GMT

hi,

  thank u so much fro ur reply. i have formtag class in my directory. i hope
i didnt miss any thing in my directory.

Session A Mwamufiya wrote:
> 
> Hi,
> 
> I'm still a newbie here, but I've encountered this type of errors before. 
> From my limited experience, it seems to me that you are missing a .jar
> file in your WEB-INF/lib directory.  The servlet filter can't find the
> FormTag class when a request is passed.  Make sure you have the
> corresponding .jar file in your lib directory; I think that should take
> care of the problem.  Others, please correct me if I'm wrong.
> 
> Cheers,
> Session
> 
> 
>> 
> 
>> hai,
>> 
>> when trying to open my jsp page in browser i get this error. can anyone 
>> plas help me. type Exception report
>> 
>> message
>> 
>> description The server encountered an internal error () that prevented it
>>  from fulfilling this request.
>> 
>> exception
>> 
>> org.apache.jasper.JasperException: javax.servlet.ServletException: 
>> java.lang.NoClassDefFoundError: Could not initialize class 
>> org.apache.struts.taglib.html.FormTag
>> 
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServlet
>> Wrapper.java:541)
>> 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
>> a:417) 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) 
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>> 
>> root cause
>> 
>> javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not
>>  initialize class org.apache.struts.taglib.html.FormTag
>> 
>> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageConte
>> xtImpl.java:850)
>> 
>> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContext
>> Impl.java:779) 
>> org.apache.jsp.register_jsp._jspService(register_jsp.java:80) 
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
>> a:393) 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) 
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>> 
>> root cause
>> 
>> java.lang.NoClassDefFoundError: Could not initialize class 
>> org.apache.struts.taglib.html.FormTag 
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> 
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc
>> cessorImpl.java:39)
>> 
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
>> ructorAccessorImpl.java:27) 
>> java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
>> java.lang.Class.newInstance0(Class.java:355) 
>> java.lang.Class.newInstance(Class.java:308) 
>> org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
>> 
>> org.apache.jsp.register_jsp._jspx_meth_form_005fform_005f0(register_jsp.j
>> ava:92) org.apache.jsp.register_jsp._jspService(register_jsp.java:73) 
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav
>> a:393) 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) 
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> 
>> 
>> note The full stack trace of the root cause is available in the Apache 
>> Tomcat/6.0.13 logs.
>> 
>> 
>> -- View this message in context:
>> http://www.nabble.com/Problem-in-JSP.-help-me-pls-tf4010261.html#a1138871
>> 3 Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> --------------------------------------------------------------------- To
>> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
>> commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-in-JSP.-help-me-pls-tf4010261.html#a11390557
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message