You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by al...@mastek.com on 2004/04/28 09:47:49 UTC

Wellformed valid html or xsl from jsp using Struts tags

Hi 
In a jsp i had written code as 
 
<html:submit property="method" styleClass="btnitem">
 <bean:message key="global.button.OK"/>
 </html:submit>
 
why is the output 
 
<input type-"submit"> which isnt well formed 
 
how do i get it to output 
 
<input type-"submit" /> or <input type-"submit" ></input> 
 
regards
Alan
 


MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Re: Wellformed valid html or xsl from jsp using Struts tags

Posted by Ivan <iv...@interd4u.com>.
Blank<input type="submit"> is well formed in html 4.0

Struts tags at least on version 1.1, writes html 4.0 standar code.

  ----- Original Message ----- 
  From: alana@mastek.com 
  To: user@struts.apache.org 
  Sent: Wednesday, April 28, 2004 9:47 AM
  Subject: Wellformed valid html or xsl from jsp using Struts tags


  Hi 
  In a jsp i had written code as 

  <html:submit property="method" styleClass="btnitem">
   <bean:message key="global.button.OK"/>
   </html:submit>

  why is the output 

  <input type-"submit"> which isnt well formed 

  how do i get it to output 

  <input type-"submit" /> or <input type-"submit" ></input> 

  regards
  Alan



  MASTEK
  "Making a valuable difference"
  Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
  In the US, we're called MAJESCO

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~