Hi,

i am absolutly new to wicket...
i did the quickstart, and even got an app running including a form and hibernate access to mysql saving the filled in data with it...

...but...

At the moment I have exactly one "HomePage.html" alongside the "HomePage.java" in my app and the config bit in the "public class WicketApplication extends WebApplication":

...
   public Class getHomePage()
   {
       return HomePage.class;
   }
...


Now I want to have another page, something like "StatisticPage.html" with "StatisticPage.java" with in the same app.
Changing the getHomePage-Method to:
   public Class getHomePage()
   {
       return StatisticPage.class;
   }

does the job... but then I don't get to "HomePage.html" anymore :-(

What do i need to do, that i can define "HomePage.html" as default reachable under: "http://localhost:8080/MYAPP/"; and at the same time "http://localhost:8080/MYAPP/stats"; to get to the "StatisticPage.html" ???


Thanx for some help!!!
Cheers B


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to