Jetty 7 web.xml configuration for Spring web 3.0.5?

Not an expert here but if you are using eclipse I'd say there could be a problem with your resource base.

Not an expert here but if you are using eclipse I'd say there could be a problem with your resource base. Depending on how you use Eclipse here (WTP, Maven etc) the compiled code will end up in the target folder somewhere. However your JSP and all may not follow or may not be where you'd think they are.

Compile your code and look in your target folder see where it is. I do something similar but it's testing code so I don't really care if the paths are linked to my IDE. Our versions are pretty much identical, applicative differences aside, except for these : WebAppContext webapp = new WebAppContext(); webapp.

SetDescriptor("target/app/WEB-INF/web. Xml"); webapp. SetResourceBase("target/app"); webapp.

SetContextPath("/app"); As you can see here the root path of the application run-time within Eclipse is your project's root path in your workspace. I set mine so it finds it's stuff relative to the project's root path, hence the target in there. If however you are looking for code that runs in both your environment and once deployed you could probably change the root folder in the run configuration for your particular application and set it to target directly (or whatever works for you).

Sorry for not being more decisive here, Anyways, hope this helps.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions