JSP import command 2003-10-13 - By Jock Fung
Back Hi,
When I use the following in the JSP using Tomcat 4.1.27, it doesn't work,
<%@ page import="com.bcit.beans.*" %> <jsp:useBean id="user" class="UserData" scope="session"/>
but I need to specify in the class comand the actual path, then it can find UserData in the path. I can remove the page tag and it seems not that useful
<jsp:useBean id="user" class="com.bcit.beans.UserData" scope="session"/>
It seems that the 'import' does not work properly? Is it true?
Please advice.
Thanks.
Jock.
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|