Re: Problem with images and trailingSlash=append

Splash Forums PrettyFaces Users Problem with images and trailingSlash=append Re: Problem with images and trailingSlash=append

#20633

Lynx6
Participant

I created a basic example of what I’m doing (http://www.mediafire.com/?k85rgqo5azamago), it is strange what is happening, according to the rule when the URL contains the word “imagenes” should not apply.

The code in my index.html is the following:

<?xml version=’1.0′ encoding=’UTF-8′ ?>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

<html xmlns=”http://www.w3.org/1999/xhtml”

xmlns:h=”http://java.sun.com/jsf/html”

xmlns:f=”http://java.sun.com/jsf/core”>

<f:view contentType=”text/html” >

<h:head>

<title>Facelet Title</title>

</h:head>

<h:body>

<img src=”/WebApplication1/resources/imagenes/logo.png” width=”110px” height=”110px” alt=”” />

<h:link value=”Contacto” outcome=”contacto” />

<h:link value=”Productos” outcome=”productos” />

<h:outputLink value=”/WebApplication1/dos.xhtml” >Productos</h:outputLink>

</h:body>

</f:view>

</html>

My pretty-config.xml has the same rule.

In the project I uploaded are all the files, I used to run:

Netbeans 6.9.1

JDK 6 update 23

Glassfish 3.0.1