Re: Referencing an application level image

2003-02-28 Thread Christopher Cheng
That only works in Linux/Unix environment, I have to make my application
work on both Windows and Linux environment. Also it seems that I will have
more headache in deployment (making symbolic everytime the war file is
exploded)

- Original Message -
From: "Louie Zhang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
"Christopher Cheng" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:28 AM
Subject: Re: Referencing an application level image


> Think about make a symbol link of every /myapp/mymodule1/sharedimages/,
> /myapp/mymodule2/sharedimages/ to /myapp/images
> then you can refer to 
>
> - Original Message -
> From: "Christopher Cheng" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 28, 2003 11:10 AM
> Subject: Referencing an application level image
>
>
> How can I reference an image located in the application's root image
folder
> with  in a mutiple module environment?
>
> For example if I use
> 
> it will generate "/myapp/mymodule/images/picture.gif"
>
> If I would like to reference "/myapp/images/picture.gif" instead, how
could
> I do it?
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Referencing an application level image

2003-02-28 Thread Louie Zhang
Think about make a symbol link of every /myapp/mymodule1/sharedimages/,
/myapp/mymodule2/sharedimages/ to /myapp/images
then you can refer to 

- Original Message -
From: "Christopher Cheng" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:10 AM
Subject: Referencing an application level image


How can I reference an image located in the application's root image folder
with  in a mutiple module environment?

For example if I use

it will generate "/myapp/mymodule/images/picture.gif"

If I would like to reference "/myapp/images/picture.gif" instead, how could
I do it?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Referencing an application level image

2003-02-28 Thread James Mitchell
I do not recommend using relative links.  It will only cause you more
headaches down the road.


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: Phillip Qin [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 11:16 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Referencing an application level image
> 
> 
> I never tried, but what about "../../images/picture.gif"?
> 
> Regards,
>  
>  
> PQ
>  
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
> 
> -Original Message-
> From: Christopher Cheng [mailto:[EMAIL PROTECTED] 
> Sent: February 28, 2003 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: Referencing an application level image
> 
> How can I reference an image located in the application's 
> root image folder
> with  in a mutiple module environment?
> 
> For example if I use
> 
> it will generate "/myapp/mymodule/images/picture.gif"
> 
> If I would like to reference "/myapp/images/picture.gif" 
> instead, how could
> I do it?
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Referencing an application level image

2003-02-28 Thread Phillip Qin
I never tried, but what about "../../images/picture.gif"?

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: Christopher Cheng [mailto:[EMAIL PROTECTED] 
Sent: February 28, 2003 11:10 AM
To: [EMAIL PROTECTED]
Subject: Referencing an application level image

How can I reference an image located in the application's root image folder
with  in a mutiple module environment?

For example if I use

it will generate "/myapp/mymodule/images/picture.gif"

If I would like to reference "/myapp/images/picture.gif" instead, how could
I do it?