struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yu <j...@scioworks.com>
Subject RE: How to set a varible in a form
Date Thu, 05 Sep 2002 06:05:44 GMT
1. Set it in the Action before forwarding to the JSP. This is the preferred 
way.
2. Use <logic:*> with <bean:define>

At 12:02 am 05-09-2002, you wrote:
>In the jsp specification, there is :
><jsp:setProperty name="" property="" value=""/>
>
>-----Message d'origine-----
>De : Long Zhao [mailto:LZhao@firstgenetic.net]
>Envoyé : mercredi 4 septembre 2002 17:43
>À : Struts Users Mailing List
>Objet : How to set a varible in a form
>
>
>I have a varible "title" in "SectionForm"
>In JSP, before I do
><bean:write name="SectionForm" property="title">
>I want to set the value of "title" base on some condition.
>How can I do so in JSP?
>
>Thanks
>
>Long

-- 
John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"


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


Mime
View raw message