Re: maven template Myfaces + Trinidad

2009-10-06 Thread Matthias Wessendorf
I think it is using this mapping... servlet-mapping servlet-namefaces/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping -Matthias On Sun, Oct 4, 2009 at 9:11 PM, baeschtu baeschtu baesc...@gmail.com wrote: hello I tried the Myfaces + Trinidad maven template from

Re: maven template Myfaces + Trinidad

2009-10-06 Thread baeschtu baeschtu
tnx, I used the wrong url, it's also written in the faq 3.1. When I run a JSP, I see 'javax.servlet.jsp.JspException: Cannot find FacesContext' You cannot directly point to a JSF JSP file; you either need to add /faces after the servlet context path, or change the suffix (in the URL only) to

maven template Myfaces + Trinidad

2009-10-04 Thread baeschtu baeschtu
hello I tried the Myfaces + Trinidad maven template from http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org with option 5 and got an java.lang.RuntimeException: FacesContext not found when trying to access index.jspx