I am unable to access bean methods from a method in the declaration section of a JSP,
but can elsewhere in the same JSP. Is there a special requirement necessary to be able
to access a bean method from a class method in the JSP?
===
What is the proper way to import a class into a JSP if I have the class in
the WEB-INF\classes folder?
- Original Message -
From: "Richard Yee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 10:14 PM
Subject: Re: Calling a Class or method from inside a jsp.
>
I added a Print class that implements Printable in the declaration section of a JSP.
The print() method is part of the class and works fine, but the declaration section
will not recognize the bean that contains the data to print(the rest of the page does).
I need to instanciate an object the pri
I defined a class to print from the server in the declaration section of my
JSP. I know this isn't a recommended practice, but I'm using Jrun which is
requiring a restart of the container for every class change and this server
has another app that is in use. Are there any functional reasons that I
I've tried this one before, but couldn't get it to work either. My solution
was to set the IIS server properties to "all pages expired" (or similar
label) which worked perfectly. Unfortunately the server is not always under
your control.
Brian
- Original Message -
From: "Amit Ghaste" <[