struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Etheridge <Brian.Etheri...@LOSTWAX.COM>
Subject RE: Need Solution
Date Wed, 02 Jan 2002 12:04:08 GMT
Hi,
This is the key part of the error:

No getter method for property institution

You must define a 'getInstitution()' method in your form bean class.

Hope that helps.

-----Original Message-----
From: RAO Sreenivasa Kagitam [mailto:ksreeni@COVANSYS.COM]
Sent: Tuesday, January 01, 2002 10:29 PM
To: 'struts-dev@jakarta.apache.org'
Cc: YENUMULA Krishna Reddy
Subject: Need Solution
Sensitivity: Confidential



> Hi,
> 
> We are trying to do small application by using Strut frame work.
> 
> We have coded a sample jsp with defined tag "text".This tag is wroking
> only for the property as "username". It is not working, if you give
> differnet name other than "username". We have taken the example given by
> you(logon.jsp).
> 
> Here is the Error what we are getting	(We are using Weblogic6.1 as the
> Application server)
> 	Call
> org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
> String,*.do/java.lang.String)
> 	<Dec 31, 2001 6:42:22 PM IST> <Notice> <Management> <Application
> Poller not started for production server.>
> 	<Dec 31, 2001 6:42:22 PM IST> <Notice> <WebLogicServer>
> <ListenThread listening on port 7001>
> 	<Dec 31, 2001 6:42:23 PM IST> <Notice> <WebLogicServer> <Started
> WebLogic Admin Server "myserver" for domain "testDomain" running
> 	in Production Mode>
> 	<Dec 31, 2001 6:44:09 PM IST> <Error> <HTTP>
> <[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
> of ServletEx
> 	ception
> 	javax.servlet.jsp.JspException: No getter method for property
> institution of bean org.apache.struts.taglib.html.BEAN
> 	        at
> org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> 	        at
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
> 8)
> 	        at
> jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
> 	        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> 	        at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:265)
> 	        at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:200)
> 	        at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
> Context.java:2456)
> 	        at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
> va:2039)
> 	        at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> 	        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> Here with i am also enclosing the source file(logon.jsp)
>  <<logon.jsp>> 
> 
> Could you please let us know at the earliest,If we are going in a wrong
> direction.
> 
> Regards,
> Sreenivas.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message