Bug 2872 - having problem with Write tag of struts-bean.tld
Summary: having problem with Write tag of struts-bean.tld
Status: CLOSED INVALID
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Application Taglib (show other bugs)
Version: 1.0
Hardware: Sun other
: P3 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-28 11:15 UTC by Ashwini
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashwini 2001-07-28 11:15:36 UTC
I want to display a message from bean on my jsp [page

I am getting the following error

Error: 500
Location: /testing/WriteTagTest.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPE:\jakarta-
tomcat-3.2.1\work\localhost_8080%
2Ftesting\_0002fWriteTagTest_0002ejspWriteTagTest_jsp_0.java:67: Class TestUser 
not found.
                TestUser user = null;
                ^
E:\jakarta-tomcat-3.2.1\work\localhost_8080%
2Ftesting\_0002fWriteTagTest_0002ejspWriteTagTest_jsp_0.java:70: Class TestUser 
not found.
                    user= (TestUser)
                           ^
E:\jakarta-tomcat-3.2.1\work\localhost_8080%
2Ftesting\_0002fWriteTagTest_0002ejspWriteTagTest_jsp_0.java:75: Class TestUser 
not found.
                            user = (TestUser) Beans.instantiate(this.getClass
().getClassLoader(), "TestUser");
                                    ^
3 errors

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled 
Code)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP
(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary
(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, 
Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService
(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service
(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:743)
	at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt
(PoolTcpEndpoint.java, Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run
(ThreadPool.java, Compiled Code)
	at java.lang.Thread.run(Thread.java:479)
Comment 1 Glenn Nielsen 2002-04-02 13:20:04 UTC
This should be submitted to Struts, this is not a Jakarta-Taglib.