Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Friendman, you are completely missing the boat. Do you know how the src parameter works in Flash? Give me a break! Don't read into my comments what you might have meant. On 5/17/06, David G. Friedman <[EMAIL PROTECTED]> wrote: Funny, but it almost seemed like D.J wrote a fancy way of saying th

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Well, you ought to try doing it on your own. That would really cost you time. ///;-) On 5/17/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: H,thanks a lot Dakota Jack! It costs time for me to understand your cool solution to problems of this kind. Thank you. On 5/17/06, Dakota Jack <[EMAI

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dave Newton
David G. Friedman wrote: > "If you don't have the Flash plugin installed in your browser then it won't > work" > No no, it's just not knowing the difference between a technology-independent path issue, which is Struts, and a problem with the technology itself. It wouldn't have mattered what w

RE: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread David G. Friedman
Funny, but it almost seemed like D.J wrote a fancy way of saying this: "If you don't have the Flash plugin installed in your browser then it won't work" What a practical answer (add sarcasm here). Regards, David / [EMAIL PROTECTED] On 5/17/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > Actuall

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread M.Liang Liu
H,thanks a lot Dakota Jack! It costs time for me to understand your cool solution to problems of this kind. Thank you. On 5/17/06, Dakota Jack <[EMAIL PROTECTED]> wrote: Actually, in a real sense it was. You have to deliver the flash file to the Flash plugin, after all. That is a prob

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Actually, in a real sense it was. You have to deliver the flash file to the Flash plugin, after all. That is a problem with knowing how to embed flash. On 5/16/06, Dave Newton <[EMAIL PROTECTED]> wrote: Wendy Bossons wrote: > If you just want to embed a flash movie, the following is an exampl

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Probably correct but a work-intensive solution. A generic solution would be better. On 5/16/06, Bart Busschots <[EMAIL PROTECTED]> wrote: Hi, This is probably a simple problem with relative paths, just do a view-source on the generated page to see what's going on. That or right click and 'vie

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
That is irrelevant. You miss the point. You can run Flash dynamically by varying the content. Flash has an action script. Gainty's point is useful. The fact that Flash or JS run locally is irrelevant. In fact, I create my Flash on the backend dynamically. On 5/16/06, Dave Newton <[EMAIL PRO

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Here is a use of the previous code, Liu. "CRACKWILLOW" is used instead of the usual ".do". Here is the Struts config. On 5/16/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: *Dakota Jack,*your solution is awesome;cool. Actually I am a freshman to struts;as a result,I need your help to do

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread Dakota Jack
Here is an example. You can make the cache values dynamic. I assume you know how to use class loaders to get your classpath dynamically, which is what Classpath.WEB_INF does. This solution involves having one folder where you store all your resources, separating them into subfolders named "tiff

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
*Dakota Jack,*your solution is awesome;cool. Actually I am a freshman to struts;as a result,I need your help to do the same as you. **Greatly appreciated if you send your code of the very action class which is to deliver all images or other resources. Thanks . On 5/17/06, Dakota Jack <[EMAIL PRO

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Dakota Jack
Using standard URLs is just a guarantee that you will keep having these sorts of problems. I use an action to deliver all images, including flash, or other resources, CSS, etc. I would suggest you do the same and you will never have to worry about this recurrent problem again. On 5/16/06, M.Lia

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
Thanks a lot for your immediate reply which helped me a lot to resolve this problem. The solution *Christian Bollmeyer *provided is just fine;I make the image display properly;* **Bart Busschots's *advice is of great useful,I check all my webapp to make sure all the things go as expected.* **Wen

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Dave Newton
Wendy Bossons wrote: > If you just want to embed a flash movie, the following is an example: The original poster was having a (probable) relative path issue; I don't think it was a don't-know-how-to-embed-flash problem. Dave -

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Wendy Bossons
If you just want to embed a flash movie, the following is an example: OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"; WIDTH="550" HEIGHT="400" id="myMovieName"> http://www.macromedia.co

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Dave Newton
Martin Gainty wrote: > My cursory understanding of Flash is that it runs as a Gateway thru Jrun > Container I invite you to look at > http://www.adobe.com/support/documentation/en/flash/ > What? Flash runs locally. Dave -

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Martin Gainty
I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles > This is kind of trivial and not related to Tiles at all. > Fact is, your Flash thing or "even" the image, if you like, > are not found because their URLs are incorrect. Solution &

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Christian Bollmeyer
This is kind of trivial and not related to Tiles at all. Fact is, your Flash thing or "even" the image, if you like, are not found because their URLs are incorrect. Solution is to specify context-relative URLs like this (JSP 2.0): and the like. For older JSP versions, use the or tags. HTH, -

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Bart Busschots
Hi, This is probably a simple problem with relative paths, just do a view-source on the generated page to see what's going on. That or right click and 'view image' to see what URL the image is being retrieved from. I'd wager it won't be what you're expecting and that will be the cause of your

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread Emmanouil Batsis
M.Liang Liu wrote: My GOD! The same thing happened when I try to insert an image!! * Have you tried accessing the URL of the image directly from your browser? What is the response? * Anything in the logs? Manos -

Re: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-16 Thread M.Liang Liu
My GOD! The same thing happened when I try to insert an image!! Help,please. On 5/16/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: Hi,guys! I am meeting with a problem when I tried to insert a flash to my pages.I use Tiles plug-in and it works well. I put a flash in my header.jsp and