Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i create virtual directory on tomcat.

 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I am accessing the cognos reports from my web application which is deployed on tomcat 6.0 server, but when i access the reports CSS and JavaScript files are not loaded,

so i got the solution for this, that is to create the virtual directory on my machine to access the another server files.

Your response is precious

Thanks in advance
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the current directory structure for your application and where are these files you want to access relative to your application?

Bill
 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,
Thanks for your reply,

Actually my requirement is : there is cognos server for reporting application and there is a tomcat server which consists of web application which access the reports from cognos server.

when i fetch report, report consists of css files which are located on cognos server, copy and pasting will not be great idea i think so.

i wanted something which can refer to the server relative path, virtual directory fulfills my need i think.

my path on the server is like this : ../schemas/GlobalStyleSheets.css. so would i refer or set this path.

waiting for your precious reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic