You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <th...@gmail.com> on 2012/03/02 16:05:18 UTC
web.xml for Spring & Wicket 1.5
I'm not sure the example web.xml here is complete - https://cwiki.apache.org/WICKET/spring.html
There is no filter mapping so there is no request get sent to the wicket servlet.
I've always used the the wicket filter and a filter mapping so I need to figure out how to do the same with a servlet.
Douglas
RE: web.xml for Spring & Wicket 1.5
Posted by Sergej Sizov <se...@wincor-nixdorf.cz>.
Hi,
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:context.xml</param-value>
</context-param>
<servlet>
<servlet-name>wicket</servlet-name>
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
<init-param>
<param-name>applicationFactoryClassName</param-name>
<param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-val
ue>
</init-param>
<init-param>
<param-name>applicationBean</param-name>
<param-value>wicketApplication</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>wicket</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</liste
ner-class>
</listener>
Sergej
-----Original Message-----
From: Douglas Ferguson [mailto:thedug@gmail.com]
Sent: Friday, March 02, 2012 4:05 PM
To: Wicket Mailing List List
Subject: web.xml for Spring & Wicket 1.5
I'm not sure the example web.xml here is complete -
https://cwiki.apache.org/WICKET/spring.html
There is no filter mapping so there is no request get sent to the wicket
servlet.
I've always used the the wicket filter and a filter mapping so I need to
figure out how to do the same with a servlet.
Douglas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: web.xml for Spring & Wicket 1.5
Posted by Douglas Ferguson <th...@gmail.com>.
Yeah.. just figured that out. I'm going to update the wiki..
I'm toying around with where to but the wicket.configuration setting using this format as well.
Douglas
On Mar 2, 2012, at 9:10 AM, Sergej Sizov wrote:
> Hi,
>
> <context-param>
> <param-name>contextConfigLocation</param-name>
> <param-value>classpath:context.xml</param-value>
> </context-param>
> <servlet>
> <servlet-name>wicket</servlet-name>
>
> <servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
>
> <init-param>
> <param-name>applicationFactoryClassName</param-name>
>
> <param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-val
> ue>
> </init-param>
> <init-param>
> <param-name>applicationBean</param-name>
> <param-value>wicketApplication</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>wicket</servlet-name>
> <url-pattern>/*</url-pattern>
> </servlet-mapping>
> <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</liste
> ner-class>
> </listener>
>
>
> Sergej
>
> -----Original Message-----
> From: Douglas Ferguson [mailto:thedug@gmail.com]
> Sent: Friday, March 02, 2012 4:05 PM
> To: Wicket Mailing List List
> Subject: web.xml for Spring & Wicket 1.5
>
> I'm not sure the example web.xml here is complete -
> https://cwiki.apache.org/WICKET/spring.html
>
> There is no filter mapping so there is no request get sent to the wicket
> servlet.
>
> I've always used the the wicket filter and a filter mapping so I need to
> figure out how to do the same with a servlet.
>
> Douglas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org