After much sweat and tears I've finally been able to get web.xml to load 
properly in tomcat, however I'm having a bit of issues actually starting the 
Web app. What I've got is the very bare bones of a wicket application. Just a 
class extending WebApplication, and StartPage.java/html. Startpage.html only 
prints "Hello", so the wicket code itself ought to be clean, had much more 
complicated wickets with the embedded Jetty plugin.

They belong to the package no.unique.ansatt.presentation, my web.xml looks as 
follows: 

<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
        xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
        version="2.4">
        <display-name>Ansatt</display-name>
        <filter>
                <filter-name>WicketFilter</filter-name>
                
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
                <init-param>
                        <param-name>applicationClassName</param-name>
                        
<param-value>no.unique.ansatt.presentation.StartPage</param-value>
                </init-param>
        </filter>
        <filter-mapping>
                <filter-name>
                        <filter-name>WicketFilter</filter-name>
                        <url-pattern>/ansatt/*</url-pattern>
                </filter-name>
        </filter-mapping>
</web-app>

Now, the problem is where should I build the output? I've tried pretty much all 
the combinations I can think of, and currently it's built to:
- ansatt/target/WEB-INF/web.xml
- ansatt/target/WEB-INF/classes/no/unique/ansatt

Here's my ansatt.xml in $CATALINA/localhost


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to