Here is a use of the previous code, Liu. "CRACKWILLOW" is used instead of the usual ".do".
<html:img src='cache.CRACKWILLOW?file=flags/great_britain.gif' height='18' border='0'/> Here is the Struts config. <action path='/cache' scope='request' type=' com.crackwillow.struts.action.ResourceCacheAction' /> 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 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 PROTECTED]> wrote: > > 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. > >
-- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~