Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2784

Do Rest support namespace?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1.2
    • None
    • Plugin - REST
    • None
    • Struts 2.1.2 with REST Spring SiteMesh Plugin

    Description

      I have set up my Controller with

      @Namespace("forum")
      @Results(

      { @Result(name = "success", type = ServletActionRedirectResult.class, value = "topics") }

      )
      public class TopicsController implements ModelDriven<Object> {

      There is a No Such Action Error with url
      http://localhost:8080/forum/topics http://localhost:8080/topics

      My Question is How Can I organize the page file into different folders?
      I don't want to put all of the topics-index.ftl post-index.ftl into my root.

      I cannot get any solution from the wiki nor the example.

      Thanks a lot..

      Attachments

        Activity

          People

            Unassigned Unassigned
            lazing Ryan X.Wong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: