• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help in using beanutils to display data in jsp

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can any one provide with a code in using
beanutil.(from apache jakarta commons, as i am using
struts1.1.b)
suppose i have the following case
1 - I have a bean defined in jsp like below
<jsp:useBean id="result"
class="com.test.planning.PL1817B"
scope="page"></jsp:useBean>
and then in the jsp i have code
ResultSet rsData = result.getChangeData(connection,
code);
which gets me the data required to populate on my jsp
now i want to define a beanutil to populate the data
and then use
<html:text ..> tag to display data,
2 - If i have a drop down box with value "1" and "2",
and if the value in database is "2" it must show "2"
in drop down box,
Please provide code
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic