You could take a look at Part 2 of Strut by Strut, under Coming Soon at
< http://www.husted.com/about/struts/ >

I'm working on some generic Access, Search, and Result actions there.

Though, the usual approach would be that control goes to an action that
manages the data retrieval and forwards the result to another JSP for
display. 

[JSP] -> [ACTION] -> [JSP] ...

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/

Torsten Terp wrote:
> 
> Hi,
> 
> Im I have just started using Struts and the idea
> of the framework seems great!! I could however
> use some help getting started the right way!!
> 
> I want to do as folows:
> 
> A jsp page with an input fields takes as input
> a string used to perform a seach in a database.
> E.g., a substring of the name of some customer.
> 
> Control is forwarded to another jsp that displays
> the results, e.g., the customernames containing the
> substring provided in the input field above. These
> customernames should be displayed in a html:select
> 
> Selecting one of the customers will result in another
> search which retrieves all data for that particular
> customer and displays it in another frame.
> 
> Im thinkind this is a pretty generic setup, so my
> question is if anybody has example code of this.
> 
> Im using the jBoss application server as the model,
> so its not the database pooling from struts im after,
> its the control flow and populating the jsp's....
> 
> It would be greatly apreciated. Thanks in advance...
> 
> ^torsten

Reply via email to