| Author |
jsp.exists()
|
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
Is there a reliable way to tell if a named JSP exists? I'd like to provide a default page for a missing JSP in one particular spot in an application. This is in a legacy jsp now: I could see Class.forName() working if I could build up the compiled jsp name, but that sounds pretty yucky.
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56153
|
|
Perhaps something like: [ February 27, 2006: Message edited by: Bear Bibeault ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
|
Wow! I have no idea what that is. But it's something I can Google and learn!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56153
|
|
|
Those are examples of the JSTL (JSP Standard Tag Library).
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
|
Gotcha. I had never seen the import into a var syntax. Slick. Thanks again!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56153
|
|
|
Very powerful mechanism, that.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: jsp.exists()
|
|
|