• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing database on loading a struts page  RSS feed

 
Sreek Gupta
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to access database on loading a struts based JSP page. Because i need to populate a listbox based on the database values.

Please help me with code sample if possible.

Regds,
Srikanth
 
Dattatray Sutar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One option ..u can use TLD's for them...Jaca class of which is going to retrive values from ur database ..
Originally posted by Sreek Gupta:
Hi,

How to access database on loading a struts based JSP page. Because i need to populate a listbox based on the database values.

Please help me with code sample if possible.

Regds,
Srikanth
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!