File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: more than one "html:rewrite forward="style"/" possible???
 
Similar Threads
Taglib to attach CSS-File?
Struts help
uri to access stylesheet
action forward problem : when "Failure"
Tiles and variable CSS files