Re: [solved] Prettyfaces in GAE environment

Splash Forums PrettyFaces Users [solved] Prettyfaces in GAE environment Re: [solved] Prettyfaces in GAE environment

#20057

Hey Edgar,

There may be a few things wrong. Based on your current config, I’d expect you to get a 404 error when you try to access “/”.

First, remove the rewrite rules from the pretty-config… they will likely break your unmapped pages since they are just examples. (They need to be removed from the docs.)

Second, your url-mapping needs to match your Faces-Servlet mapping:

<url-mapping id="home">
<pattern value="/" />
<view-id>/index.faces</view-id>
</url-mapping>

Notice the ‘/’ in front of index.faces (the path must begin at the context). If that still doesn’t work, I’ll need to see

Let me know if this helps.

–Lincoln