I haven't had to deal with flash for a good few years, but couldn't
you set a variable when you embed it in the page as a means of passing
in the context path?

Could be really dirty and just pass it in with the request parameter. 

/myswf.swf?contextpath=<%= request.getContextPath() %>

or 

/myswf.swf?contextpath=${pageContext.request.contextPath}


Mark

On Sun, 28 Nov 2004 14:34:03 -0800, Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> Can you be more specific: "fix your Flash not your Struts"?
> 
> I don't think you understood the problem I am having, unless the new
> ActionScript can use <html:link/> I don't think it has to do with Flash. But
> I might be wrong as I am not well versed in ActionScript, maybe you can
> help.
> 
> Thanks,
> Fedor
> 
> 
> 
> -----Original Message-----
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 26, 2004 11:10 PM
> To: Struts Users Mailing List
> Subject: Re: Action path from Flash
> 
> You need to fix your Flash not your Struts.  I call from Flash all the
> time.  The new ActionScript is rad.
> 
> Jack
> 
> On Fri, 26 Nov 2004 22:37:05 -0800, Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am trying to call an action from a Flash file. My applications are all
> > called as such:
> >
> > Main.com/app1
> >
> > Main.com/app2
> >
> > The problem is that I want to keep flash script universal so I call action
> > as such:
> >
> > /myAction.do
> >
> > However, what happens is that Main.com/myAction.do is called instead of
> > Main.com/app1/myAction.do
> >
> > Any ideas guys as to how to pull that off, I really don't want to do
> > app1/myAction.do and app2/myAction.do
> >
> > Thanks,
> >
> > Fedor
> >
> >
> 
> --
> 
> "You can't wake a person who is pretending to be asleep."
> 
> ~Native Proverb~
> 
> "Each man is good in His sight. It is not necessary for eagles to be crows."
> 
> ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to