Jay B Shukla
,
Ranch Hand
Jan 21, 2016 15:32:01
Hi All,
I am new to Spring MVC and trying to create a HelloWorld application. when i tried to run application using tomcat 6, I am receiving following exception in eclipse.
Web.xml
======
I have Attached project structure.
Can you please help in resolving it?
Thanks in Advance.
Jay Shukla
Jay B Shukla
,
Ranch Hand
Jan 21, 2016 15:35:11
I could not attached screenshot of project structure.
Location of dispatcher-servlet.xml: /WEB-INF/config/
Thanks
screen.jpg
Jay B Shukla
,
Ranch Hand
Jan 21, 2016 15:59:18
P.S: I would like to have all spring related xmls (currently it has one but may increase as the project grows) in to config folder under WEB-INF.
g tsuji
,
Ranch Hand
Jan 22, 2016 12:02:04
If you want to customize the location of it, your servlet element in the deployment descriptor has to be more explicit, like this.
Jay B Shukla
,
Ranch Hand
Jan 22, 2016 12:02:28
Hi All,
I resolved this by few changes in web.xml (shown below)
Jay B Shukla
,
Ranch Hand
Jan 22, 2016 12:03:39
Thanks g tsuji for response.
I order to resolve this.. I was referring other forum / solution and tried to same solution suggested by you.
Police line, do not cross. Well, this tiny ad can go through:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com