I understand what you're getting at. I am running a local instance of Tomcat,
which means that both the client and the server are in my workstation. So
shouldn't the local linkages work then?

Now, bringing the files into the webapps folder is a convenient solution.
But the issue is that this web application is ultimately going to be
deployed on a production/test server, and the application has to refer to
the direct path of files lying on a remote server elsewhere.

Again, http:// paths work, but local paths don't even if they refer to my
own workstation (the one in which I am running Tomcat).

One thing I must point out is that I don't have a configuration file in my
web application's folder (currently it does not use any JSP, and the only
Java involved is in an applet (.jar) which is embedded into a HTML document.
Should I make a configuration file? If so, what must I put into it such that
these links work?

Thanks for looking into this.




Caldarale, Charles R wrote:
> 
>> From: thunderhead [mailto:[EMAIL PROTECTED] 
>> Subject: HTML hyperlink problem in Apache Tomcat 5.5
>> 
>> I tried linking some local files on my workstation for 
>> testing purposes.
> 
> You can't do that.  Each link is evaluated in the environment of the
> *client* (browser, in your case).  Unless the files are located on the
> client system, they won't be found.  Put the files inside the webapp and
> access them via the proper webapp-relative references.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTML-hyperlink-problem-in-Apache-Tomcat-5.5-tp17332016p17332599.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to