Yes, there was an index.jsp in the root context. I removed this, and it will
now work with
<filter-mapping>
<filter-name>myapp</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
This seems like a rather obscure problem. Is this documented somewhere or
can it be fixed so others won't have to spend time on it. I spend two days
trying to figure out what was wrong.
As far as Maurice's question, I saw the continueToOriginalDestination()
method buried in the SignInPanel.java source. So yes it is being used. I
am using the stock code for this panel, and am not sure how to get the url
at that point in the stack.
Thanks to all for helping with this problem
--Tim
Martijn Dashorst wrote:
>
> do you have an index.jsp in your root context? If so, remove that and try
> again.
>
> Martijn
>
> On Mon, Jul 28, 2008 at 5:24 PM, Ames, Tim <[EMAIL PROTECTED]> wrote:
>> Using wicket 1.3.4 - production/stable version
>>
>>
>>
>> I am testing AuthenticatedWebApplication and AuthenticatedWebSession set
>> up similar to the wicket-examples.
>>
>>
>>
>> I have the @AuthorizationInstantiation annotation set up on the home
>> page.
>>
>>
>>
>> I start up a session using the address: http://localhost:8080/MyApp/
>>
>>
>>
>> As expected, the Sign In page shows with an address of:
>> http://localhost:8080/MyApp/?wicket:bookmarkablePage=:org.apache.wicket.
>> authentication.pages.SignInPage
>>
>> I log in, the user and password are valid, and I click Sign In.
>>
>>
>>
>> At this point is where the problem occurs. I loose the context "MyApp"
>> in the address. The address now shows: http://localhost:8080/index.jsp
>>
>>
>>
>>
>>
>> Thanks for any insight.
>>
>> --Tim
>>
>>
>>
>>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/AuthenticatedWebApplication-Problem-tp18692918p18717912.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]