aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 60071

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]
subject: Logic tags
Similar Threads
jsp include
How to intercept JSTL and Struts Tag Behavior
Designing HTML pages in eclipse
Jstl Core tags Inclusion in the app
set the custom tag variable