Re: Dynamic JSPs and STRUTS

2003-10-24 Thread Ruth, Brice
You wouldn't even necessarily need to go the route of Struts to 
accomplish this - you could store your 100 variations in an XML file and 
use the JSTL core/xml libraries to dynamically generate your JSPs based 
on parameters.

DeBurgo, Jean P. wrote:

I am looking for the best approach to building dynamic JSP pages using
Struts.
I have a web app that has over 100 JSP pages that are basically identical. I
have a fixed set of form fields/parameter (15) and each JSP could have any
combination of the form fields displayed.  Each of 100 JSP pages has 1
unique value that is assigned to 1 of the form field/parameter. 

Instead of 100 JSP pages, I want to dynamically create 1 JSP page to display
a combination of form fields/parameters from the fixed set and assign the
unique value on of the form field/parameter.
Any suggestions or links to resources would be greatly appreciated.

Thanks,
Jean De Burgo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


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


RE: Dynamic JSPs and STRUTS

2003-10-24 Thread DeBurgo, Jean P.
The web app was developed using Struts.  This is a new section of the app I
am developing.  I wanted to continue using Struts  libraries/components to
construct dynamic JSP pages.  Does JSTL integrate nicely with Struts?  Or
does Struts have similar components that do the same thing?

Thanks for your response.

Jean 

-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 9:41 AM
To: Struts Users Mailing List
Subject: Re: Dynamic JSPs and STRUTS


You wouldn't even necessarily need to go the route of Struts to 
accomplish this - you could store your 100 variations in an XML file and 
use the JSTL core/xml libraries to dynamically generate your JSPs based 
on parameters.

DeBurgo, Jean P. wrote:

I am looking for the best approach to building dynamic JSP pages using
Struts.

I have a web app that has over 100 JSP pages that are basically identical.
I
have a fixed set of form fields/parameter (15) and each JSP could have any
combination of the form fields displayed.  Each of 100 JSP pages has 1
unique value that is assigned to 1 of the form field/parameter. 

Instead of 100 JSP pages, I want to dynamically create 1 JSP page to
display
a combination of form fields/parameters from the fixed set and assign the
unique value on of the form field/parameter.

Any suggestions or links to resources would be greatly appreciated.

Thanks,
Jean De Burgo

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

  


-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.



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

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



RE: Dynamic JSPs and STRUTS

2003-10-24 Thread Larry Meadors
Yes, JSTL plays very well with struts even though there is a great deal
of overlap.

I use JSTL exclusively for non-form elements - i.e., pure presentation /
output stuff.

Larry

 [EMAIL PROTECTED] 10/24/03 12:11 PM 
The web app was developed using Struts.  This is a new section of the
app I
am developing.  I wanted to continue using Struts  libraries/components
to
construct dynamic JSP pages.  Does JSTL integrate nicely with Struts? 
Or
does Struts have similar components that do the same thing?


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



RE: Dynamic JSPs and STRUTS

2003-10-24 Thread DeBurgo, Jean P.
The JSP pages I am creating all are using form elements.  How can JSTL be
used for dynamic form elements?  What struts tag libs overlap JSTL?

-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 2:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic JSPs and STRUTS


Yes, JSTL plays very well with struts even though there is a great deal
of overlap.

I use JSTL exclusively for non-form elements - i.e., pure presentation /
output stuff.

Larry

 [EMAIL PROTECTED] 10/24/03 12:11 PM 
The web app was developed using Struts.  This is a new section of the
app I
am developing.  I wanted to continue using Struts  libraries/components
to
construct dynamic JSP pages.  Does JSTL integrate nicely with Struts? 
Or
does Struts have similar components that do the same thing?


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

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



Re: Dynamic JSPs and STRUTS

2003-10-24 Thread Ruth, Brice
JSTL in particular has a lot of tags for wrangling XML, so if you do 
pull out your 100 odd differences into an XML file, you'll need JSTL, 
most likely, to re-construct your JSP. I guess this sorta depends on if 
you understand XML at all ... if you can think of a way of using XML to 
pull out the 100 differences into an XML structure that makes sense, 
then just looking at some online documentation for JSTL should put you 
well on your way to getting this done.

Also, if you use the Struts EL tags, you pretty much are forced to use 
the JSTL tags as well, since certain Struts tags are not present in the 
Struts EL taglibs, since they are *precisely* the same (with EL) as the 
JSTL equivalent. The Struts EL documentation indicates which Struts tags 
are not present as well as what the equivalent JSTL tag is.

Good luck!

DeBurgo, Jean P. wrote:

The JSP pages I am creating all are using form elements.  How can JSTL be
used for dynamic form elements?  What struts tag libs overlap JSTL?
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 2:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic JSPs and STRUTS
Yes, JSTL plays very well with struts even though there is a great deal
of overlap.
I use JSTL exclusively for non-form elements - i.e., pure presentation /
output stuff.
Larry

 

[EMAIL PROTECTED] 10/24/03 12:11 PM 
   

The web app was developed using Struts.  This is a new section of the
app I
am developing.  I wanted to continue using Struts  libraries/components
to
construct dynamic JSP pages.  Does JSTL integrate nicely with Struts? 
Or
does Struts have similar components that do the same thing?

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

--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


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


RE: Dynamic JSPs and STRUTS

2003-10-24 Thread Paananen, Tero
 What struts tag libs overlap JSTL?

The logic and bean tags have overlap with JSTL tags.

We've made a decision to do everything in JSTL,
EXCEPT for the Struts HTML tags. Best of both worlds
and all that.

Let's see what happens when JSF becomes a reality.

-TPP

-
This email may contain confidential and privileged material for the sole use of the 
intended recipient(s). Any review, use, retention, distribution or disclosure by 
others is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete all 
copies of this message.  Also, email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails on the 
basis that we are not liable for any such corruption, interception, tampering, 
amendment or viruses or any consequence thereof.


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