Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Rep Power

    Default How to use reset() method in struts

    Dear Experts,

    My application is based on struts.I am using jsp page as view.When i am submitting the jsp page to business logic and returning to the same submitted jsp page the values that are entered into the jsp page previously was retained. I want to clear the form with out any values.please advice

  2. #2
    anilonwebs is offline Member
    Join Date
    Nov 2008
    Rep Power


    hi a am anil,
    just use this tag in your jsp file-
    and use a reset method in your form bean class -
    public void reset(ActionMapping mapping, HttpServletRequest request){
    .....variables_name = null;

Similar Threads

  1. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 06:33 AM
  2. Indentation Size Reset While Coding JavaFX
    By JDCAce in forum NetBeans
    Replies: 0
    Last Post: 10-06-2008, 10:28 PM
  3. <html:reset> button in struts
    By Satheeshhere in forum Web Frameworks
    Replies: 1
    Last Post: 07-15-2008, 04:14 PM
  4. in struts reset was problem
    By sureshBabu in forum Web Frameworks
    Replies: 1
    Last Post: 05-07-2008, 04:26 PM
  5. reset query
    By dd_verni in forum JDBC
    Replies: 0
    Last Post: 11-21-2007, 04:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts