Hi Marcus,

> >> How do I get the url for the current page?  I need it for a
> >> redirect back to the current page after the user logs in.
> >>     
> >
> > Here's how I do it in the Stripes book:
> >
> > [...]
> 
> 
> I am just curious about this: Is there something like a second edition
> of your book? I have the pdf version of your book, but I cannot find
> your posted solution.

The code of the method is not printed in the book; the editor decided
not
to include it to reduce code "noise", since the method is just a lot of
interaction with the Servlet API, and not with Stripes.

Nevertheless, the method is included in the source code bundle[1], and
I refer to it in sections 11.3 and 14.4 (pages 235, 236, and 316 of the
PDF version.)

[1]: http://www.pragprog.com/titles/fdstr/code

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to