You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by drf <da...@gmail.com> on 2011/05/01 11:21:35 UTC

Re: Wicket in Websphere 6.1

This uses Spring 2 and ContextLoaderServlet

Does anyone have an example of a web.xml defined using Spring3 -
ContextLoaderListener - and Wicket
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-Websphere-6-1-tp1886967p3487523.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket in Websphere 6.1

Posted by shetc <sh...@bellsouth.net>.
In your web.xml, something like:


	<listener>
		<description></description>
		<display-name>SpringContextLoaderListener</display-name>
	
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>

	<servlet>
		<servlet-name>WicketServlet</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-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	
	<servlet-mapping>
		<servlet-name>WicketServlet</servlet-name>
		<url-pattern>/app/*</url-pattern>
	</servlet-mapping>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-Websphere-6-1-tp1886967p3489035.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org