File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 12676
    
    5
What is the current directory structure for your application and where are these files you want to access relative to your application?

Bill


Java Resources at www.wbrogden.com
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.
 
Similar Threads
Shared Drive access from WebSphere
ant with tomcat
locaalhost vs 127.0.0.1
Creating/Using Virtual Directory
Eclipse Config to Match Web Host