Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 04:44:05 PM

Pages: [1]   Go Down
  Print  
Author Topic: how to deal with Web.xml for Servlet of subdomain  (Read 2710 times)
ajagare.bhagya
Newbie
*
Offline Offline

Posts: 1


« on: November 20, 2010, 12:43:05 AM »

Dear All,

Actually, I am working on one site say www.xyzdomain.com. I have web.xml file for this domain, which is working properly.
Now I have created subdomain say abc.xyzdomain.com. In actual case, I have a directory with subdomain name i.e. abc directory in ROOT directory.
My directory Structure is as follows:
tomcat5.5-webapps
----Root --|
                  |-----WEB-INF
                  |-----*.jsp
                  |-----*.html
                  |-----abc--|
                                   |------WEB-INF
                                   |------*.jsp

But when I am accessing subdomain, it is displaying error to execute servlet program. i.e. .jsp or .html pages inside abc directory executing properly but servlet inside abc/WEB-INF/classes directory not working. It shows error as follows


I think I need to edit some configuration file but I don't know which one and How to change it?
Please help me to resolve same problem Confused Confused
« Last Edit: November 20, 2010, 04:05:47 AM by ajagare.bhagya » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: