tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Valve && Connectors && Request-Objects
Date Mon, 21 Aug 2006 15:36:35 GMT
Hello Alex

If you know the name of the attribute you could use the getAttribute method

public Object getAttribute(String name) 
{ //notice this goes to the ProcessorAttributes..
        return this.processorAttributes.get(name);
}

HTH,
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Alexander Lazic" <al-tomcatuser@none.at>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, August 21, 2006 4:17 AM
Subject: Re: Valve && Connectors && Request-Objects


> On Son 20.08.2006 18:50, Martin Gainty wrote:
>>I believe you will have to acquire the ServletInfo from the
>>(Action)servlet itself as in the example..
>>
>>ServletInfo info = cyR.getRequestProcessor().servlet.getServletInfo();
> 
> Thanks for info but i'am not sure if i understand you right?!
> 
> The getServletInfo() give me *only* a String?!
> 
> ---
> apache-tomcat-4.1.32-src $ egrep -r ServletInfo *
> ---
> 
> Regards
> 
> alex
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message