Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.0 branch (discontinued)
-
None
-
Sun Java System Application Server 9.0
Description
Filter is set up this way:
<filter>
<filter-name>Name</filter-name>
<filter-class>wicket.protocol.http.WicketFilter</filter-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>de.shop.Application</param-value>
</init-param>
<init-param>
<param-name>configuration</param-name>
<param-value>development</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Name</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Application.java is:
public void init()
public Class getHomePage()
{ return Index.class; }when this is first deployed, all is OK and working as expected: e.g: accessing 127.0.0.1/ -> Index page loads
if reDeploying it wont load anymore, no errors are issued however.
If youre on 127.0.0.1/Index (index-page mounted) and then redeploy and klick on any link or reload the page, the path changes to 127.0.0.1/Index/Index
if params are already issued it changes from 127.0.0.1/Index/param0/param1 to 127.0.0.1/Index/param0/param1/Index
doing it another time ends up in 127.0.0.1/Index/param0/param1/Index/param0/param1/Index etc.
links are BookMarkablePageLinks e.g:
new BookmarkablePageLink(this,"linkTo",link.getLinkTarget(),link.getParams());