This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help! Explain how this servlet works?

 
Dave Bosky
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using the following code to retrieve the clients NT username. The code snippet works fine when used inside a JSP but when I move it into a servlet method it always blows up with a java.lang.StackOverflowError.

I need it inside a my servlet not in a JSP. Any suggestions? Also what the heck is this code doing? I'm lost at what it's actually doing, I just know it does what I need it to.

Thanks,
Dave


[ February 16, 2005: Message edited by: Dave Bosky ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65542
110
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A helpful suggestion: with over 50 posts to the ranch one would think that you'd know enough to use code tags to preserve the formatting of your code. Many here (myself included) are not going to wade through a post of unformatted code.
 
Destiny's powerful hand has made the bed of my future. And this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!