Two Laptop Bag
The moose likes Struts and the fly likes Struts Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Problem" Watch "Struts Problem" New topic

Struts Problem

Radhika Gokhale
Ranch Hand

Joined: Dec 12, 2002
Posts: 40
I have a jsp page that should display data from a recordset object. Now I want this data to be displayed when the form loads. How can this be done using the formbean object?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Moving to the jsp Forum, I have a feeling it will be moved again from there.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Yup, more appropriate for the Struts forum.

[Asking smart questions] [About Bear] [Books by Bear]
sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
Make an action that gets the data from wherever and then populates the formbean with the data and then send to the jsp page that you are trying to load and when the jsp loads, the formbean data can be loaded.
Lemme know if its still confusing

subject: Struts Problem
It's not a secret anymore!