aspose file tools*
The moose likes Tomcat and the fly likes How do i create virtual directory on tomcat. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How do i create virtual directory on tomcat." Watch "How do i create virtual directory on tomcat." New topic
Author

How do i create virtual directory on tomcat.

karnakar ganji
Greenhorn

Joined: Jul 31, 2008
Posts: 12
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


Karnakar K Ganji<br />Keep Smiling
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
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

Joined: Jul 31, 2008
Posts: 12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i create virtual directory on tomcat.