File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i insert Reset and Submit buttons in same row in struts2?

 
Udesh Perera
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to insert Submit and Reset button in same row in struts2,I'm using <s:form> tag to my form.i want to add Reset and Submit button in same row.As i know struts tags generate html table.can some one provide me the way to do this,if some one can provide Example regarding this it will very helpful to me.

thanxxxx!!!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
 
Udesh Perera
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanxx for the link!!!
I think i solver the problem without creating new template
<s:form action="add" method="post" theme="xhtml">
<s:textfield name="uname" label="User Name"/>
<s:password name="pwrd" label="Password"/>
<tr><td>
<s:reset value="Reset" theme="simple"/>
</td>
<td>
<:submit name="submit" theme="simple"/>
</td>
</tr>

any sugestion or problems pleas let me know!!
thankxx!!!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic