Do you want your JSP to look different depending getAllowed() value
or do you want your Action to get some checkbox or hidden value from HTML form ?

Can you tell me what you want to do, not as technical but as application usage. I 
could so understand what you're
looking for.

Nico.

> That is getAllowed()  is return boolean. If it return true i will do
> something. If  it returns false, i will do different . So i have to
> check values in my jsp page. Also i want to concat 2 or more return
> strings in my jsp.  So it is must that i have to capture the values into
> some jsp varibles.
>
> Thanx
> Kalaiselvan.
>
> [EMAIL PROTECTED] wrote:
>
> >If you wan't the user to edit some datas, you should build a form-bean, put your 
> >model datas into it (use
> >common-beanutil copyProperties, or an Adapter class) and use it in your JSP.
> >When user submits, get the form-bean back with all updated datas inside it.
> >
> >What do you wan't to do (not technically but in term of use case)?
> >
> >Nico.
> >
> >
> >
> >
> >>Hai Nicolas
> >>    Great. Mr. Nicolas. Thanx for your help. This is exactly what i
> >>want. Thank you very much.
> >>I need another help. That' is i want to assiagn the return value into a
> >>varibale. how it is possible?
> >><%
> >>String empName = null;
> >>%>
> >><bean:write name="data" property="employee_name"> i want to assigan that
> >>value to empName.
> >>
> >>Thanx
> >>Kalaiselvan.
> >>
> >>
> >>
> >>[EMAIL PROTECTED] wrote:
> >>
> >>
> >>
> >>><logic:iterate id="data" name="sample">
> >>> City : <bean write name="data" property="address.city">
> >>> State : <bean write name="data" property="address.state">
> >>> Country : <bean write name="data" property="address.country">
> >>></logic:iterate>
> >>>
> >>>Nico.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Hai Nicolas
> >>>>   Thanx for your reply. My problem is that bean propery return a Object.
> >>>>   That's   public Object  getSampe() {
> >>>>               }
> >>>>ie      public address    getAddress() {
> >>>>}
> >>>>
> >>>>public class Address {
> >>>>  private String _city;
> >>>>  private String _state;
> >>>>  private String _country;
> >>>>
> >>>>  public String getCity()
> >>>>  {
> >>>>     return _city;
> >>>>  }
> >>>>  public void setCity(String aCity)
> >>>>  {
> >>>>     _city = aCity;
> >>>>  }
> >>>>  public String getState()
> >>>>  {
> >>>>     return _state;
> >>>>  }
> >>>>  public void setState(String aState)
> >>>>  {
> >>>>     _state = aState;
> >>>>  }
> >>>>  public String getCountry()
> >>>>  {
> >>>>     return _country;
> >>>>  }
> >>>>  public void setCountry(String aCountry)
> >>>>  {
> >>>>     _country = aCountry;
> >>>>  }
> >>>>
> >>>>}
> >>>>
> >>>>I want to write city,state, country.
> >>>>
> >>>>hope you understand my need
> >>>>
> >>>>Thanx
> >>>>Kalaiselvan.
> >>>>
> >>>>
> >>>>
> >>>>[EMAIL PROTECTED] wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>You can use <logic:iterate> to get the content of your Vector, and then 
> >>>>><bean:write> to get properties from your
> >>>>>
> >>>>>
> >bean
> >
> >
> >>>>>
> >>>>>
> >>>:
> >>>
> >>>
> >>>
> >>>
> >>>>><logic:iterate id="data" name="sample">
> >>>>><bean write name="data" property="foo">
> >>>>></logic:iterate>
> >>>>>
> >>>>>Nico.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi All,
> >>>>>>      I want a help from you guys. I have created a sampleAction.class
> >>>>>>using extend the Action class. This Action class create a Vector and put
> >>>>>>it into Session. I have retrieve using <bean:write property="sample"
> >>>>>>scope="session">. But here i have some problem, because this getSample()
> >>>>>>method return vector. This vector has another bean. Where how can i
> >>>>>>retrieve the properties from this bean. Please help.
> >>>>>>
> >>>>>>thanx
> >>>>>>Kalai
> >>>>>>
> >>>>>>
> >>>>>>---------------------------------------------------------------------
> >>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>--
> >>>>Your favorite stores, helpful shopping tools and great gift ideas.
> >>>>Experience the convenience of buying online with [EMAIL PROTECTED]
> >>>>http://shopnow.netscape.com/
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>Your favorite stores, helpful shopping tools and great gift ideas.
> >>Experience the convenience of buying online with [EMAIL PROTECTED]
> >>http://shopnow.netscape.com/
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> Your favorite stores, helpful shopping tools and great gift ideas.
> Experience the convenience of buying online with [EMAIL PROTECTED]
> http://shopnow.netscape.com/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to