You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Eric Lentz (Created) (JIRA)" <ji...@apache.org> on 2012/04/10 18:41:17 UTC
[jira] [Created] (WW-3795) PlainText result type requires different
JSP path than other types
PlainText result type requires different JSP path than other types
------------------------------------------------------------------
Key: WW-3795
URL: https://issues.apache.org/jira/browse/WW-3795
Project: Struts 2
Issue Type: Improvement
Components: Core Actions
Affects Versions: 2.2.1
Environment: JBoss 5.1.0 GA community edition
JDK 1.5.0_22
Reporter: Eric Lentz
Priority: Trivial
In other result types jsp/myjsp.jsp works. In plainText, /jsp/myjsp.jsp (non-relative) works, but jsp/myjsp.jsp (relative) does not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WW-3795) PlainText result type requires
different JSP path than other types
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250951#comment-13250951 ]
Hudson commented on WW-3795:
----------------------------
Integrated in Struts2 #450 (See [https://builds.apache.org/job/Struts2/450/])
WW-3795 allows specify location as a relative for result type plainText and add possibility to extend class by overriding protected methods (Revision 1311895)
Result = SUCCESS
lukaszlenart :
Files :
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
* /struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/PlainTextResultTest.java
> PlainText result type requires different JSP path than other types
> ------------------------------------------------------------------
>
> Key: WW-3795
> URL: https://issues.apache.org/jira/browse/WW-3795
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.2.1
> Environment: JBoss 5.1.0 GA community edition
> JDK 1.5.0_22
> Reporter: Eric Lentz
> Assignee: Lukasz Lenart
> Priority: Trivial
> Fix For: 2.3.3
>
>
> In other result types jsp/myjsp.jsp works. In plainText, /jsp/myjsp.jsp (non-relative) works, but jsp/myjsp.jsp (relative) does not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WW-3795) PlainText result type requires
different JSP path than other types
Posted by "Lukasz Lenart (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3795.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.3.3
Solved, thanks for reporting!
Also extracted some methods to allow subclassing.
> PlainText result type requires different JSP path than other types
> ------------------------------------------------------------------
>
> Key: WW-3795
> URL: https://issues.apache.org/jira/browse/WW-3795
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.2.1
> Environment: JBoss 5.1.0 GA community edition
> JDK 1.5.0_22
> Reporter: Eric Lentz
> Assignee: Lukasz Lenart
> Priority: Trivial
> Fix For: 2.3.3
>
>
> In other result types jsp/myjsp.jsp works. In plainText, /jsp/myjsp.jsp (non-relative) works, but jsp/myjsp.jsp (relative) does not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (WW-3795) PlainText result type requires
different JSP path than other types
Posted by "Lukasz Lenart (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart reassigned WW-3795:
---------------------------------
Assignee: Lukasz Lenart
> PlainText result type requires different JSP path than other types
> ------------------------------------------------------------------
>
> Key: WW-3795
> URL: https://issues.apache.org/jira/browse/WW-3795
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.2.1
> Environment: JBoss 5.1.0 GA community edition
> JDK 1.5.0_22
> Reporter: Eric Lentz
> Assignee: Lukasz Lenart
> Priority: Trivial
>
> In other result types jsp/myjsp.jsp works. In plainText, /jsp/myjsp.jsp (non-relative) works, but jsp/myjsp.jsp (relative) does not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WW-3795) PlainText result type requires different
JSP path than other types
Posted by "Eric Lentz (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Lentz updated WW-3795:
---------------------------
Issue Type: Bug (was: Improvement)
> PlainText result type requires different JSP path than other types
> ------------------------------------------------------------------
>
> Key: WW-3795
> URL: https://issues.apache.org/jira/browse/WW-3795
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.2.1
> Environment: JBoss 5.1.0 GA community edition
> JDK 1.5.0_22
> Reporter: Eric Lentz
> Priority: Trivial
>
> In other result types jsp/myjsp.jsp works. In plainText, /jsp/myjsp.jsp (non-relative) works, but jsp/myjsp.jsp (relative) does not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira