You will have to run your Wicket application with a J2EE application server.

I've found Run-Jetty-Run to be extremely easy-to-use:

http://code.google.com/p/run-jetty-run/

Trent

On Fri, Feb 6, 2009 at 2:43 PM, Swapna Rachamalla <
swapna.rachama...@gmail.com> wrote:

> Hi All
>
> I have installed Apache wicket plug-ins in Eclipse.
>
> Now iam able to create Wicket Project from File->New->Other->Wicket->Wicket
> Project.
>
> Then it is asking for Project name. So gave some name..
>
> Then it is creating MyApplication which extends WebApplication and
> configured in the web.xml file.
>
> then i created HelloWorld.java
>
> package com.example;
> import org.apache.wicket.markup.html.WebPage;
> import org.apache.wicket.markup.html.basic.Label;
>
>
> public class HelloWorld extends WebPage {
>
>    HelloWorld()
>    {
>        add(new Label("msg","sfjhdsjfdhjdjkf"));
>    }
>
> }
>
> and modified MyApplication.java file
>
> public class MyApplication extends WebApplication {
>    public MyApplication() {
>
>    }
>
>    public void init() {
>
>    }
>
>    @Override
>    public Class getHomePage() {
>        // TODO Auto-generated method stub
>        return HelloWorld.class;
>    }
> }
>
> and created HelloWorld.html
>
> <html>
> <head>
> <title>Insert title here</title>
> </head>
> <body>
> <span wicket:id="msg" id="message">Message goes here</span>
> </body>
> </html>
>
> Now Iam unable deploy and run the application.
> can u Plz suggest me how to run this application.
> Iam not using Maven for building the files and i configured Apache Geronimo
> 2.0 Server in Eclipse
>
> Thanks
> Swapna
>

Reply via email to