• Post Reply Bookmark Topic Watch Topic
  • New Topic

Directory Structure  RSS feed

s penumudi
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to understand how context root path is resolved.
The directory structure of my current application is some thing like this,

JSP 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.

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.

Thank you
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!