Hi !

I've just finished changing the libraries and fixing the code, the
application is small and not even finished. Now it won't run, Tomcat gives
me this error:

HTTP 404 - Servlet MyApplication is not available

My working web.xml was:

    <servlet>
        <servlet-name>MyApplication</servlet-name>
        <servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
        <init-param>
            <param-name>applicationClassName</param-name>
            <param-value>com.myapp.pages.MyApplication</param-value>
        </init-param>
        <load-on-startup>2</load-on-startup>
    </servlet>
        <servlet-mapping>
        <servlet-name>MyApplication</servlet-name>
        <url-pattern>/wicket/*</url-pattern>
    </servlet-mapping>

Now I changed this to the new packages in 1.3:

   
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>

    I've seen in the wiki that now it's recommended to use Filters instead
of Servlets, but Servlet support is still ok. I've already tried with
variations in the url-pattern.

Any hints ??

Thanks,

Daniel

-- 
View this message in context: 
http://www.nabble.com/Problem-in-servlet-configuration%2C-migrating-1.2.6-to-1.3-tf4805722.html#a13748584
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to