[ 
http://www.stripesframework.org/jira/browse/STS-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12360#comment-12360
 ] 

Tim Levett commented on STS-834:
--------------------------------

I've figured out the work around.

Add :
{code}
<%@page contentType="text/html" pageEncoding="UTF-8"%>
{code}

to each layout JSP.  DON'T add it to child pages that use the layouts, this 
will break it.

The main issue is when you include a JSP to a layout that has the pageEncoding 
defined you don't remove it and its wrong to change the pageEncoding 1/2 way 
through a page.  

However, if you add a child page via <JSP:INCLUDE> it works as expected even if 
you define a pageEncoding in the child page.

Solution:

Check to see if child JSP has a pageEncoding, if so then remove it in the tag?

> CLONE - Stripes Layouts not working in Weblogic 10.3.3.0
> --------------------------------------------------------
>
>                 Key: STS-834
>                 URL: http://www.stripesframework.org/jira/browse/STS-834
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.5.4, Release 1.5.5, Release 1.5.6
>         Environment: Tested on Windows XP and RHEL.
> Oracle Weblogic 10.3.3.0.
> Tried from Stripes 1.5.3 to 1.5.6
>            Reporter: Sander Theetaert
>            Assignee: Timothy Stone
>              Labels: layout, weblogic
>             Fix For: Release 1.5.4, Release 1.5.5, Release 1.5.6, Release 
> 1.5.7
>
>
> Stripes layout capabilities are unable to render correctly a layout in Oracle 
> Weblogic.
> A simple test case has been tested in Weblogic under Windows and RHEL, both 
> in WL 10.3.3.0 version, and in Glassfish.
> It works perfectly in Glassfish, but won't work in WL. Seems that the problem 
> is the call to pageContext.include, which Stripes makes, and doesn't result 
> in the target JSP being included in the result.
> I'm attaching the test jsp files. When accessing test.jsp it prints "Hello" 
> on the screen, but doesn't print the "Default text", neither the "I'm here!" 
> strings.
> Both jsp are stored in the root of the WAR file being uploaded to the 
> container.

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

        

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to