Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jsp include absolute path

Reply
Thread Tools

jsp include absolute path

 
 
SK
Guest
Posts: n/a
 
      09-20-2005
Hi

I have to include a file which is on local file system,
i tried doing this

<% String myUrl = "C:/content/terms.xhtml" %>
<jsp:include page="<%=myUrl%>" flush="true" />

but it doesent work.

I was wondering if anybody out there had run into a similar issue and
whether they could offer any pointers as to what makes this break.

Thanks,
Sunil

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Include Jps with Absolute path Prakash Java 2 01-09-2011 06:25 PM
How does one get an absolute absolute file path? James Byrne Ruby 3 09-14-2010 06:02 PM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
Absolute path in Manifest Class-Path header? bo_kid@yahoo.com Java 10 05-30-2005 01:43 PM
absolute path versus relative path in JSP Matt Java 3 07-08-2004 08:31 PM



Advertisments