This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Logic tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Logic tags" Watch "Logic tags" New topic

Logic tags

R Laksh

Joined: Aug 27, 2003
Posts: 25

I have a javascript where I set a variable to true. I want to include a jsp page based on that variable value. If it is true I need to include the jsp page.

How to check it...can I use logic tags. If so how?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

You have a very fundamental misunderstanding of how JSP pages work. Please read this article for an explanation of why that is not possible.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: Logic tags
Similar Threads
Designing HTML pages in eclipse
How to intercept JSTL and Struts Tag Behavior
jsp include
set the custom tag variable
Jstl Core tags Inclusion in the app