You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Micael Padraig Og mac Grene <ca...@harbornet.com> on 2002/05/01 09:30:26 UTC

Flash Arrays: Possible on Struts with WEB-INF?


Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash 
element files in the same directory with relative file URLs?  You don't 
have to tell me how to do it, I just want to know if it is possible.  This 
is fhe fourth time I have asked this question.  It seems to me to be a 
reasonable question.  I know how to do the normal stuff with struts.  But, 
here there is no way to use the structs tags in the Flash .swf array 
files.  I am asking about inside WEB-INF, because obviously outside WEB-INF 
is easy.

Please give me a nod if it can or cannot be done.  Hopefully Craig will 
take an interest, or someone who knows?  If this cannot be done, it is a 
problem with the architecture, in my mind.

micael



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


James Mitchell Continues His Faux Pax's

Posted by Micael Padraig Og mac Grene <ca...@harbornet.com>.
You should have thought again, James.  It is a STRUTS problem because some 
people MIGHT WANT TO USE A FLASH ARRAY WITH STRUTS AND THEY AUTOMATE 
RELATIVE IMAGE INCLUDES.  Catching on?

Micael

At 11:41 AM 5/1/02 -0400, you wrote:
>Apparently I'm not an expert on Flash.
>
>Oh SH##, I'm sorry.  I meant to send that reply to the
>flash-users@jakarta.apache.org
>
>Please accept my apologies.
>
>JM
>
>
>
> > -----Original Message-----
> > From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> > Sent: Wednesday, May 01, 2002 11:29 AM
> > To: Struts Users Mailing List
> > Subject: James Mitchell is Rude and Ignorant
> >
> >
> > James,
> >
> > You don't know what you are talking about.  I know all about what you are
> > speaking about.  I am talking about Flash ARRAYS.  Get it?  If you don't
> > know the question, don't try the answer.  The question is not so
> > simple as
> > you blithely ASSUME.  Plus, your advice s$cks.
> >
> > Micael
> >
> > At 11:18 AM 5/1/02 -0400, you wrote:
> > >To answer your question <suppressing-annoyance> for the ?th time.
> > >
> > >What do Flash files (.swf) have to do with struts?
> > >
> > >Its a simple document request.
> > >
> > >Whether you choose to put you jsp files (I said jsp not "all content" )
> > >under WEB-INF is up to you.
> > >
> > >Whether you choose to make it: relative to the url ("flash-me-baby.swf"),
> > >relative to the application ("/flash-me-again-from-the-root.swf"), or
> > >absolute ("http://www.flashers-anon.com/struts/oh-ya.swf") is up to you.
> > >
> > >
> > >Here's a snip of html from flash.com main page......notice the
> > "movie" param
> > >and the "embed" urls, those are relative to the application.
> > >
> > ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > >
> > >codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
> > /swflash.ca
> > >b#version=5,0,30,0"
> > >                 width="749"
> > >                 height="68">
> > ><param name=movie value="/uber/nav/global.swf">
> > ><param name=quality value=high>
> > ><param name="BGCOLOR" value="#EEEEEE">
> > ><param name="salign" value="tl">
> > ><param name="menu" value="0">
> > ><embed src="/uber/nav/global.swf"
> > >                 quality=high
> > >
> > >pluginspage="http://www.macromedia.com/shockwave/download/index.c
> > gi?P1_Prod_
> > >Version=ShockwaveFlash"
> > >                 type="application/x-shockwave-flash"
> > >                 width="749"
> > >                 height="68"
> > >                 bgcolor="#EEEEEE"
> > >                 salign="tl"
> > >                 menu="0">
> > ></embed>
> > ></object>
> > >
> > >
> > >
> > >Life is full of choices, its up to you.
> > >
> > >My suggestion to you is:
> > >1. To write a **REEAALY** killer custom taglib that handles
> > every possible
> > >.swf configuration and then donate it to the open source cause.
> > >2. Shut the H#LL up and get over it.
> > >
> > >;) Have a wonderful day
> > >
> > >JM
> > >
> > >
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> > > > Sent: Wednesday, May 01, 2002 3:30 AM
> > > > To: struts-user@jakarta.apache.org
> > > > Subject: Flash Arrays: Possible on Struts with WEB-INF?
> > > >
> > > >
> > > >
> > > >
> > > > Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
> > > > element files in the same directory with relative file URLs?
> > You don't
> > > > have to tell me how to do it, I just want to know if it is
> > > > possible.  This
> > > > is fhe fourth time I have asked this question.  It seems to me to be a
> > > > reasonable question.  I know how to do the normal stuff with
> > > > struts.  But,
> > > > here there is no way to use the structs tags in the Flash .swf array
> > > > files.  I am asking about inside WEB-INF, because obviously
> > > > outside WEB-INF
> > > > is easy.
> > > >
> > > > Please give me a nod if it can or cannot be done.  Hopefully
> > Craig will
> > > > take an interest, or someone who knows?  If this cannot be
> > done, it is a
> > > > problem with the architecture, in my mind.
> > > >
> > > > micael
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: James Mitchell is Rude and Ignorant

Posted by Micael Padraig Og mac Grene <ca...@harbornet.com>.
The thing this question has to do with STRUTS is that it is an application 
which generates and AUTOMATIC relative reference within a SWF file that is 
NOT controlled in STRUTS.  So, if STRUTS cannot accommodate that, then 
there is a significant functionality out there that is inconsistent with 
using JSP files inside WEB-INF.  Do you now understand, James Mitchell?

Your Pal, Micael

At 08:29 AM 5/1/02 -0700, you wrote:
>James,
>
>You don't know what you are talking about.  I know all about what you are 
>speaking about.  I am talking about Flash ARRAYS.  Get it?  If you don't 
>know the question, don't try the answer.  The question is not so simple as 
>you blithely ASSUME.  Plus, your advice s$cks.
>
>Micael
>
>At 11:18 AM 5/1/02 -0400, you wrote:
>>To answer your question <suppressing-annoyance> for the ?th time.
>>
>>What do Flash files (.swf) have to do with struts?
>>
>>Its a simple document request.
>>
>>Whether you choose to put you jsp files (I said jsp not "all content" )
>>under WEB-INF is up to you.
>>
>>Whether you choose to make it: relative to the url ("flash-me-baby.swf"),
>>relative to the application ("/flash-me-again-from-the-root.swf"), or
>>absolute ("http://www.flashers-anon.com/struts/oh-ya.swf") is up to you.
>>
>>
>>Here's a snip of html from flash.com main page......notice the "movie" param
>>and the "embed" urls, those are relative to the application.
>>
>><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>
>>codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
>> >b#version=5,0,30,0"
>>                 width="749"
>>                 height="68">
>><param name=movie value="/uber/nav/global.swf">
>><param name=quality value=high>
>><param name="BGCOLOR" value="#EEEEEE">
>><param name="salign" value="tl">
>><param name="menu" value="0">
>><embed src="/uber/nav/global.swf"
>>                 quality=high
>>
>>pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
>> >Version=ShockwaveFlash"
>>                 type="application/x-shockwave-flash"
>>                 width="749"
>>                 height="68"
>>                 bgcolor="#EEEEEE"
>>                 salign="tl"
>>                 menu="0">
>></embed>
>></object>
>>
>>
>>
>>Life is full of choices, its up to you.
>>
>>My suggestion to you is:
>>1. To write a **REEAALY** killer custom taglib that handles every possible
>>.swf configuration and then donate it to the open source cause.
>>2. Shut the H#LL up and get over it.
>>
>>;) Have a wonderful day
>>
>>JM
>>
>>
>>
>>
>>
>>
>> > -----Original Message-----
>> > From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
>> > Sent: Wednesday, May 01, 2002 3:30 AM
>> > To: struts-user@jakarta.apache.org
>> > Subject: Flash Arrays: Possible on Struts with WEB-INF?
>> >
>> >
>> >
>> >
>> > Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
>> > element files in the same directory with relative file URLs?  You don't
>> > have to tell me how to do it, I just want to know if it is
>> > possible.  This
>> > is fhe fourth time I have asked this question.  It seems to me to be a
>> > reasonable question.  I know how to do the normal stuff with
>> > struts.  But,
>> > here there is no way to use the structs tags in the Flash .swf array
>> > files.  I am asking about inside WEB-INF, because obviously
>> > outside WEB-INF
>> > is easy.
>> >
>> > Please give me a nod if it can or cannot be done.  Hopefully Craig will
>> > take an interest, or someone who knows?  If this cannot be done, it is a
>> > problem with the architecture, in my mind.
>> >
>> > micael
>> >
>> >
>> >
>> > --
>> > To unsubscribe, e-mail:
>> > <ma...@jakarta.apache.org>
>> > For additional commands, e-mail:
>> > <ma...@jakarta.apache.org>
>> >
>> >
>>
>>
>>--
>>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: James Mitchell is Rude and Ignorant

Posted by James Mitchell <jm...@telocity.com>.
Apparently I'm not an expert on Flash.

Oh SH##, I'm sorry.  I meant to send that reply to the
flash-users@jakarta.apache.org

Please accept my apologies.

JM



> -----Original Message-----
> From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> Sent: Wednesday, May 01, 2002 11:29 AM
> To: Struts Users Mailing List
> Subject: James Mitchell is Rude and Ignorant
>
>
> James,
>
> You don't know what you are talking about.  I know all about what you are
> speaking about.  I am talking about Flash ARRAYS.  Get it?  If you don't
> know the question, don't try the answer.  The question is not so
> simple as
> you blithely ASSUME.  Plus, your advice s$cks.
>
> Micael
>
> At 11:18 AM 5/1/02 -0400, you wrote:
> >To answer your question <suppressing-annoyance> for the ?th time.
> >
> >What do Flash files (.swf) have to do with struts?
> >
> >Its a simple document request.
> >
> >Whether you choose to put you jsp files (I said jsp not "all content" )
> >under WEB-INF is up to you.
> >
> >Whether you choose to make it: relative to the url ("flash-me-baby.swf"),
> >relative to the application ("/flash-me-again-from-the-root.swf"), or
> >absolute ("http://www.flashers-anon.com/struts/oh-ya.swf") is up to you.
> >
> >
> >Here's a snip of html from flash.com main page......notice the
> "movie" param
> >and the "embed" urls, those are relative to the application.
> >
> ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> >
> >codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
> /swflash.ca
> >b#version=5,0,30,0"
> >                 width="749"
> >                 height="68">
> ><param name=movie value="/uber/nav/global.swf">
> ><param name=quality value=high>
> ><param name="BGCOLOR" value="#EEEEEE">
> ><param name="salign" value="tl">
> ><param name="menu" value="0">
> ><embed src="/uber/nav/global.swf"
> >                 quality=high
> >
> >pluginspage="http://www.macromedia.com/shockwave/download/index.c
> gi?P1_Prod_
> >Version=ShockwaveFlash"
> >                 type="application/x-shockwave-flash"
> >                 width="749"
> >                 height="68"
> >                 bgcolor="#EEEEEE"
> >                 salign="tl"
> >                 menu="0">
> ></embed>
> ></object>
> >
> >
> >
> >Life is full of choices, its up to you.
> >
> >My suggestion to you is:
> >1. To write a **REEAALY** killer custom taglib that handles
> every possible
> >.swf configuration and then donate it to the open source cause.
> >2. Shut the H#LL up and get over it.
> >
> >;) Have a wonderful day
> >
> >JM
> >
> >
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> > > Sent: Wednesday, May 01, 2002 3:30 AM
> > > To: struts-user@jakarta.apache.org
> > > Subject: Flash Arrays: Possible on Struts with WEB-INF?
> > >
> > >
> > >
> > >
> > > Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
> > > element files in the same directory with relative file URLs?
> You don't
> > > have to tell me how to do it, I just want to know if it is
> > > possible.  This
> > > is fhe fourth time I have asked this question.  It seems to me to be a
> > > reasonable question.  I know how to do the normal stuff with
> > > struts.  But,
> > > here there is no way to use the structs tags in the Flash .swf array
> > > files.  I am asking about inside WEB-INF, because obviously
> > > outside WEB-INF
> > > is easy.
> > >
> > > Please give me a nod if it can or cannot be done.  Hopefully
> Craig will
> > > take an interest, or someone who knows?  If this cannot be
> done, it is a
> > > problem with the architecture, in my mind.
> > >
> > > micael
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >--
> >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


James Mitchell is Rude and Ignorant

Posted by Micael Padraig Og mac Grene <ca...@harbornet.com>.
James,

You don't know what you are talking about.  I know all about what you are 
speaking about.  I am talking about Flash ARRAYS.  Get it?  If you don't 
know the question, don't try the answer.  The question is not so simple as 
you blithely ASSUME.  Plus, your advice s$cks.

Micael

At 11:18 AM 5/1/02 -0400, you wrote:
>To answer your question <suppressing-annoyance> for the ?th time.
>
>What do Flash files (.swf) have to do with struts?
>
>Its a simple document request.
>
>Whether you choose to put you jsp files (I said jsp not "all content" )
>under WEB-INF is up to you.
>
>Whether you choose to make it: relative to the url ("flash-me-baby.swf"),
>relative to the application ("/flash-me-again-from-the-root.swf"), or
>absolute ("http://www.flashers-anon.com/struts/oh-ya.swf") is up to you.
>
>
>Here's a snip of html from flash.com main page......notice the "movie" param
>and the "embed" urls, those are relative to the application.
>
><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
>codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
>b#version=5,0,30,0"
>                 width="749"
>                 height="68">
><param name=movie value="/uber/nav/global.swf">
><param name=quality value=high>
><param name="BGCOLOR" value="#EEEEEE">
><param name="salign" value="tl">
><param name="menu" value="0">
><embed src="/uber/nav/global.swf"
>                 quality=high
>
>pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
>Version=ShockwaveFlash"
>                 type="application/x-shockwave-flash"
>                 width="749"
>                 height="68"
>                 bgcolor="#EEEEEE"
>                 salign="tl"
>                 menu="0">
></embed>
></object>
>
>
>
>Life is full of choices, its up to you.
>
>My suggestion to you is:
>1. To write a **REEAALY** killer custom taglib that handles every possible
>.swf configuration and then donate it to the open source cause.
>2. Shut the H#LL up and get over it.
>
>;) Have a wonderful day
>
>JM
>
>
>
>
>
>
> > -----Original Message-----
> > From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> > Sent: Wednesday, May 01, 2002 3:30 AM
> > To: struts-user@jakarta.apache.org
> > Subject: Flash Arrays: Possible on Struts with WEB-INF?
> >
> >
> >
> >
> > Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
> > element files in the same directory with relative file URLs?  You don't
> > have to tell me how to do it, I just want to know if it is
> > possible.  This
> > is fhe fourth time I have asked this question.  It seems to me to be a
> > reasonable question.  I know how to do the normal stuff with
> > struts.  But,
> > here there is no way to use the structs tags in the Flash .swf array
> > files.  I am asking about inside WEB-INF, because obviously
> > outside WEB-INF
> > is easy.
> >
> > Please give me a nod if it can or cannot be done.  Hopefully Craig will
> > take an interest, or someone who knows?  If this cannot be done, it is a
> > problem with the architecture, in my mind.
> >
> > micael
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Flash Arrays: Possible on Struts with WEB-INF?

Posted by Alex Paransky <ap...@standardset.com>.
I am not familiar with the way Flash .swf array works, however, if it embeds
a reference to the file and then executes an http GET to actually download
the file, then putting image just like any other picture on the page should
work (assuming you are not using user logins, and require url-rewriting or
cookies to be passed).

On the other hand, if the actual picture is "embedded" into the Flash, then
it does not matter where the file is since it's already "inside" of the
Flash presentation.

If the Flash package is assembled at the server at the time user makes a
request, then you will have a harder time specifying location of your files.

I, for once, don't use WEB-INF for my .jsp/.html files.  I only use it for
classes, libraries, and .tlb specifications, as well as standard J2EE/struts
configuration files.  All of the images and other presentation are a level
up from the WEB-INF anyway.

-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/profile/apara_personal

-----Original Message-----
From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
Sent: Wednesday, May 01, 2002 12:30 AM
To: struts-user@jakarta.apache.org
Subject: Flash Arrays: Possible on Struts with WEB-INF?




Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
element files in the same directory with relative file URLs?  You don't
have to tell me how to do it, I just want to know if it is possible.  This
is fhe fourth time I have asked this question.  It seems to me to be a
reasonable question.  I know how to do the normal stuff with struts.  But,
here there is no way to use the structs tags in the Flash .swf array
files.  I am asking about inside WEB-INF, because obviously outside WEB-INF
is easy.

Please give me a nod if it can or cannot be done.  Hopefully Craig will
take an interest, or someone who knows?  If this cannot be done, it is a
problem with the architecture, in my mind.

micael



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Flash Arrays: Possible on Struts with WEB-INF?

Posted by James Mitchell <jm...@telocity.com>.
To answer your question <suppressing-annoyance> for the ?th time.

What do Flash files (.swf) have to do with struts?

Its a simple document request.

Whether you choose to put you jsp files (I said jsp not "all content" )
under WEB-INF is up to you.

Whether you choose to make it: relative to the url ("flash-me-baby.swf"),
relative to the application ("/flash-me-again-from-the-root.swf"), or
absolute ("http://www.flashers-anon.com/struts/oh-ya.swf") is up to you.


Here's a snip of html from flash.com main page......notice the "movie" param
and the "embed" urls, those are relative to the application.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=5,0,30,0"
		width="749"
		height="68">
<param name=movie value="/uber/nav/global.swf">
<param name=quality value=high>
<param name="BGCOLOR" value="#EEEEEE">
<param name="salign" value="tl">
<param name="menu" value="0">
<embed src="/uber/nav/global.swf"
		quality=high

pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"
		type="application/x-shockwave-flash"
		width="749"
		height="68"
		bgcolor="#EEEEEE"
		salign="tl"
		menu="0">
</embed>
</object>



Life is full of choices, its up to you.

My suggestion to you is:
1. To write a **REEAALY** killer custom taglib that handles every possible
.swf configuration and then donate it to the open source cause.
2. Shut the H#LL up and get over it.

;) Have a wonderful day

JM






> -----Original Message-----
> From: Micael Padraig Og mac Grene [mailto:caraunltd@harbornet.com]
> Sent: Wednesday, May 01, 2002 3:30 AM
> To: struts-user@jakarta.apache.org
> Subject: Flash Arrays: Possible on Struts with WEB-INF?
>
>
>
>
> Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash
> element files in the same directory with relative file URLs?  You don't
> have to tell me how to do it, I just want to know if it is
> possible.  This
> is fhe fourth time I have asked this question.  It seems to me to be a
> reasonable question.  I know how to do the normal stuff with
> struts.  But,
> here there is no way to use the structs tags in the Flash .swf array
> files.  I am asking about inside WEB-INF, because obviously
> outside WEB-INF
> is easy.
>
> Please give me a nod if it can or cannot be done.  Hopefully Craig will
> take an interest, or someone who knows?  If this cannot be done, it is a
> problem with the architecture, in my mind.
>
> micael
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>