Is it possible that I can use JSTL to solve this problem?

> -----Original Message-----
> From: Williams, Kevin C 
> Sent: Friday, May 12, 2006 6:27 PM
> To: user@struts.apache.org
> Subject: Automatic bean introspection in jsp form
> 
> Forgive me if this is simple but so far I haven't figured out 
> the proper way to do this.  
> 
> I have an object (of type java.io.Object) that can be one of 
> many potential beans.  If I know the specific bean class 
> ahead of time, I can write a jsp page with a form that has 
> fields that correspond to the specific bean.  Then the user 
> of the form can submit it and change the contents of the 
> bean.  In essence struts ties the bean to the form.
> 
> How can I, given this "anonymous" bean, present the user with 
> a form that contains all the fields of this bean and their 
> associated values and allow them to be submitted with the 
> changes reflected in the bean.
> 
> My goal is to write the web application once, but be able to 
> create new beans along the way w/o having to re-deploy.  If 
> it makes any difference, the beans are classes generated by 
> jaxb from an XML schema definition file(.xsd).
> 
> ---
>  Kevin Williams
>  C-17 SEE / A&T NCO
>  Embedded Software Engineer
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to