[seam-issues] [JBoss JIRA] Commented: (SEAMREST-49) String response not rendered by @ResponseTemplate

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Aug 23 06:24:17 EDT 2011


    [ https://issues.jboss.org/browse/SEAMREST-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623404#comment-12623404 ] 

Jozef Hartinger commented on SEAMREST-49:
-----------------------------------------

Caused by a bug in RESTEasy. Works fine with GlassFish.

> String response not rendered by @ResponseTemplate
> -------------------------------------------------
>
>                 Key: SEAMREST-49
>                 URL: https://issues.jboss.org/browse/SEAMREST-49
>             Project: Seam REST
>          Issue Type: Bug
>          Components: Templating
>    Affects Versions: 3.0.0.Final
>            Reporter: Jozef Hartinger
>            Assignee: Jozef Hartinger
>
> {code:JAVA}
>     @Path("string")
>     @GET
>     @Produces("text/plain")
>     @ResponseTemplate("/string.ftl")
>     public String string()
>     {
>         return "Jozef";
>     }
> {code}
> won't be rendered. "Jozef" is returned instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list