i believe it will be available without the .html so www.xyz.com/home/Main

-igor


On Wed, Feb 16, 2011 at 11:15 AM, Suraj Chandran
<chandransu...@gmail.com> wrote:
> Hi
>
> I have a class Main.class(bookmarkable) and its associated Main.html in
> package com.xyz
> What I want is Main.html be able to be accessed as
> www.xyz.com/home/Main.html
>
> I tried something like this:
>
>  @Override
>    protected void init() {
>        super.init();
>        this.mount("/homes/",
> PackageName.forPackage(Main.class.getPackage()));
>        this.addComponentInstantiationListener(new
> SpringComponentInjector(this));
>    }
>
> But it doesen't seem to work.
> Am I doing things right?
> Thanks,
> Suraj.
>

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

Reply via email to