aspose file tools*
The moose likes JSP and the fly likes Call an attachment from lying in the other drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Call an attachment from lying in the other drive" Watch "Call an attachment from lying in the other drive" New topic
Author

Call an attachment from lying in the other drive

Deeps Dhr
Greenhorn

Joined: Jul 12, 2005
Posts: 4
Hello All,

I am working on Tomcat which is in my c: drive...Now i have an attachment in D: drive which i want to call from my application (in c: drive) using <include tag > in my jsp page....

I tried giving the path like this..

<jsp:include page='d:/GIC/Security/try.html' flush='true'>
</jsp:include>

But it doesn't work.

But if i use
FileInputStream propfile = new FileInputStream("d:/GIC/Security/GIC.properties");

it reads the path. Could you pls suggest how i do it...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

"Deeps Dhr",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Call an attachment from lying in the other drive
 
Similar Threads
A mock question about security
Re: Attach is the detail on the servlet error "The system cannot find the path specified"
Doubt in Final Mock Exam:HFSJ
A problem about the usage of tag jsp:param
Servlet Error : The system cannot find the path specified