You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/07/28 14:10:05 UTC

DO NOT REPLY [Bug 30361] New: - problem when using jsp set and get property method.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30361>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30361

problem when using jsp set and get property method.

           Summary: problem when using jsp set and get property method.
           Product: Tomcat 5
           Version: 5.0.0
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sghmsc@rediffmail.com


Hi,
I am getting the following error when i have a jsp file with jsp set and get 
property tag. Please let me know which of the jar files i have to refer when 
compiling my beans and when i try to run jasper.bat it says JASPER_HOME value 
not correct. what is the correct value for that variable.

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Cannot find any information on 
property 'Username' in a bean of type 'common.UserData'
	org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty
(JspRuntimeLibrary.java:665)
	org.apache.jsp.home.home_jsp._jspService(home_jsp.java:63)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jasper.JasperException: Cannot find any information on 
property 'Username' in a bean of type 'common.UserData'
	org.apache.jasper.runtime.JspRuntimeLibrary.getWriteMethod
(JspRuntimeLibrary.java:793)
	org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty
(JspRuntimeLibrary.java:662)
	org.apache.jsp.home.home_jsp._jspService(home_jsp.java:63)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.27 logs.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org