> Zhao Jiayu wrote: > > Anyone can tell me the usage of these elements in servlet2.3? > resource-env-ref,resource-ref,env-entry,ejb-ref,ejb-local-ref >
The servlet spec[1] says: SRV.9.11 "Web Application Environment" ... The requirements of the J2EE environment with regards to setting up the environment are described in Chapter J2EE.5 of the Java TM 2 Platform, Enterprise Edition v 1.3 specification 2 . Servlet containers that are not part of a J2EE technology compliant implementation are encouraged, but not required, to implement the application environment functionality described in the J2EE specification. which, to be honest, is fairly useless. So, go download the J2EE spec[2] and you get a reasonably good explanation of what all those elements mean, plus a set of examples of how to use them. Or, since you now know it's a J2EE thing, you can go ask on the J2EE list, or check Sun'2 J2EE site for docs and tutorials and stuff. Good luck. [1] http://java.sun.com/products/servlet/download.html Just go download it now. It's relatively easy to to read, answers most of these types of questions, and your coworkers will be impressed you're reading the spec instead of a "Servlets for Dummies" book :-) [2] http://java.sun.com/j2ee/download.html I always thougt the J2EE spec was a harder read than the servlet spec, but it's all there, and you should have a copy, and besides: it's free. So go download it. -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com ___________________________________________________________________________ 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
