Re Re: ReRe: Need Help in Session Management !!!

2004-03-02 Thread amit varshney
Thanks Tim I didn't see that one.It was really a silly mistake. Now it worked. Thanks .. Amit Varshney Quoting [EMAIL PROTECTED]: Le lun 01/03/2004 à 08:58, Tim Kelly a écrit : There are missing parenthesis in the line: String user1=request.getUserPricipal.getName(); It should

ReRe: Need Help in Session Management !!!

2004-03-01 Thread amit varshney
it did not work. The following error message is displayed /usr/tomcat/webapps/intra/work/org/apache/jsp/accounts/jdbcmenu_jsp.java:61: cannot resolve symbol symbol : variable getUserPricipal location: interface javax.servlet.http.HttpServletRequest String

Re: ReRe: Need Help in Session Management !!!

2004-03-01 Thread Daniel Savard
Le lun 01/03/2004 à 08:58, Tim Kelly a écrit : There are missing parenthesis in the line: String user1=request.getUserPricipal.getName(); It should be String user1=request.getUserPricipal().getName(); Thats why you get the cannot resolve symbol :) Tim amit varshney wrote:

Re: ReRe: Need Help in Session Management !!!

2004-03-01 Thread Tim Kelly
There are missing parenthesis in the line: String user1=request.getUserPricipal.getName(); It should be String user1=request.getUserPricipal().getName(); Thats why you get the cannot resolve symbol :) Tim amit varshney wrote: it did not work. The following error message is displayed

Need Help in Session Management !!!

2004-02-29 Thread amit varshney
I want to use tomcat user authentication in my application. for that i am using JDBCRealm.I have set the security constraint in the web.xml. So when a request for the restricted page comes a login page comes. But the problem is that it is submitting to the j_security_check and the textboxes

Re: Need Help in Session Management !!!

2004-02-29 Thread shanmugampl
I think you can get the user name by getting the Principal object from request and then getting the name from it like String userName = request.getUserPrincipal().getName(); -Shanmugam- amit varshney wrote: I want to use tomcat user authentication in my application. for that i am using