aspose file tools*
The moose likes Struts and the fly likes more than one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "more than one "html:rewrite forward="style"/" possible???" Watch "more than one "html:rewrite forward="style"/" possible???" New topic
Author

more than one "html:rewrite forward="style"/" possible???

berny w.
Greenhorn

Joined: Oct 11, 2004
Posts: 1
i have a problem with using "rewrite" and "forward" to include css files, what would be nice for maintenance purposes...

i defined in the struts-config a few global forwards like this:


in an jsp file i wrote:

this works all perfekt... but when i change the second link href also to
its doesnet work anymore...

a small hint:
when i watch the source code that where send to the browser, it shows that all has been written correctly until the second link should be written, and then there is no code anymore

has anyone a explaination for this strange behavior?
isnt it possible using two links with "html:rewrite forward" in the same file?
and if yes, is there a workaround to insert more css files without hardcoding the url in the file it self... as previous sad... its a maintenance issues...

thanks in advance, berny
 
Don't get me started about those stupid light bulbs.
 
subject: more than one "html:rewrite forward="style"/" possible???