[jboss-jira] [JBoss JIRA] Commented: (JBAS-6442) Response truncated in the presence of special character
Changalasetti Nagakiran (JIRA)
jira-events at lists.jboss.org
Mon Jul 13 08:12:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476002#action_12476002 ]
Changalasetti Nagakiran commented on JBAS-6442:
-----------------------------------------------
Hi, we have similear kind of issues happening with our application.
Currently our application is running on Oracle 10G server and planning to migrate to Jboss. In our JBOSS development envornment many pages were truncated bacause of special characters.
when can we expect fix for this issue. or could you please provide us some alternative solution.
Thanks.
-NK
> Response truncated in the presence of special character
> -------------------------------------------------------
>
> Key: JBAS-6442
> URL: https://jira.jboss.org/jira/browse/JBAS-6442
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-5.0.0.GA
> Environment: Windows XP, JDK 1.6.0_11
> Reporter: Juan Manuel Medina Apodaca
> Assignee: Remy Maucherat
> Attachments: SpecialCharacter.txt
>
>
> When a servlet puts a session attribute containing a collection of strings, one of the strings contains a special character (for example: ...) and this string is displayed in a JSP, the resulting page is truncated before the special character.
> For example, in a servlet:
> ArrayList optionList = new ArrayList();
> ...
> optionList.add("Any string 1");
> optionList.add("Any string 2");
> optionList.add("Any string 3");
> optionList.add("Any string 4");
> optionList.add("A string with ... character");
> optionList.add("Any string 6");
> optionList.add("Any string 7");
> optionList.add("Any string 8");
> ...
> request.getSession(false).setAttribute("myList", optionList);
> In the JSP:
> <c:forEach var="currentOption" items="${myList}">
> ${currentOption}
> </c:forEach>
> The resulting page gets truncated before the 5th line.
> In JBoss 4.0.0 the page shows complete, with a ? sign in the place of the special character.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list