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 REST with Spring (video course) this week in the Spring 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: 63534

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] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Logic tags
It's not a secret anymore!