Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Application Frameworks
posted 14 years ago
I am trying to understand how context root path is resolved.
The directory structure of my current application is some thing like this,
WebApp |-jsp |-js |-images |-WEB-INF |- classes |- lib
pages need some images that are in images folder and .js file that are in js folder.
Problem is I am not able to access aby of them using /images/some.gif and /js/cal.js
Reference like this works on dev, but not on QA. Ofcourse QA environment is different from Dev. It have one proxy which redirects requests to either one of 2 servers.
In dev, it is like both client and server are on same machine.
I am not sure if this is something to do with view resolvers configured in xx-servelt.xml file.
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="viewClass"> <value>org.springframework.web.servlet.view.JstlView</value> </property> <property name="prefix"> <value>/jsp/</value> </property> <property name="suffix"> <value>.jsp</value> </property> </bean>
Can some one please help me to understand so that I am able to get access to images and .js file from my jsp file in QA aswell.
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
Boost this thread!
Unable to start Jboss 5.1.0 GA
Spring and Multiple View Resolvers
urgent help please (creating jar file using ant)
Inclue file in lucene search
JSF view path