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!!
Probably you don't need the ".do" on the path attribute. Those are only provided to the web server to help it figure out how to map the incoming requests to a servlet for processing. There are two kinds of places with path attributes: <action> and <forward> XML entities. For actions you don't put .do in the name, for forwards you need to. Confusing, but there is a reason. For the action, it is the value after the .do was stripped off by the container. For the forward, it is the literal value that will be embedded in a request, so the .do needs to be there for the container.