I can get a WebModule.war file in %JBOSS_HOME%\server\all\deploy directory and I can 
get the class file in the directory designated by the lomboz for eclipse. 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> 

when I start the jboss server in the eclipse. The jboss can automatically deploy the 
WebModule.war in the last few steps of the start proccess. after the server is 
invoked, I open the browser and type the url:" http://localhost:8080/WebModule ", the 
default string "Welcome" can be seen and the url changed to 
"http://127.0.0.1:8080/WebModule/index.jsp";. But If I type the 
url:"http://127.0.0.1:8080/WebModule/accountlet"; or 
"http://127.0.0.1:8080/WebModule/edit.account"; , the browser said it can't find the 
server.And the error information emerged on the eclipse console: 
ERROR [Engine] ErrorDispatcherValve[localhost]: Exception Processing 
ErrorPage[errorCode=404, location=/error.jsp] 
It seemed that the problem resides in the url. I viewed some posts in the forum .It 
seemed that the jboss-tomcat bundled package disable the configuration file of tomcat 
. It's different from the situation only with TomCat alone. So I don't know where I 
can edit to solve this problem. 
Please give me some sugesstion !Any idea would be highly appreciated. 
Thank you a lot! 
Best regards. 
 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831173#3831173

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831173


-------------------------------------------------------
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

Reply via email to