aspose file tools*
The moose likes Struts and the fly likes Accessing database on loading a struts page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing database on loading a struts page" Watch "Accessing database on loading a struts page" New topic
Author

Accessing database on loading a struts page

Sreek Gupta
Greenhorn

Joined: Mar 08, 2006
Posts: 24
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

Joined: Jul 12, 2006
Posts: 46
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


with regards<br />Datta.<br /> <br />To the world you might be one person, but to one person you just might be the world !
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Accessing database on loading a struts page