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 print class inorder to print. Should I move the 
Print class out of the JSP? If so, how would I access the bean from the print() method 
in the external class. Any suggestions on best practices?

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to