A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Accessing resources out of context
Joined: Jun 28, 2007
Jul 16, 2007 13:47:00
I am using Jboss-4.0.5 application server
I would like to include a HTML file which is placed outside the web application (eg: sample.war) in a
im using the following to include the HTML file
The issue is filepath is considered with reference to the application
then JSP include tag is considering path as /sample/C:/html/static/temp.html
But the structure for the HTML file is C:/html/static/temp.html ( local hard disk )
How to include the HTML file in such case?
Author and ninkuma
Joined: Jan 10, 2002
Jul 16, 2007 14:10:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Accessing resources out of context
include and file path
Problem in sequence of actions in JSP
What is the differences between 2 includes of JSP?
Appliation Server - HTML Include
Serving Content from Outside the context
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015