This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

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

berny w.

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
It is sorta covered in the JavaRanch Style Guide.
subject: more than one "html:rewrite forward="style"/" possible???
Similar Threads
Struts help
Taglib to attach CSS-File?
action forward problem : when "Failure"
uri to access stylesheet
Tiles and variable CSS files