Can you put here generated source (html received by browser) of sendMessage.jsp? In other hand, in css file you should specify class names with an initial dot, ie: .button not button
hns wrote: > > now this is actual flow > index.jsp redirected to welcome.jsp(welcome.do) > > my welcome.jsp shows perfectly----------- > welcome.jsp > ----------------- > <%@ page contentType="text/html; charset=UTF-8" %> > <%@ taglib uri="/struts-tags" prefix="s" %> > <%@ taglib uri="http://www.opensymphony.com/sitemesh/page" > prefix="pages"%> > <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" > prefix="decorator" %> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <s:head/> > <title>welcome</title> > > </head> > > <body> > <ul> > > <s:url action= "> > <h1> <s:text name="Send Mail"/></h1> > <s:url action= "> > <h1> <s:text name="jasper"/></h1> > </ul> > > > > </body> > </html> > > > ---------------- > > now when i click on sendmail > > it goes to which is in struts.xml > > <package name="webmail" namespace="/webmail" extends="framework-default"> > <action name="SendMessage_*" class="webmail.SendMessageAction" > method="{1}"> > <interceptor-ref name="user"></interceptor-ref> > <result name="input">/SendMail/SendMessage-input.jsp</result> > <result>/SendMail/SendMessage-success.jsp</result> > > </action> > </package> > -------------------------------------------- > > after invoking action it goes to as per you see /sendMessage-input.jsp > > sendMessage.jsp > ------------------- > <%@ taglib uri="/struts-tags" prefix="s" > %><html> > <head> > <title>Send Us A Message</title> > <script language="JavaScript"> > <!-- > var taSelected = 0; > //--> > </script> > > > <style type="text/css"> > button { > margin: 0; > font: bolder 12px Arial, Sans-serif; > border: 1px solid #CCC; > padding: 2px 3px; > background: #FFF; > color: #88ac0b; > > } > label > {font-size: x-small;} > </style> > </head> > <body> > > <s:form action="SendMessage" namespace="/" validate="true" > > <s:textfield name="msgReplyTo" label="Your Email" required="true" /> > <s:textfield name="subject" label="Subject" /> > <s:textarea name="msgContents" rows="15" cols="40" > required="true" label="Message" value="Type your message here." > onfocus="if (taSelected == 0){taSelected = 1; this.select();}" /> > <s:submit type="button" cssClass="button"/> > <s:reset type="button" /> > </s:form> > </body> > </html> > ---------------------- > now i tell actual problem ,when sendmessage_input.jsp load it can not > load button style remains in > Refresh.css ,that's why i have to write here css class button,whether my > sidebar,header,footer shows correctly > -- View this message in context: http://www.nabble.com/sitemesh-problem-tp15759026p15824552.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]