File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60048

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