Commits

rainerh  committed d48aef5

Wrong end index used when pick path info from the request URI in RequestUtils.getServletPath(request).
o added a javadoc note in RestfulActionMapper, that it can not be used with the deprecated ServletDispatcher
-> The RestfulActionMapper is not supported if you use the (deprecated) ServletDispatcher!
Issue number: WW-1274

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2679573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 2cf2a77

Comments (0)

Files changed (1)

File src/java/com/opensymphony/webwork/dispatcher/mapper/RestfulActionMapper.java

  * <p/>
  * Your action just needs a setArticleId() method, and requests such as /article/1, /article/2, etc will all map
  * to that URL pattern.
+ * <p/>
+ * <b>Note: The RestfulActionMapper is not supported if you use the (deprecated) ServletDispatcher!</b>
  *
  * @author <a href="mailto:cameron@datacodex.net">Cameron Braid</a>
  * @author <a href="mailto:jerome.bernard@xtremejava.com">Jerome Bernard</a>