[jbosstools-dev] Why is it that design page options for visual page editor both have absolute and relative folders ?

Yahor Radtsevich yradtsevich at exadel.com
Thu Sep 15 10:40:09 EDT 2011


Hi,

On Wed, Sep 14, 2011 at 7:51 PM, Max Rydahl Andersen <
max.andersen at redhat.com> wrote:

> Hi guys,
>
> I get that an absolute folder is relevant to know where "/" gets resolved
> (normally deduced from web content in WTP projects).
> The absolute folder is nice to set when not using WTP projects.
>
> But when is the relative folder relevant to set ? Can't think of a good use
> case beyond your project layout is really screwed ;)
>
The use case may be as follows:
1) Eclipse folder structure:
DynamicMyAdminProject
|--WebContent
   |--foo.jsp
StaticMyAdminProject
|--static
   |--bar.gif

2) Runtime folder structure:
http://example.com/my-admin/
|--foo.jsp
|--static
   |--bar.gif

3) foo.jsp has a relative link to bar.gif:
<img src="static/bar.gif">

>
> /max
> http://about.me/maxandersen
>
>
>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20110915/9984886c/attachment-0001.html 


More information about the jbosstools-dev mailing list