Ramesh,

Thanks a lot for your quick reply. In effect that is what I want.
But how to do that? If you are accessing html/perl files from a dir where
you have .nsconfig, then the server automatically authenticate the user. You don't
have to write any code. But if you are calling a JSP  - for example
"http://www.yourhost.com/YourApplication/Test.jsp" then "YourApplication"
dir doesnot reside under the server htdocs dir. Even you have the .nsconfig file
in the "YourApplication"  dir. it does not do any authentication. It may be because  
the .jsp files communicate with webserver through servlet engine like
Jrun.
Thanks, Sham



At 06:03 PM 9/17/1999 -0700, you wrote:
>Sham,
>
>If I get your question right, what you really want to do is authenticate
>the user when he access a servlet rather than a jsp page.
>
>Does that help?
>
>Ramesh
>
>On Fri, 17 Sep 1999, Sham Kashikar wrote:
>
>> Hi,
>>
>> We are using Java Server Pages for our development which gets converted to
>> servlet on the fly. How do you use the netscape server's authentication for
>> jsp pages? For html/perl script you create .nsconfig files in the dirs you
>want to protect. Whenever you access a html page or perl script from these dir
>>  it pops up username/passwd screen and verifies the password from the
>password file. But the jsp files may reside on any dir ( may not be under
>servers doc root ) and when I load them I need to authenticate the user same
>way it does for  html files.
>> Any help/pointers greatly appreciated.
>>
>> Thanks, Sham
>>
>> ___________________________________________________________________________
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> Resources: http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to