On Fri, 8 Mar 2002, Kumar Sameer wrote: > Hi, > > I am using the book JAVA Servlet Programming By Jason Hunter & William > Carford. ( O'REILLY) 1998 edition (13th Indian reprint Dec. 2000). But the > syntex seems to be outdated. for example for jsp it suggest the syntex > <%@ import = "HelloBean"%> > > <BEAN NAME="HELLO" Type="HelloBean"....> > > However the above syntex doesn't work on tomcat. > the following syntex works : > <%@ page import = "HelloBean"%> > > <jsp:useBean id="hello" class="HelloBean"> > <jsp:setProperty name="hello" ..../> > > Is this because the book was written with java web Server in mind which > support different syntex ? Or has the syntex evolved? I have not used java > web surver and have no idea about it. [ ... ]
There is a second edition of that book that deals with later versions of the servlet/JSP specs (although I'm not sure that's the issue). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [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
