File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes dynamically updating fields on jsp (struts2 + hibernate) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dynamically updating fields on jsp (struts2 + hibernate)" Watch "dynamically updating fields on jsp (struts2 + hibernate)" New topic
Author

dynamically updating fields on jsp (struts2 + hibernate)

Ayush Kapoor
Greenhorn

Joined: Aug 12, 2012
Posts: 2
I have a table in my database with fields(2 text boxes and 2 dropdown). And my jsp renders them correctly with respective values. Now What I want is whenever I add any field manually in my database how dynamically I can render it on my jsp using Struts2.
Or you can point it as: The moment I add new fields in my database,it should be reflected on my jsp(UI) without refreshing.
How should I proceed..

can pooling be done using struts2. If yes a simple example for my case will be really helpful.

Thanks
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

Hi ayush,

You can do R&D on utl_http and oracle_jobs which can do your work . I havent done this before but it is possible..

Regards
Jatan
Ayush Kapoor
Greenhorn

Joined: Aug 12, 2012
Posts: 2

Thanks Jatan,
But its not helping me in my case. Ok how can i generate dynamic forms ( Customised form) in struts2. Is there any standard library available in struts2. (like v have dynaforms in struts 1).
 
Don't get me started about those stupid light bulbs.
 
subject: dynamically updating fields on jsp (struts2 + hibernate)
 
Similar Threads
Struts2/JQuery
Struts2
Struts2 Problem in validation
struts2
Pagination in Struts2