View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821735#3821735
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821735 Hi, When I deploy my very simple test case servlet, it is not able to retrieve the single <init-param> value from its web.xml deployment descriptor, below. <web-app> <servlet-name>loopback</servlet-name> <servlet-class>com.wynnon.servletClass</servlet-class> <init-param> <param-name>com.wynnon.protocol.server.key</param-name> <param-value>com.wynnon.LoopbackAdaptor</param-value> </init-param> <servlet-mapping> <servlet-name>loopback</servlet-name> <url-pattern>/loop</url-pattern> </servlet-mapping> </web-app> Debug code scxt.getInitParameterNames(), where scxt is the servlet context, returns an empty Enumeration, which implies that the association between the deployment descriptor and the deployed servlet is broken. How does one deploy a servlet in jboss, so that its <init-param> elements propogate to the servlet context ? Bill ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user