Filters dont have a servletname...
Just configure something like this as a web.xml weapplication class param
On 9/1/08, swapnil.wadagave <[EMAIL PROTECTED]> wrote:
>
>
> Thanks For Reply,
>
> As you said i will go with,
> but just take a look with this code snippnet,
>
> String servletName = ((WebApplication)
> Application.get()).getWicketServlet().getServletName();
> StringBuffer buf = new StringBuffer();
> buf.append('/').append(servletName ).append('/').append(HELP_LOCATION)
> .append("/index.html#").append(helpPageClassName);
>
> this buf will be passes as url string to external link.so as your reply if i
> try,
> ((WebApplication) Application.get()).getWicketFilter()-----------how do i
> get servletname by this.
>
> Regards,
> Swapnil.
> --
> View this message in context:
> http://www.nabble.com/Migrating-code-from-1.2-to-1.3-tp19252101p19253461.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]