Finally got around to putting the /* in the mapping and t's all good
now, thanks!

On 4/21/06, Vincent Jenks <[EMAIL PROTECTED]> wrote:
> Oh, sorry, here's the whole thing.
>
>   <servlet>
>     <servlet-name>ProductCatalogApp</servlet-name>
>     <servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
>     <init-param>
>       <param-name>applicationClassName</param-name>
>       <param-value>com.myapp.ProductCatalogApp</param-value>
>     </init-param>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>   <servlet-mapping>
>     <servlet-name>ProductCatalogApp</servlet-name>
>     <url-pattern>/products</url-pattern>
>   </servlet-mapping>
>
> ...obviously I need to change it to /products/* ??  I guess I must
> have missed that in the transition doc, sorry!
>
> On 4/20/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I think Igor meant what the <servlet-mapping> element looks like. E.g.
> > phonebook has:
> >
> >     <servlet-mapping>
> >         <servlet-name>phonebook</servlet-name>
> >         <url-pattern>/app/*</url-pattern>
> >     </servlet-mapping>
> >
> > if that would be
> >
> >     <servlet-mapping>
> >         <servlet-name>phonebook</servlet-name>
> >         <url-pattern>/app/</url-pattern>
> >     </servlet-mapping>
> >
> > (without the *), package resources won't work.
> >
> > Eelco
> >
> >
> > On 4/20/06, Vincent Jenks <[EMAIL PROTECTED]> wrote:
> > > <servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
> > >
> > > On 4/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > what is the servlet mapping you use for the wicket servlet?
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > > On 4/20/06, Vincent Jenks <[EMAIL PROTECTED] > wrote:
> > > > > 404 not found
> > > > >
> > > > > On 4/20/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > > > > and what does this link return?
> > > > > >
> > > > > >
> > > > > >
> > > > /MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF
> > > > > >
> > > > > > johan
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 4/20/06, Vincent Jenks <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > >  Yep, here's all the js stuff I see in the head:
> > > > > >
> > > > > > <script type="text/javascript"
> > > > > >
> > > > src="/MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF"></script>
> > > > > > <script type="text/javascript">var pagemapcookie =
> > > > > > getWicketCookie('pm-null/MyAppProductCatalogApp');
> > > > > > if(!pagemapcookie && pagemapcookie !=
> > > > > >
> > > > '1'){setWicketCookie('pm-null/MyAppProductCatalogApp',1);}
> > > > > > else {document.location.href =
> > > > > >
> > > > '/MyApp/products;jsessionid=8D5250BD41A597EBD63C695113E757DF?wicket:bookmarkablePage=wicket-0:com.myapp.ui.ProductCatalog';}
> > > > > > </script>
> > > > > >
> > > > > > ...and in the body tag:
> > > > > >
> > > > > > <body
> > > > > >
> > > > onUnLoad="deleteWicketCookie('pm-null/MyAppProductCatalogApp');">
> > > > > >
> > > > > > On 4/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > > > > > how is that possible?
> > > > > > > don't you have a script like:
> > > > > > > <script type="text/javascript"
> > > > > > >
> > > > > >
> > > > src="/wicket/forminput/resources/wicket.markup.html.WebPage/cookies.js"></script>
> > > > > > >
> > > > > > > included in youre page?
> > > > > > >
> > > > > > >
> > > > > > > johan
> > > > > > >
> > > > > > >
> > > > > > > On 4/20/06, Vincent Jenks < [EMAIL PROTECTED] > wrote:
> > > > > > > >
> > > > > > >  Using Wicket 1.2RC2, I still get these javascript errors in both
> > > > > > > Firefox 1.5.0.2 and IE 6.0:
> > > > > > >
> > > > > > > deleteWicketCookie is not defined
> > > > > > > getWicketCookie is not defined
> > > > > > >
> > > > > > >
> > > > > > >
> > > > -------------------------------------------------------
> > > > > > > Using Tomcat but need to do more? Need to support web services,
> > > > security?
> > > > > > > Get stuff done quickly with pre-integrated technology to make 
> > > > > > > your job
> > > > > > > easier
> > > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > > Geronimo
> > > > > > >
> > > > > >
> > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> > > > > > > _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > -------------------------------------------------------
> > > > > >
> > > > > > Using Tomcat but need to do more? Need to support web services,
> > > > security?
> > > > > > Get stuff done quickly with pre-integrated technology to make your 
> > > > > > job
> > > > > > easier
> > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > > Geronimo
> > > > > >
> > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> > > > > > _______________________________________________
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > >
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > Using Tomcat but need to do more? Need to support web services, 
> > > > > security?
> > > > > Get stuff done quickly with pre-integrated technology to make your job
> > > > easier
> > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> > > > > Geronimo
> > > > >
> > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > >
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to