On Fri, Dec 19, 2008 at 10:35 PM, André Warnier <a...@ice-sa.com> wrote:

> Dear experts,
>
> I love Tomcat, and I find all the people on this list kind, helpful, in
> short marvelous.
>
> I have dabbled in servlet filters before, but I never wrote an actual
> servlet.  And now I need to write the tiniest of one.
>
> It just needs to return, as plain text, not "Hello World", but the result
> of request.getUserPrincipal.getName().
> That's it.
>
> Would anyone be as kind as to point me to a clean nice example, such that I
> could just replace "Hello World" by the above ?
>
> Better yet (but I don't want to abuse your patience), just paste the code
> right here below :
>
> (space intentionally left blank)


If you don't mind my asking, how much java experience do you have?

Regards,

Serge Fonville

Reply via email to