Results 1 to 3 of 3

Thread: When I submit the JSP page it is not going to servlet

  1. #1
    Geek_Guest
    Guest

    When I submit the JSP page it is not going to servlet

    I have a JSP page and in action I have given and in my struts-config i have mapped it as But when i submit the page it is not going to the servlet itself. I am thinking it is not going to struts-config itself. I don't no why?

    Question asked by visitor Anita


  2. #2
    Junior Member
    Join Date
    Jun 2007
    Answers
    20

    Re: When I submit the JSP page it is not going to servlet

    You first check your JSP that whether you have given the action path in your JSP or not eg. login.do in your JSP.Then check in your struts config also same path with same case of the alphabets & mappings etc. I hope then you will be able to go to Servlet.


  3. #3
    Junior Member
    Join Date
    Aug 2008
    Answers
    15

    Re: When I submit the JSP page it is not going to servlet

    Hi,

    1. check jsp page action path name like login.do.which is same as class path.
    2. check web.xml for mapping of ActionServlet with *.do. and servlet-class tag with org.apache.struts.action.ActionServlet.
    3. check struts_config.xml file for mapping of Action class path. and class type attribute.i.e class name.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact