struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ruppin <mrup...@yahoo.com>
Subject RE: can not get bean property, help!!
Date Fri, 03 Oct 2003 19:26:26 GMT
The actionformbean has not been specified anywhere in this code snippet.  Try adding <nested:nest
property="foo" > before the <nested:write> where "foo" is the instance of the actionformbean
you
have instantiated.

m

--- "Karr, David" <David.Karr@wamu.net> wrote:
> That's a different error.  You always have to quote attribute values.
> Start with that, and focus on the other problem.  Try restating your
> problem, showing exactly what you have and what error you're getting.
> 
> > -----Original Message-----
> > From: Julie.Huang@mizuhocbus.com [mailto:Julie.Huang@mizuhocbus.com] 
> > 
> > thank you, David, actually i tried single quote '   ...' 
> > before, however 
> > it doesnt work, always  gave me
> > Cannot retrieve mapping for action /'  error
> > 
> > > -----Original Message-----
> > > From: Julie.Huang@mizuhocbus.com 
> > [mailto:Julie.Huang@mizuhocbus.com] 
> > > 
> > > Hi, I have an attribute called "actionName" in my actionformbean
> > > and I set it properly in my action class before forward to my jsp
> > > in the jsp I try to retrieve it like this:
> > > <form action=<nested:write property="actionName"/>>
> > > ...
> > > ...
> > > </form>
> > > 
> > > it always gives me "Attribute value must be quoted" error 
> > message in 
> > > action.jsp
> > > anything wrong ?
> > 
> > Well, I don't know how much clearer that error message could be.  You
> > need to change this:
> > 
> > <form action=<nested:write property="actionName"/>>
> > 
> > To:
> > 
> > <form action='<nested:write property="actionName"/>'>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Mime
View raw message