Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Gwyn Evans
Yes, looking at it, it might well be worth an extra couple of paragraph being added on there, to cover the deployment & url to call and to also point out the QuickStart module. /Gwyn On 23/04/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > Thanks! > Maybe this should be highlited on the Hello World

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Rui Pacheco
Thanks!Maybe this should be highlited on the Hello World example on the sourceforge page? It's where most people will start and you will have countless newbies hitting their heads on the wall wondering what happens - or whats not happening. On 4/23/06, Johan Compagner <[EMAIL PROTECTED]> wrote: jus

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Johan Compagner
just look at how the quickstart project does this:By having a index.html in the root:    and you have a servlet mapping of helloworld so:    johanOn 4/23/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: This one did it. This was it, the context. Thank you very much for the tip and for everyone's help a

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Rui Pacheco
This one did it. This was it, the context. Thank you very much for the tip and for everyone's help and hints.But if I say that my index page is helloworld, hitting http://localhost:8080/helloworld/ should produce the same as http://localhost:8080/helloworld/helloworld, as the request would be auto

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Martijn Dashorst
Rui,You should take the quickstart project as a starting point, not a place to copy selectively from. The project is set up such that you can start your own development inside the project itself, without having to go through the wonders of setting up a web application, configuring a build etc. If y

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-23 Thread Johan Compagner
so you don't have youre helloworld app in a context? The wicket application you deploy is the root context of tomcat?else if it is the helloworld context you have to do this: http://localhost:8080/helloworld/helloworldto hit the wicket servlet.johan On 4/23/06, Rui Pacheco <[EMAIL PROTECTED]> wro

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Vincent Jenks
Webtools is great (considering the price ;)) if you don't want to purchase MyEclipse. That'll give you web-based projects that Eclipse currently does not have out-of-the-box. On 4/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > install maven 2 and inside quickstart folder type > > mvn package >

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
install maven 2 and inside quickstart folder type mvn packagethat will build a deployable war inside the target subfolder. you can see that for an example of a war.-Igor On 4/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: I can get the QuickStart application to run, but thats it. When I move the cla

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
eclipse is free and it has an awesome debugger.-IgorOn 4/22/06, Rui Pacheco <[EMAIL PROTECTED] > wrote:Do you have any suggestions for a debugger? I can't afford my Eclipse right now, and I don't think Eclipse alone will do it. Again, if you have any sugestions, they are more than welcome. On 4/23

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Jonathan Cone
Subject: Re: [Wicket-user] HelloWorldApplication won't show index page I can get the QuickStart application to run, but thats it. When I move the classes to my application they just stop working.One thing: I am deploying the application as a standard web app. I am putting my cl

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
I can get the QuickStart application to run, but thats it. When I move the classes to my application they just stop working.One thing: I am deploying the application as a standard web app. I am putting my classes and HTML files inside packages and placing the compiled classes inside WEB-INF/classes

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
I have already removed it, as Gwyn sugested. And still just the 404.On 4/22/06, Lasse Koskela <[EMAIL PROTECTED] > wrote:On 4/23/06, Rui Pacheco <[EMAIL PROTECTED] > wrote:> Yesterday I sent a message asking wondering why my helloworld application> didn't go beyond loading the main class by Tomcat.

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Lasse Koskela
On 4/23/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > Yesterday I sent a message asking wondering why my helloworld application > didn't go beyond loading the main class by Tomcat. Someone asked for my > source code, I'm sending it in attachment. Why are you overriding "newSession()" in your Applic

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Do you have any suggestions for a debugger? I can't afford my Eclipse right now, and I don't think Eclipse alone will do it. Again, if you have any sugestions, they are more than welcome. On 4/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: this is exactly why we have wicket-quickstart. so newbs wh

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
this is exactly why we have wicket-quickstart. so newbs who are unsure of how all the servlet stuff works can get started quickly. i suggest you try that.when you say "debug", what do you mean? have you even used a debugger? have you set a breakpoint in WicketServlet to see if the url you are using

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Hi GwynI've just installed Jetty 5.1 and tried the application with it, and still nothing.When the server goes up I can see the System.err message on the logs, but nothing more beyond that. Going to http://localhost:8080/helloworld/ returns a 404 and no activity on the server.This is a big disappo

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Gwyn Evans
Get rid of the public Session newSession() { // TODO Auto-generated method stub return null; } in HelloWorldApplication.java, as with 1.2 at least, that causes a NPE in the WebApplication class. On a more general note, I wonder if you switched to t

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Johan Compagner
to what url are you pointing youre browser?What part is the context path and what part is the serlvet path?should be something liket this:http://localhost:8080/yourecontext/helloworld/ On 4/23/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi allYesterday I sent a message asking wondering why my hellow

[Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Hi allYesterday I sent a message asking wondering why my helloworld application didn't go beyond loading the main class by Tomcat. Someone asked for my source code, I'm sending it in attachment.As I said before, I inserted a System.err on the constructor of the class that extends WebApplication an