Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS dont work fine with strut

Status
Not open for further replies.
Apr 13, 2004
16
DE
hallo,

i'm a struts newbie an have a big question. i use strut to create an login action. the login jsp uses CSS for the layout and the other styles. occurs during the struts validation an error, and the login.jsp is diplayed with the output from the error objekt, the page is losing all css setups and is shown without anny of my styls.
can anyone help me?

thanks.

 
What is the path to your css file? Potentially its losing access to it if your using a relative path, meaning the .do action can't "see" the css.

Switch it to a full path and you may resolve this issue.

 
hallo,

thanks for help, i've forget to answer. sorry. the problem was i dont have use the </html:base> tag. thanks for help.


bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top