Im redesigning my JSP which does all SQL +
presentation. I have a main report which has 4 sub
reports which have to be created in HTML and PDF. So
what i do now is create a XML out of the SQL and then
use appropriate stylesheets. All this gets done in the
JSP(Now!!).

Now, if i have to use Struts, Im thinking of having
Action subclasses for each of the 4 reports, create
XML in each of them and add the Document object to
some collection that can be retrieved in the JSP. 

In the JSP, I can fetch the collection and use taglibs
to associate this with a stylesheet and print out the
results. Is this an acceptable design? 

I had a look at some of the postings here about
creating XMLServlet before control goes back to the
JSP but I have some text that has to be displayed
other than the results. 

Is there any flaw in this design.

TIA
Raj

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to