Hi,ManneF,thank you for your help! I only had one servlet in my project . My web module is called"WebModule". My web.xml is below:
<servlet-name>accountlet</servlet-name> <servlet-class>server.web.Accountlet</servlet-class> <servlet-mapping> <servlet-name>accountlet</servlet-name> <url-pattern>/*.account</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <error-page> <error-code>404</error-code> /error.jsp </error-page> </web-app> So I use the url :http://localhost:8080/WebModule/accountlet to access my servlet. Is that anything wrong with the url or something else? What's more , what confused me is that there is no class file in the web-info diretory, what on earth happened? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830912#3830912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830912 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user