request.getRemoteUser

2003-03-16 Thread Guido
Is there any way to show the remote user that sounds like (this doesnt
work):



I actually use <%= request.getRemoteUser() %>, and works fine, but i am
a curious kid

Thank you,
Guido.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: request.getRemoteUser

2003-03-16 Thread James CE Johnson
Guido wrote:

Is there any way to show the remote user that sounds like (this doesnt
work):


I actually use <%= request.getRemoteUser() %>, and works fine, but i am
a curious kid
I think the request taglib may help you out: 
http://jakarta.apache.org/taglibs/doc/request-doc/intro.html

<%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0"; prefix="req" %>



The remote user is: 


Thank you,
Guido.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


request.getRemoteUser() problem

2002-10-22 Thread Iris
Hello,

I have a JSP putlot.jsp defined like that in my struts-config:

 
type="com.alkinos.soparias.webui.listing.LotForm"/>



   name="lotForm"
   type="com.alkinos.soparias.webui.listing.action.PutLot"
   input="/putlot.jsp"/>


I have a security-constraint on this JSP like that in my web.xml:

 
   
 Put
 /putlot.jsp
  GET
  POST
   
   
 administrateur de bien
   
 

So when I ask for this JSP I must authenticate me, and then in the JSP I 
can ask for
request.getRemoteUser() ;
This works fine, but when I submit my form and go to the LotForm.java to 
validate the
request.getRemoteUser() ; returns null
(and in the action.PutLot.java too)

I don't understand why.

Someone has an idea ?

Iris


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>