[Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Ingram Chen

Hi all

I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that the
url changed:

http://example.com/mycontext/app?wicket:interface=:6::

become:

http://example.com/mycontext/app/?wicket:interface=:6::

the tailing slash of app cause many css, javascript path broken !!

how do i fix this ?


my web.xml: (i don't change this while upgrade)

   servlet
   servlet-nameWicketApplication/servlet-name
   servlet-classwicket.protocol.http.WicketServlet/servlet-class
   init-param
   param-nameapplicationFactoryClassName/param-name
   param-valuewicket.spring.SpringWebApplicationFactory
/param-value
   /init-param
   load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
   servlet-nameWicketApplication/servlet-name
   url-pattern/app/*/url-pattern
   /servlet-mapping

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Gwyn Evans
On Wednesday, May 2, 2007, 12:18:54 PM, Ingram [EMAIL PROTECTED] wrote:

 Hi all
 I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that the 
 url changed:
 http://example.com/mycontext/app?wicket:interface=:6 ::
 become:
 http://example.com/mycontext/app/?wicket:interface=:6::
 the tailing slash of app cause many css, javascript path broken !!
 how do i fix this ?

Does the thread at
http://www.nabble.com/from-1.2.5-to-1.2.6-tf3647980.html#a10189203
help?

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Ingram Chen

Thank information..
but it seems no conclusion on how to solve, especially if path is specified
in javascript.
I finally use wicket component to generate script path by prepand
contextPath manually.

Another critical issue is cookie path. My application relies on browser
default cookie path (I don't specify it explicit) which is /mycontext/app
before 1.2.6. Now it suddently change to /mycontext/app/ and some client
would lost cookies :-(


On 5/2/07, Gwyn Evans [EMAIL PROTECTED] wrote:


On Wednesday, May 2, 2007, 12:18:54 PM, Ingram [EMAIL PROTECTED]
wrote:

 Hi all
 I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that
the url changed:
 http://example.com/mycontext/app?wicket:interface=:6 ::
 become:
 http://example.com/mycontext/app/?wicket:interface=:6 ::
 the tailing slash of app cause many css, javascript path broken !!
 how do i fix this ?

Does the thread at
http://www.nabble.com/from-1.2.5-to-1.2.6-tf3647980.html#a10189203
help?

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Igor Vaynberg

see here for hints

https://issues.apache.org/jira/browse/WICKET-290

unfortunately there isnt that much we can do. before the / was inconsistent,
sometimes there, sometimes not. now it is always there. some servlet
containers did not properly map to the servlet without it afir, so we had to
go with the always-there option.

-igor


On 5/2/07, Ingram Chen [EMAIL PROTECTED] wrote:


Thank information..
but it seems no conclusion on how to solve, especially if path is
specified in javascript.
I finally use wicket component to generate script path by prepand
contextPath manually.

Another critical issue is cookie path. My application relies on browser
default cookie path (I don't specify it explicit) which is /mycontext/app
before 1.2.6. Now it suddently change to /mycontext/app/ and some client
would lost cookies :-(


On 5/2/07, Gwyn Evans [EMAIL PROTECTED] wrote:

 On Wednesday, May 2, 2007, 12:18:54 PM, Ingram [EMAIL PROTECTED]
 wrote:

  Hi all
  I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice
 that the url changed:
  http://example.com/mycontext/app?wicket:interface=:6 ::
  become:
  http://example.com/mycontext/app/?wicket:interface=:6 ::
  the tailing slash of app cause many css, javascript path broken !!
  how do i fix this ?

 Does the thread at
 http://www.nabble.com/from-1.2.5-to-1.2.6-tf3647980.html#a10189203
 help?

 /Gwyn



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user