You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ryan Wong (JIRA)" <ji...@apache.org> on 2008/08/25 04:22:24 UTC
[jira] Created: (WW-2784) Do Rest support namespace?
Do Rest support namespace?
--------------------------
Key: WW-2784
URL: https://issues.apache.org/struts/browse/WW-2784
Project: Struts 2
Issue Type: Bug
Components: Plugin - REST
Affects Versions: 2.1.2
Environment: Struts 2.1.2 with REST Spring SiteMesh Plugin
Reporter: Ryan Wong
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..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WW-2784) Do Rest support namespace?
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton closed WW-2784.
---------------------------
Resolution: Not A Problem
Please ask questions on the struts-user mailing list:
http://struts.apache.org/mail.html
The issue tracker is for tracking bugs in Struts itself.
In general, namespaces have leading "/".
> Do Rest support namespace?
> --------------------------
>
> Key: WW-2784
> URL: https://issues.apache.org/struts/browse/WW-2784
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - REST
> Affects Versions: 2.1.2
> Environment: Struts 2.1.2 with REST Spring SiteMesh Plugin
> Reporter: Ryan Wong
>
> 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..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2784) Do Rest support namespace?
Posted by "Ryan Wong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44606#action_44606 ]
Ryan Wong commented on WW-2784:
-------------------------------
Thanks, Dave..
I am sorry post on the wrong place....
--
Lazing@gmail.com
www.ave7.net
> Do Rest support namespace?
> --------------------------
>
> Key: WW-2784
> URL: https://issues.apache.org/struts/browse/WW-2784
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - REST
> Affects Versions: 2.1.2
> Environment: Struts 2.1.2 with REST Spring SiteMesh Plugin
> Reporter: Ryan Wong
>
> 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..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.