I have a jsp page that does a getStuff with the correct path(packages)
but I can not get a Servlet to call the bean?

jsp------------------
<%@ page session="true" import="java.util.*, com.xxx.yyy.*" %>
<jsp:useBean id="uo" scope="page" class="com.xxx.yyy.UO" />
...
out.println("isUO: " + uo.isUO("1","1"));
<%%>
---------------------

servlet--------------
UserObject uo = new UserObject();
^
Invalid declaration.

//uo.isAuthorized("Shatt","Secret");
---------------------

I must have my packages/imports correct if I can get to them
from jsp, but why does it not work from servlets?

[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to