jsp include absolute path

Discussion in 'Java' started by SK, Sep 20, 2005.

  1. SK

    SK Guest

    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
    SK, Sep 20, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    3
    Views:
    19,497
    Sudsy
    Jul 8, 2004
  2. Replies:
    10
    Views:
    3,474
  3. Replies:
    0
    Views:
    4,325
  4. Prakash

    Include Jps with Absolute path

    Prakash, Feb 20, 2009, in forum: Java
    Replies:
    2
    Views:
    716
    code learner
    Jan 9, 2011
  5. James Byrne
    Replies:
    3
    Views:
    540
    James Byrne
    Sep 14, 2010
Loading...

Share This Page