This sounds like more of what I'd like to do: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg18542.html
I'm just waiting for Jeff to publish his example ;-) Matt -----Original Message----- From: Rajan Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 8:23 AM To: [EMAIL PROTECTED] Subject: RE: Dynamically Developing HTML forms A servlet would be better than using a plain JSP, because coding & debugging will be better, else u will have to write a lot os scriplets in your JSP code. U can still use Struts by forwarding to a servlet with two request parameters one for the XML document & the other for the stylesheet, Xalan can be used to get the resulting output which can be then streamed to the response buffer. --- Matt Raible <[EMAIL PROTECTED]> wrote: > Rajan, > > This sound about right. I'm just trying to get out of the "manual > labor" in > creating the "data part" of the view - via a JSP. I think this can all > be XML, > and the design can all be controlled via an XSL stylesheet (which will > have to > be created manually). > > Matt > > --- Rajan Gupta <[EMAIL PROTECTED]> wrote: > > Reply to Rajeev: > > In your dynamic web site u probably will still have fixed type of > pages > > with a predefined format e.g. Form, Report, Report with Graph etc. for > say > > a Gold Customer etc, in which case these pages could be treated as > > templates. I believe that you would be choosing the appropriate > template > > in an action depending on the customer type & page type setup the bean > > which will populate the web page. > > > > If this is completely off the mark, are u talking about a > Personalization > > Engine such as my.yahoo.com or engines which are sold by Open Market > etc > > > > --- Matt Raible <[EMAIL PROTECTED]> wrote: > > > I've thought about doing this, and let me know if I'm on the same > track > > > as you. > > > > > > What I'd like to do is to stream XML from my Action class that > builds > > > all the > > > elements of my form - label, value, and control type (text, > textarea, > > > select) - > > > from my form bean. > > > > > > Then an XSL stylesheet is applied (value held in bean as well) and > > > walla, the > > > only thing that is static is the XSL stylesheet. > > > > > > Is this similar to what you're trying to do? > > > > > > Matt > > > > > > --- Rajeev Singh <[EMAIL PROTECTED]> wrote: > > > > Hi Tom, > > > > By Dynamic generation I mean generation of WEB pages on Fly. If > we > > > > generate web pages on fly I don't know how it can be included in > the > > > > WAR. In my webapp I am having a fixed set of JSP's plus while > > > > application is running the users will create additional pages > which > > > are > > > > reports or new forms matching to their transactions/profiles. > > > > Its here that I am not getting how can I use Struts. > > > > > > > > Thanx, > > > > Rajeev > > > > > > > > -----Original Message----- > > > > From: Tom Lister [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, November 30, 2001 3:45 PM > > > > To: 'Rajeev Singh '; ''struts-user' ' > > > > Subject: RE: Dynamically Developing HTML forms > > > > > > > > Hi Rajeev > > > > No answers as I don't understand the question. > > > > I am really curious a to what you mean by a dynamically generated > > > > application as most of struts is aimed at dynamic content. > > > > Do you mean using introspection/reflection to build an app on the > fly? > > > > > > > > > > > > -----Original Message----- > > > > From: Rajeev Singh > > > > To: 'struts-user' > > > > Sent: 11/30/01 10:12 AM > > > > Subject: FW: Dynamically Developing HTML forms > > > > > > > > Hi all , > > > > I am repeating my question as to is there I can create a web app > > > using > > > > struts if I have to dynamically generate HTML forms as separate > HTML > > > > pages from the application of WAR type. > > > > > > > > thanx > > > > > > > > -----Original Message----- > > > > From: Rajeev Singh [mailto:[EMAIL PROTECTED]] > > > > Sent: Wednesday, November 28, 2001 6:14 PM > > > > To: 'struts-user' > > > > Subject: Dynamically Developing HTML forms > > > > > > > > Hi, > > > > I have a query as to whether I can use Struts comfortably for an > > > > application wherein I have to generate HTML /JSP pages > Dynamically. > > > All > > > > these JSP's will have different names that too generated > dynamically > > > and > > > > not predecided names. I don't think we can WAR in this case so we > cant > > > > follow Model 2 MVC and we have to go for Model 1. > > > > > > > > Thanx, > > > > Rajeev > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! GeoCities - quick and easy web site hosting, just > $8.95/month. > > > http://geocities.yahoo.com/ps/info1 > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > > http://geocities.yahoo.com/ps/info1 > > > __________________________________________________ > Do You Yahoo!? > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > http://geocities.yahoo.com/ps/info1 __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>