This content has been marked as final.
Show 2 replies
-
1. Re: More About SEO
pmuir Oct 29, 2007 5:21 AM (in response to emiperez)"emiperez" wrote:
1.- When you type http://localhost:8080/myapp it redirects to http://localhost:8080/myapp/home.seam .What would be the best way to configure the application to, when you type the root name of the application it just would execute home.seam (a kind of mapping / -> home.seam) without any redirect?
Not possible in Tomcat (and JBoss AS) afaik.2.- Everytime you click on "Home" link, it creates a new value for the cid parameter. What is that parameter for? What happens if you try to avoid it?
It's the conversation id, you can read more about it in the reference manual.3.- As I said before, I would like my Blog to be multilingual, so the Locale code would be in the URL of each page (eg http://localhost:8080/myapp/en/seam-seo ) so, the link to change the language should not be an action instead of a simple link. How could I do it?
I would use urlrewrite I think (e.g. see the wiki example). -
2. Re: More About SEO
fhh Oct 29, 2007 6:03 AM (in response to emiperez)1.)
Create a file index.seam with the following content:<%-- Please DO NOT delete this file. This file is used to trick tomcat to detect index.seam as the welcome file and will load index.xhtml instead. --%>
Add to web.xml:<welcome-file-list> <welcome-file>index.jsf</welcome-file> </welcome-file-list>
Regards
Felix