I'd like to point out that you can use any [public] usebean method from JSP
using scriptlets or JSP expressions:

<jsp:useBean id="pageGuard" scope="session" type="java.security.Guard"/>
...
...
<% try { pageGuard.checkGuard("/static/restricted.html"); %>
| <A href="/static/restricted.html">Restricted Page</A>
<%} catch (SecurityException ex__){}%>

Olga

> Hi,
>
> I have implemented some of the components available in Microsofts ASP as
> Java Beans and used these components in JSP. In doing so I found that the
> Bean concept in JSP has severe limits. I would like to hear your opinions
> about my thoughts:
>
> 1. Using only the three actions useBean, setProperty and getProperty
> does not allow really interesting beans. Very often I wanted to invoke
> a method having parameters and printing the result. Printing is only
> possible using getProperty which does not accept parameters

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to