See the wicket-quickstart/-template/etc for examples, but we typically
run with /app/* and as a default, have a index.html in "/" that does a
HTTP redirect to "/app/".

/Gwyn

On 19/09/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Thanks Johan
>
> I searched bugzilla, but did not found any similar bug report. What is wrong
> with this setup? Should I have Wicket servlet mapped as "/something/*" to
> avoid troubles?
>
> I am not versed in servlet context path, I cannot help you. I would append
> '/' if not already present in path.
>
> Jan
>
>
> "Johan Compagner" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> yes this is a know problem. I think there is already a bug report for this.
> Funny that it only comes up now twice. And this behaviour is there already a
> long time
> Maybe because it is not the recommended way of configuring the wicket
> servlet..
> This kind of configuring is really only working right in wicket 2.0 where we
> use a filter.
>
> So the context path must always append and "/" no matter what the context
> path is and what the servlet path?
>
> johan
>
>
>
> On 9/19/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I observe strange behaviour. My web application is deployed as EAR with "gc"
> as context root. The servlet mapping is "/*". The Url generated by urlFor()
> is:
> http://localhost:8091/gc?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListener
>
> I think that urlFor should add '/' after the gc:
> http://localhost:8091/gc/?wicket:interface
>
> In fact, when browser requestes the URL it is redirected to (note the
> appended '/'):
> http://localhost:8091/gc/?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListener
>
> It worked well when the servlet mapping was not root ("/*") but something
> like "/myservlet/*".
>
> Jan
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to