facebook

Problem w/ JSP absolute paths in Preview

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245811 Reply

    mirdous
    Participant

    I do have problem w/ absolute paths in JSP designer preview page
    where my pictures, styles, srcipts are not show at all. All I get are
    x-es instead of pictures and styles. Is it bug or am I suppose to set-up something?

    Tnxs

    Miro V.

    #245849

    Riyad Kalla
    Member

    Miro,
    Can you give me an example of the absolute paths you are using?

    #246151

    mirdous
    Participant

    i do have code something like this in jsp
    <pre>
    <div class=”actionBar”>
    <img src=”/contetnt/jsp/images/buttons/btt_new.gif” width=”60″ height=”16″ border=”0″ alt=””>
    </div>
    </pre>

    in preview page I get not available (x instead of picture)
    <pre>file:///J:/content/jsp/images/buttons/btt_new.gif but true location of that picture is</pre>
    (from opera)
    <pre>file://localhost/J:/projects/myproject/pr/webContent/jsp/images/buttons/btt_new.gif</pre>

    btw I do have webContent mapped to /content in my application server

    Can you halp me, pls?

    Tnx

    #246156

    Riyad Kalla
    Member

    Ahh absolute paths (like this) are not supported in the preview window at this time however it is an open feature request. I will add your comments to it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem w/ JSP absolute paths in Preview

You must be logged in to post in the forum log in