Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hello... We are Using Tomcat 3.2.2 on SunOS 5.6. I am trying to add a custom parameter to web.xml to be used as my servlet is initialized. <servlet>
public class testServlet extends HttpServlet { String p1Attribute = sc.getAttribute("param1")); The value returned is always null. Tried this with the example called "ServletParam.java" that comes with 3.2.2., and can't get that to work either. Has anyone had any luck with this sort of thing? Thanks!
Replies:
|
Sponsored Links
|