hrm, not sure.
standalone (from facesgoodies) it works ? -Matthias On 9/14/07, Wolfgang <[EMAIL PROTECTED]> wrote: > Hi Matthias, > > I have added my stuff to your pom.xml, but I got still the same Error. > I use Java 5. > > here is my new pom.xml, but I guess it should be fine: > > ******* POM.XML****************** > <?xml version="1.0" encoding="UTF-8"?> > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > > <parent> > <groupId>uk.ac.ebi.faces</groupId> > <artifactId>ebifaces-master</artifactId> > <version>1.2-SNAPSHOT</version> > </parent> > > <modelVersion>4.0.0</modelVersion> > <artifactId>demo-webapp</artifactId> > <packaging>war</packaging> > <version>1.2-SNAPSHOT</version> > <name>EBI Faces :: Demo Webapp</name> > > <build> > <pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > </plugins> > </pluginManagement> > <finalName>ebifaces-master</finalName> > <plugins> > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.1.2rc0</version> > <configuration> > <connectors> > <connector > implementation="org.mortbay.jetty.nio.SelectChannelConnector"> > <port>9898</port> > <maxIdleTime>60000</maxIdleTime> > </connector> > </connectors> > <scanIntervalSeconds>10</scanIntervalSeconds> > <contextPath>${build.finalName}</contextPath> > </configuration> > </plugin> > </plugins> > </build> > > <repositories> > > <!-- EBI repositories --> > <repository> > <id>ebi-repo</id> > <name>The EBI internal repository</name> > <url>http://www.ebi.ac.uk/~maven/m2repo</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > <repository> > <id>ebi-repo-snapshots</id> > <name>The EBI internal repository</name> > <url>http://www.ebi.ac.uk/~maven/m2repo_snapshots</url> > <releases> > <enabled>false</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > </repository> > > <repository> > <snapshots> > <enabled>false</enabled> > </snapshots> > <id>java-net</id> > <name>java.net repository</name> > <!-- NOTE: this URL must be HTTPS. However, unfortunately this > doesn't work behind a firewall. See: > http://jira.codehaus.org/browse/WAGONHTTP-6 > ... for the source of that problem. Users behind firewalls > will have to manually download the files from this > repository > and transfer them to their local repository. > --> > > <url>https://maven-repository.dev.java.net/nonav/repository/</url> > <layout>legacy</layout> > </repository> > > <repository> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > <id>apache-maven-snapshots</id> > <url>http://people.apache.org/repo/m2-snapshot-repository</url> > </repository> > </repositories> > > > <pluginRepositories> > <!-- Repository to get the jetty plugin --> > <pluginRepository> > <id>mortbay-repo</id> > <name>mortbay-repo</name> > <url>http://www.mortbay.org/maven2/snapshot</url> > </pluginRepository> > </pluginRepositories> > > <!-- Project dependencies --> > <dependencies> > > <!-- EBI dependencies --> > <dependency> > <groupId>uk.ac.ebi.enfin.core.web.services.utils</groupId> > <artifactId>enfin-webservice-utils</artifactId> > <!--<version>1.1.2</version>--> > <version>SNAPSHOT</version> > </dependency> > > <dependency> > <groupId>uk.ac.ebi.enfin.core.clients</groupId> > <artifactId>envision2-client1</artifactId> > <version>SNAPSHOT</version> > </dependency> > > <dependency> > <groupId>net.java.dev.ajax4jsf</groupId> > <artifactId>ajax4jsf</artifactId> > <version>1.0.6</version> > </dependency> > > <dependency> > <groupId>${groupId}</groupId> > <artifactId>ebifaces-core</artifactId> > <version>${version}</version> > </dependency> > > <dependency> > <groupId>uk.ac.ebi.faces.renderkit</groupId> > <artifactId>ebi-basic</artifactId> > <version>1.0</version> > </dependency> > <dependency> > <groupId>uk.ac.ebi.faces.ext</groupId> > <artifactId>tomahawk-facelets</artifactId> > <version>1.0</version> > </dependency> > <!-- End of EBI Dependencies --> > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring</artifactId> > <version>2.0.3</version> > </dependency> > > <dependency> > <groupId>com.sun.facelets</groupId> > <artifactId>jsf-facelets</artifactId> > <version>1.1.11</version> > </dependency> > > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-api</artifactId> > <version>1.2.0</version> > <scope>compile</scope> > </dependency> > > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-impl</artifactId> > <version>1.2.0</version> > <scope>compile</scope> > </dependency> > <!-- > <dependency> > <groupId>javax.faces</groupId> > <artifactId>jsf-api</artifactId> > <version>1.2_04</version> > <scope>compile</scope> > </dependency> > > <dependency> > <groupId>javax.faces</groupId> > <artifactId>jsf-impl</artifactId> > <version>1.2_04</version> > <scope>compile</scope> > </dependency> > --> > > > <!-- Apache Trinidad --> > <dependency> > <groupId>org.apache.myfaces.trinidad</groupId> > <artifactId>trinidad-api</artifactId> > <version>1.2.1</version> > <scope>compile</scope> > </dependency> > > <dependency> > <groupId>org.apache.myfaces.trinidad</groupId> > <artifactId>trinidad-impl</artifactId> > <version>1.2.1</version> > <scope>compile</scope> > </dependency> > > <dependency> > <groupId>hsqldb</groupId> > <artifactId>hsqldb</artifactId> > <version>1.8.0.7</version> > </dependency> > > <!-- TopLink dependencies --> > <dependency> > <groupId>javax.persistence</groupId> > <artifactId>toplink-essentials</artifactId> > <version>1.0</version> > </dependency> > > > </dependencies> > </project> > > > one more, not related. > > > > no need for this: > > > > <dependency> > > <groupId>org.apache.myfaces.trinidad</groupId> > > <artifactId>trinidad-build</artifactId> > > <version>1.2.2</version> > > </dependency> > > > > here is a "Trinidad 1.2.x + Jetty" POM: > > http://facesgoodies.googlecode.com/svn/trunk/pom.xml > > > > Just remove 'Shale and add yours. > > > > -Matthias > > > > On 9/14/07, Wolfgang <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> I used the trinidad version 1.0.2 and it works more or less fine. > >> But then I decided to update trinidad to the current version, which is > >> 1.2.2 and also JSF to 1.2 and MyFaces to 1.2. I have updated JSF and > >> MyFaces > >> because after updating trinidad I got lot's of errors. > >> I have found a thread that exactly matches my error and there is written > >> one should use the newest version of JSF and MyFaces. > >> But now I got a new error, which I can't get rid of. So I updated also > >> jetty > >> to the newest Version of 6.1.5 but I got excatly the same Error. > >> > >> Furthermore I checked that I have no duplicated Libraries, because > >> in one thread, having a similar error, was written to do this. > >> > >> So now I have no more ideas, how to get rid of this error. > >> Can anyone give me a hint? > >> > >> I added my Pom.xml and my web.xml, but I'm pretty sure having the right > >> libraries and everything i need. > >> > >> Cheers Wolfgang! > >> > >> > >> > >> ***** JETTY ERROR ***************** > >> > >> failed > >> [EMAIL PROTECTED]/demo-webapp,/Users/Wolfgang/Documents/Studium/2. > >> Praxissemester/workspace/demo-webapp/src/main/webapp} > >> java.lang.LinkageError: Class javax/el/ExpressionFactory violates loader > >> constraints > >> at java.lang.ClassLoader.defineClass1(Native Method) > >> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > >> > >> . > >> . > >> . > >> > >> 2007-09-14 10:49:27.417::WARN: failed [EMAIL PROTECTED] > >> java.lang.LinkageError: Class javax/el/ExpressionFactory violates loader > >> constraints > >> at java.lang.ClassLoader.defineClass1(Native Method) > >> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > >> . > >> . > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> 2007-09-14 10:49:27.438::INFO: Started [EMAIL PROTECTED]:9898 > >> [INFO] Started Jetty Server > >> [INFO] Starting scanner at interval of 10 seconds. > >> > >> > >> ********** POM.XML ********************************** > >> > >> <project xmlns="http://maven.apache.org/POM/4.0.0" > >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > >> http://maven.apache.org/maven-v4_0_0.xsd"> > >> > >> <parent> > >> <groupId>uk.ac.ebi.faces</groupId> > >> <artifactId>ebifaces-master</artifactId> > >> <version>1.2-SNAPSHOT</version> > >> </parent> > >> > >> <modelVersion>4.0.0</modelVersion> > >> <artifactId>demo-webapp</artifactId> > >> <packaging>war</packaging> > >> <version>1.2-SNAPSHOT</version> > >> <name>EBI Faces :: Demo Webapp</name> > >> > >> <properties> > >> <jetty.port>9898</jetty.port> > >> </properties> > >> > >> <build> > >> <finalName>${artifactId}</finalName> > >> <plugins> > >> <plugin> > >> <groupId>org.mortbay.jetty</groupId> > >> <artifactId>maven-jetty-plugin</artifactId> > >> <version>6.1.5</version> > >> <configuration> > >> <connectors> > >> <connector > >> implementation="org.mortbay.jetty.nio.SelectChannelConnector"> > >> <port>${jetty.port}</port> > >> </connector> > >> </connectors> > >> <scanIntervalSeconds>10</scanIntervalSeconds> > >> <contextPath>${build.finalName}</contextPath> > >> </configuration> > >> </plugin> > >> </plugins> > >> </build> > >> > >> <repositories> > >> <repository> > >> <id>maven repository</id> > >> <name>Maven central repository</name> > >> > >> <url>https://maven-repository.dev.java.net/nonav/repository</url> > >> <layout>legacy</layout> > >> <releases> > >> <enabled>true</enabled> > >> </releases> > >> <snapshots> > >> <enabled>true</enabled> > >> </snapshots> > >> </repository> > >> <!-- EBI repositories --> > >> <repository> > >> <id>ebi-repo</id> > >> <name>The EBI internal repository</name> > >> <url>http://www.ebi.ac.uk/~maven/m2repo</url> > >> <releases> > >> <enabled>true</enabled> > >> </releases> > >> <snapshots> > >> <enabled>false</enabled> > >> </snapshots> > >> </repository> > >> <repository> > >> <id>ebi-repo-snapshots</id> > >> <name>The EBI internal repository</name> > >> <url>http://www.ebi.ac.uk/~maven/m2repo_snapshots</url> > >> <releases> > >> <enabled>false</enabled> > >> </releases> > >> <snapshots> > >> <enabled>true</enabled> > >> </snapshots> > >> </repository> > >> </repositories> > >> > >> <dependencies> > >> > >> <dependency> > >> <groupId>uk.ac.ebi.enfin.core.web.services.utils</groupId> > >> <artifactId>enfin-webservice-utils</artifactId> > >> <!--<version>1.1.2</version>--> > >> <version>SNAPSHOT</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>uk.ac.ebi.enfin.core.clients</groupId> > >> <artifactId>envision2-client1</artifactId> > >> <version>SNAPSHOT</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>net.java.dev.ajax4jsf</groupId> > >> <artifactId>ajax4jsf</artifactId> > >> <version>1.0.6</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>${groupId}</groupId> > >> <artifactId>ebifaces-core</artifactId> > >> <version>${version}</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>uk.ac.ebi.faces.renderkit</groupId> > >> <artifactId>ebi-basic</artifactId> > >> <version>1.0</version> > >> </dependency> > >> <dependency> > >> <groupId>uk.ac.ebi.faces.ext</groupId> > >> <artifactId>tomahawk-facelets</artifactId> > >> <version>1.0</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>org.apache.myfaces.core</groupId> > >> <artifactId>myfaces-api</artifactId> > >> <version>1.2.0</version> > >> </dependency> > >> <dependency> > >> <groupId>org.apache.myfaces.core</groupId> > >> <artifactId>myfaces-impl</artifactId> > >> <version>1.2.0</version> > >> </dependency> > >> <dependency> > >> <groupId>org.apache.myfaces.tomahawk</groupId> > >> <artifactId>tomahawk</artifactId> > >> </dependency> > >> <dependency> > >> <groupId>org.apache.myfaces.tomahawk</groupId> > >> <artifactId>tomahawk-sandbox</artifactId> > >> </dependency> > >> > >> <!-- Apache Trinidad components --> > >> <dependency> > >> <groupId>org.apache.myfaces.trinidad</groupId> > >> <artifactId>trinidad-build</artifactId> > >> <version>1.2.2</version> > >> </dependency> > >> > >> > >> <dependency> > >> <groupId>org.apache.myfaces.trinidad</groupId> > >> <artifactId>trinidad-api</artifactId> > >> <version>1.2.2</version> > >> <scope>compile</scope> > >> </dependency> > >> > >> <dependency> > >> <groupId>org.apache.myfaces.trinidad</groupId> > >> <artifactId>trinidad-impl</artifactId> > >> <version>1.2.2</version> > >> <scope>compile</scope> > >> </dependency> > >> > >> <dependency> > >> <groupId>com.sun.facelets</groupId> > >> <artifactId>jsf-facelets</artifactId> > >> </dependency> > >> > >> <dependency> > >> <groupId>org.apache.geronimo.specs</groupId> > >> <artifactId>geronimo-annotation_1.0_spec</artifactId> > >> <scope>provided</scope> > >> <version>1.0</version> > >> </dependency> > >> > >> <dependency> > >> <groupId>javax.servlet.jsp.jstl</groupId> > >> <artifactId>jstl</artifactId> > >> </dependency> > >> <dependency> > >> <groupId>taglibs</groupId> > >> <artifactId>standard</artifactId> > >> </dependency> > >> </dependencies> > >> > >> </project> > >> > >> > >> > >> > >> ********** WEB.XML ********************************** > >> > >> <?xml version="1.0"?> > >> > >> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" > >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > >> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > >> version="2.4"> > >> > >> <description>Demo webapp</description> > >> > >> <distributable/> > >> > >> <!-- JSF (MyFaces) Params... --> > >> > >> <!-- > >> <context-param> > >> <description>Comma separated list of URIs of (additional) faces > >> config files. > >> (e.g. /WEB-INF/my-config.xml) > >> See JSF 1.0 PRD2, 10.3.2 > >> Attention: You do not need to put /WEB-INF/faces-config.xml > >> in here. > >> </description> > >> <param-name>javax.faces.CONFIG_FILES</param-name> > >> <param-value>/WEB-INF/faces-config.xml</param-value> > >> </context-param> > >> --> > >> > >> > >> <context-param> > >> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> > >> <param-value>.xhtml</param-value> > >> </context-param> > >> > >> <context-param> > >> <description>State saving method: "client" or "server" (= default) > >> See JSF Specification 2.5.3 > >> </description> > >> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> > >> <param-value>server</param-value> > >> </context-param> > >> <context-param> > >> <description>Only applicable if state saving method is "server" > >> (= default). > >> Defines the amount (default = 20) of the latest views are > >> stored in session. > >> </description> > >> > >> <param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name> > >> <param-value>20</param-value> > >> </context-param> > >> <context-param> > >> <description>Only applicable if state saving method is "server" > >> (= default). > >> If true (default) the state will be serialized to a byte > >> stream before it > >> is written to the session. > >> If false the state will not be serialized to a byte stream. > >> </description> > >> > >> <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name> > >> <param-value>true</param-value> > >> </context-param> > >> <context-param> > >> <description>Only applicable if state saving method is "server" > >> (= default) and if > >> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= > >> default) > >> If true (default) the serialized state will be compressed > >> before it > >> is written to the session. If false the state will not be > >> compressed. > >> </description> > >> > >> <param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name> > >> <param-value>true</param-value> > >> </context-param> > >> <context-param> > >> <description>This parameter tells MyFaces if javascript code > >> should be allowed in the > >> rendered HTML output. > >> If javascript is allowed, command_link anchors will have > >> javascript code > >> that submits the corresponding form. > >> If javascript is not allowed, the state saving info and > >> nested parameters > >> will be added as url parameters. > >> Default: "true" > >> </description> > >> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> > >> <param-value>true</param-value> > >> </context-param> > >> <context-param> > >> <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name> > >> <param-value>false</param-value> > >> </context-param> > >> <context-param> > >> <description>If true, rendered HTML code will be formatted, so > >> that it is "human readable". > >> i.e. additional line separators and whitespace will be > >> written, that do not > >> influence the HTML code. > >> Default: "true" > >> </description> > >> <param-name>org.apache.myfaces.PRETTY_HTML</param-name> > >> <param-value>true</param-value> > >> </context-param> > >> <context-param> > >> <description>If true, a javascript function will be rendered > >> that is able to restore the > >> former vertical scroll on every request. Convenient feature > >> if you have pages > >> with long lists and you do not want the browser page to > >> always jump to the top > >> if you trigger a link or button action that stays on the > >> same page. > >> Default: "false" > >> </description> > >> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> > >> <param-value>true</param-value> > >> </context-param> > >> > >> <context-param> > >> <description>Used for encrypting view state. Only relevant for > >> client side > >> state saving. See MyFaces wiki/web site documentation for > >> instructions > >> on how to configure an application for diffenent encryption > >> strengths. > >> </description> > >> <param-name>org.apache.myfaces.SECRET</param-name> > >> <param-value>NzY1NDMyMTA=</param-value> > >> </context-param> > >> > >> <context-param> > >> <description> > >> Validate managed beans, navigation rules and ensure that > >> forms are not nested. > >> </description> > >> <param-name>org.apache.myfaces.VALIDATE</param-name> > >> <param-value>false</param-value> > >> </context-param> > >> > >> <context-param> > >> <description> > >> If true (default) do not process the comments > >> </description> > >> <param-name>facelets.SKIP_COMMENTS</param-name> > >> <param-value>false</param-value> > >> </context-param> > >> > >> > >> <!-- ajax4jsf --> > >> <filter> > >> <display-name>Ajax4jsf Filter</display-name> > >> <filter-name>ajax4jsf</filter-name> > >> <filter-class>org.ajax4jsf.Filter</filter-class> > >> <init-param> > >> <param-name>forceparser</param-name> > >> <param-value>false</param-value> > >> </init-param> > >> </filter> > >> > >> <filter-mapping> > >> <filter-name>ajax4jsf</filter-name> > >> <servlet-name>Faces Servlet</servlet-name> > >> <dispatcher>REQUEST</dispatcher> > >> <dispatcher>FORWARD</dispatcher> > >> <dispatcher>INCLUDE</dispatcher> > >> </filter-mapping> > >> > >> <!-- Extensions Filter --> > >> <filter> > >> <filter-name>extensionsFilter</filter-name> > >> > >> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> > >> <init-param> > >> <description>Set the size limit for uploaded files. > >> Format: 10 - 10 bytes > >> 10k - 10 KB > >> 10m - 10 MB > >> 1g - 1 GB > >> </description> > >> <param-name>uploadMaxFileSize</param-name> > >> <param-value>100m</param-value> > >> </init-param> > >> <init-param> > >> <description>Set the threshold size - files > >> below this limit are stored in memory, files above > >> this limit are stored on disk. > >> > >> Format: 10 - 10 bytes > >> 10k - 10 KB > >> 10m - 10 MB > >> 1g - 1 GB > >> </description> > >> <param-name>uploadThresholdSize</param-name> > >> <param-value>100k</param-value> > >> </init-param> > >> </filter> > >> > >> <filter-mapping> > >> <filter-name>extensionsFilter</filter-name> > >> <url-pattern>*.jsf</url-pattern> > >> </filter-mapping> > >> > >> <filter-mapping> > >> <filter-name>extensionsFilter</filter-name> > >> <url-pattern>/faces/*</url-pattern> > >> </filter-mapping> > >> > >> <!-- Listener, to allow Jetty serving MyFaces apps --> > >> <listener> > >> > >> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> > >> </listener> > >> <!-- Commons Chain Configuration Listener --> > >> > >> <!-- Faces Servlet --> > >> <servlet> > >> <servlet-name>Faces Servlet</servlet-name> > >> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> > >> <load-on-startup>1</load-on-startup> > >> </servlet> > >> > >> <!-- Faces Servlet Mapping --> > >> <servlet-mapping> > >> <servlet-name>Faces Servlet</servlet-name> > >> <url-pattern>*.jsf</url-pattern> > >> </servlet-mapping> > >> > >> <!-- Faces Servlet --> > >> <!--<servlet>--> > >> <!--<servlet-name>faces</servlet-name>--> > >> > >> <!--<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>--> > >> <!--</servlet>--> > >> > >> <!-- Trinidad params --> > >> <context-param> > >> > >> <param-name>org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION</param-name> > >> <param-value>false</param-value> > >> </context-param> > >> > >> <context-param> > >> > >> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> > >> <param-value>com.sun.facelets.FaceletViewHandler</param-value> > >> </context-param> > >> > >> > >> <context-param> > >> > >> <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name> > >> <param-value>false</param-value> > >> </context-param> > >> > >> <context-param> > >> > >> <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name> > >> <param-value>session</param-value> > >> </context-param> > >> > >> > >> <!-- Faces Servlet Mappings --> > >> <servlet-mapping> > >> <servlet-name>Faces Servlet</servlet-name> > >> <url-pattern>/faces/*</url-pattern> > >> </servlet-mapping> > >> > >> <!-- Source code servlet --> > >> <servlet> > >> <servlet-name>SourceCodeServlet</servlet-name> > >> > >> <servlet-class>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet</servlet-class> > >> </servlet> > >> <servlet-mapping> > >> <servlet-name>SourceCodeServlet</servlet-name> > >> <url-pattern>*.source</url-pattern> > >> </servlet-mapping> > >> > >> <!-- Welcome files --> > >> <welcome-file-list> > >> <welcome-file>home.jsp</welcome-file> > >> </welcome-file-list> > >> > >> <!-- Handling of the HTTP error 404 --> > >> <error-page> > >> <error-code>404</error-code> > >> <location>/404_file_not_found.jsf</location> > >> </error-page> > >> > >> </web-app> > >> > >> > >> > > > > > > > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

