Hi ,

I am working on a web application based on struts which uses CSS to render various JSP 
pages.

I have a typical problem when I try to validate a form and it will be directed to the 
same JSP along with the errors.but the view(JSP) after the validation is not rendered 
by the CSS links.

Here is the code where I am trying to define the CSS links.

<html >
<html:html locale="true">
<[EMAIL PROTECTED] import="java.util.*,java.lang.*" %>

<HEAD>
<TITLE><bean:message key="something.title"/></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<link rel="stylesheet" href="../css/xxx.css">
<link rel="stylesheet" href="../css/yyy.css">
<link rel="stylesheet" href="../css/zzz.css">
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="">
<html:errors/>
<html:form action="/logon">
</html:form>
</body>
</html:html>
<html>


Can anyone let me know how to refer to the stylesheets after the validation is done as 
it is not picking up the stylesheets.

Thanks in advance...

Cheers...
Venkatesh






 

Reply via email to