开发者

How do I run "Hello, world!" with WebSphere and Wicket?

开发者 https://www.devze.com 2023-02-06 01:00 出处:网络
I am a Wicket beginner, and I need to develop a Wicket application using WebSphere Application Server 7.0. I\'ve searched Stack Overflow and Google, and found these resources

I am a Wicket beginner, and I need to develop a Wicket application using WebSphere Application Server 7.0. I've searched Stack Overflow and Google, and found these resources

  • http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Websphere-td1917050.html#a1917051
  • https://cwiki.apache.org/confluence/display/WICKET/Websphere

but I can't figure out how to run a "Hello, world!" app on WebSphere. Can anyone tell me how to run one, step by step, usin开发者_如何学运维g Wicket?

For example, for the step "Add a new property called com.ibm.ws.webcontainer.invokefilterscompatibility," where will I add the property?


I have Wicket 1.4 in production on WAS 7.0 and it works just fine - with one exception. I had to use the WicketServlet instead of the WicketFilter.

Try the following:

  1. Create a Wicket Quickstart project
  2. Modify the web.xml to use the Servlet instead of the Filter. The second link you provided contains instructions on how to do do.
  3. Deploy!

I don't recall having to do anything special beyond that.

Note: As I use the Servlet, I have no need to use the com.ibm.ws.webcontainer.invokefilterscompatibility property.

0

精彩评论

暂无评论...
验证码 换一张
取 消