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 Android Security Essentials Live Lessons this week in the Android 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: 60804

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