help! struts in Borland JBuilder8.0

Discussions

Web tier: servlets, JSP, Web frameworks: help! struts in Borland JBuilder8.0

  1. help! struts in Borland JBuilder8.0 (2 messages)

    I'm using struts framework in Borland JBuilder8.0+BEA Weblogic7.0, but I met a problem, that it just didn't invoke the action class from my JSP, no response.

    in JSP, I wrote:

     href="/listCustomer.do"

    in struts-config.xml:

    <path = "/listCustomer.do" type="yinxiao.customerAction" ...

    any help would be appreciated!!
  2. Which version of struts.jar are you using ? If it is the latest version, it calls

    public ActionForward execute(ActionMapping mapping,
                                   ActionForm form,
                                   HttpServletRequest request,
                                   HttpServletResponse response)

    and not perform(..) as earlier.

    Hope this helps.
  3. remove the .do at the end of your path