abhijit karpe

Greenhorn
+ Follow
since Jun 05, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by abhijit karpe


Hi,

I have a case in my application where I have mapped all URLs to go through a single controller. The SimpleUrlHandlerMapping mapping is something like -
<prop key="/**/">Myapp:name=controller/content/Controller1</prop>

This controller does some work and in most cases, it forwards to other controller mappings. In one case it forwards to a jsp with a code like -

return new ModelAndView( "/content/template" );


This piece of code used to work properly in Spring 2.5.

However after migrating to Spring 3, it gives an error for circular redirect.
javax.servlet.jsp.JspException: Error: IOException while writing to client, theController=/myApp/mapping1 Circular view path [/jsp/content/template.jsp]: would dispatch back to the current handler URL [/jsp/content/template.jsp] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

Can someone please provide some inputs as to why this could happen and how to solve this?

Regards,
Abhi
10 years ago
Hello,

I have a requirement wherein I need the windows login username in my application on JBoss.

I have been investigating the JCIFS library but so far whatever I do, JCIFS tries to authenticate the user with the domain controller.

What I need is not authentication with the domain controller. I just need access to the username with which the user has logged in to the windows machine.
My application assumes that if the user has successfully logged in, he is a valid user.

Does anyone know how I may be able to achieve this? Is there any library available which can assist me access the user credentials on the server side?

Any help in this regard is highly appreciated.

Thanking everyone in advance,
Abhi
13 years ago