Hi,

I have an application where I have jsp pages including other jsp pages.  If we call 
the main page Page 1 and the included page Page2, I want to include a different Page 2 
depending on a condition in Page 1.

I tried:

<%@ include file="<%= page2 %>" %>

which didn't work for obvious reasons.  I'd rather not use an if statement if I can 
help it.

Anyone have any other suggestions on how I could accomplish this?

Thanx in advance.

Norton

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849911#3849911

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849911


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to