Register / Login
Other Application Frameworks
posted 11 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.
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