aspose file tools
The moose likes Object Relational Mapping and the fly likes retrieve database values in <html:select> using hibernate and struts1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "retrieve database values in <html:select> using hibernate and struts1" Watch "retrieve database values in <html:select> using hibernate and struts1" New topic
Author

retrieve database values in <html:select> using hibernate and struts1

vrushali chaskar
Greenhorn

Joined: Jan 27, 2009
Posts: 14
i m using struts1.2 and hibernate.
I m using <html:select> in struts form but i want to display values which are retrieved from database.
i have used <htmlptions propery="budgetExpend">
but how to fill this list box that i dont know

How i can i do this using Hibernate but not with dao object.

pei qing
Greenhorn

Joined: Jun 27, 2009
Posts: 1
<html:select style="width: 100px;" name="addDeviceForm"
styleId="object.dataType" property="object.dataType"
onchange="onchangeobjecttype(this.value)">


<htmlptions collection="List" property="value"
labelProperty="value" />


</html:select>

 
 
subject: retrieve database values in <html:select> using hibernate and struts1
 
MyEclipse, The Clear Choice