Re: [Wicket-user] urlFor on root
yes, i think jonathan borrowed /app/* from tapestry :)-IgorOn 9/19/06, Gwyn Evans <[EMAIL PROTECTED] > wrote: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 aHTTP redirect to "/app/"./GwynOn 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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions 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 listWicket-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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] urlFor on root
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
Re: [Wicket-user] urlFor on root
see:http://sourceforge.net/tracker/index.php?func=detail&aid=1555483&group_id=119783&atid=684977 in 1.2 you should use a servlet mapping. Else everything will go through the wicket servlet. So it is recommended that you use something like /app/*johanOn 9/19/06, jan_bar <[EMAIL PROTECTED]> wrote: Thanks JohanI searched bugzilla, but did not found any similar bug report. What is wrongwith this setup? Should I have Wicket servlet mapped as "/something/*" toavoid 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 messagenews:[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 along timeMaybe 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 weuse a filter.So the context path must always append and "/" no matter what the contextpath is and what the servlet path? johanOn 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:IFlashListenerI think that urlFor should add '/' after the gc: http://localhost:8091/gc/?wicket:interfaceIn fact, when browser requestes the URL it is redirected to (note theappended '/'): http://localhost:8091/gc/?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListenerIt worked well when the servlet mapping was not root ("/*") but somethinglike "/myservlet/*". Jan-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions 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 youropinions 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 listWicket-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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] urlFor on root
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
Re: [Wicket-user] urlFor on root
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 timeMaybe 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? johanOn 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:IFlashListenerI think that urlFor should add '/' after the gc: http://localhost:8091/gc/?wicket:interfaceIn fact, when browser requestes the URL it is redirected to (note theappended '/'): http://localhost:8091/gc/?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListenerIt worked well when the servlet mapping was not root ("/*") but somethinglike "/myservlet/*". Jan-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___Wicket-user mailing listWicket-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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] urlFor on root
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