I'm new to jsp and am writing some pages to be used internally (ie on our intranet) only.
The problem is, I need to know the username of whoever uses the page without them having to go through a login page/popup.
I don't require passwords, just the username.
Does anyone know how I can achieve this?

You can try getting it from the UserAgent (google that), but many times that is not provided (due to varying user security settings). You can try planting some JavaScript onto one page and posting that info to the next link, but security settings may prevent this, as well. IOW, that is one of the things that is, many times, hidden.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.