Details
Description
find file properly, unless the file attribute indicates a location from root.
Also, in this case, we have to add another servlet mapping like:
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>/test/xmlhttp/*</url-pattern>
</servlet-mapping>
to make default css image/style gets loaded.
-
Hide
- ice1.6_jira_694.war
- 5.05 MB
- Mandeep Hayher
-
- META-INF/MANIFEST.MF 0.1 kB
- WEB-INF/classes/.../tutorial/greeting.class 0.8 kB
- WEB-INF/classes/.../tutorial/greeting.java 0.6 kB
- WEB-INF/classes/.../tutorial/showName.class 2 kB
- WEB-INF/classes/.../tutorial/showName.java 2 kB
- WEB-INF/faces-config.xml 0.5 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/commons-collections.jar 546 kB
- WEB-INF/lib/commons-digester.jar 107 kB
- WEB-INF/lib/commons-discovery.jar 70 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 37 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/icefaces-comps.jar 617 kB
- WEB-INF/lib/icefaces-facelets.jar 574 kB
- WEB-INF/lib/icefaces.jar 650 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/xercesImpl.jar 987 kB
- WEB-INF/lib/xml-apis.jar 122 kB
- images/Thumbs.db 18 kB
- index.jsp 0.1 kB
- sub1/sub2/sub3/sub4/welcomepage.jspx 0.9 kB
- sub1/sub2/welcome.jspx 0.8 kB
- WEB-INF/web.xml 2 kB
-
Hide
- ice1.6-jira694.zip
- 5.05 MB
- Mandeep Hayher
-
- ice1.6-jira694/build.xml 0.4 kB
- ice1.6-jira694/src/.../greeting.java 0.6 kB
- ice1.6-jira694/src/.../showName.java 2 kB
- ice1.6-jira694/web/images/Thumbs.db 18 kB
- ice1.6-jira694/web/index.jsp 0.1 kB
- ice1.6-jira694/web/.../sub4/welcomepage.jspx 0.9 kB
- ice1.6-jira694/web/.../sub2/welcome.jspx 0.8 kB
- ice1.6-jira694/web/.../greeting.class 0.8 kB
- ice1.6-jira694/web/.../greeting.java 0.6 kB
- ice1.6-jira694/web/.../showName.class 2 kB
- ice1.6-jira694/web/.../showName.java 2 kB
- ice1.6-jira694/web/.../faces-config.xml 0.5 kB
- ice1.6-jira694/.../backport-util-concurrent.jar 343 kB
- ice1.6-jira694/web/.../commons-beanutils.jar 184 kB
- ice1.6-jira694/.../commons-collections.jar 546 kB
- ice1.6-jira694/web/.../commons-digester.jar 107 kB
- ice1.6-jira694/web/.../commons-discovery.jar 70 kB
- ice1.6-jira694/web/.../lib/commons-el.jar 110 kB
- ice1.6-jira694/.../commons-fileupload.jar 52 kB
- ice1.6-jira694/web/.../commons-logging.jar 37 kB
- ice1.6-jira694/web/.../lib/el-api.jar 24 kB
- ice1.6-jira694/web/WEB-INF/lib/el-ri.jar 97 kB
- ice1.6-jira694/web/.../icefaces-comps.jar 617 kB
- ice1.6-jira694/web/.../icefaces-facelets.jar 574 kB
- ice1.6-jira694/web/.../lib/icefaces.jar 650 kB
- ice1.6-jira694/web/.../lib/jsf-api.jar 356 kB
- ice1.6-jira694/web/.../lib/jsf-impl.jar 778 kB
- ice1.6-jira694/web/WEB-INF/lib/jstl.jar 17 kB
- ice1.6-jira694/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- ice1.6-jira694/web/.../lib/xercesImpl.jar 987 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Assigning to Ken to assign to QA to create a simple test case.
Mandeep, please create a simple test case for this and test using ICEfaces 1.5.3, and also 1.6 DR#3.
Problem continues to exist on ICEFaces 1.5.3 & 1.6 DR#3.
The files of interest have following location in "ice1.6-jira694" application:
ice1.6-jira694\web\index.jsp
ice1.6-jira694\web\sub1\sub2\welcome.jspx
ice1.6-jira694\web\sub1\sub2\sub3\sub4\welcomepage.jspx
index.jsp forwards to welcome.jspx
welcome.jspx includes welcomepage.jspx
Please find the source code and war file in attachment.
If the file is a relative path
<jsp:directive.include file="sub3/sub4/welcomepage.jspx"/>
JspPageToDocument will prepend the RequestServletPath. Initial testing shows that this allows the page to be parsed, but ICEfaces resources are not correctly loaded;
<script language="javascript" src="../../xmlhttp/1180481388195/ice-extras.js"></script>
is resolving to
Marking this bug as resolved; the JSP inclusion processing has been fixed and tested.
However, the specific test case with this bug makes use of jsp:forward to a page in a subfolder:
<jsp:forward page="/sub1/sub2/welcome.iface"/>
This hides the actual path from ICEfaces, causing problems with resource resolving. ICEfaces thinks the path to the page is
/webapp//sub1/sub2/welcome.iface
but the browser sees only /webapp/, hence the relative URL
../../xmlhttp/1180565170608/icefaces-d2d.js
does not resolve correctly.
If the test case is invoked with
http://localhost:8080/ice1.6_jira_694/sub1/sub2/welcome.iface
however, it now works correctly.
A separate JIRA will be created for the forwarding issue.
Issue need not be marked private.
Target v1.1.