click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Furdi <iv...@uniplus.hr>
Subject Re: Link source
Date Thu, 04 Mar 2010 09:04:41 GMT
Hi,

yes, I used request.getHeader("referer") and it does what I need.
I also tried other request methods but for example getRemoteHost or 
getRemoteAddr return client ip or client name.


Thx for the help!

regards,
Ivan

On 4.3.2010 9:53, Bob Schellink wrote:
> Hi Ivan,
>
> Good to know about the geronimo jar. Regarding your question this is 
> more of a Servlet question than Click. Have you looked at the 
> HttpServletRequest method?
>
> http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html

>
>
> Perhaps request.getRemoteHost or request.getHeader("referer")?
>
> kind regards
>
> bob
>
> On 3/03/2010 12:33 AM, Ivan Furdi wrote:
>> Hi,
>>
>> thx for help with websphere. I managed to solve the problem - the
>> including of geronimo jar was the issue,
>> although the errors were strange :)
>>
>> I have a new question , is it possible to get source from which click
>> app was called ?
>>
>> For example i have an web application that calls another one with some
>> parameters.
>> This link to call second param is not under my control.
>> In second app I want to check if the both first and second application
>> are on the same host (for example same Tomcat server).
>>
>> Is that possible and how would one implement it?
>>
>> kind regards,
>> Ivan
>>
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.733 / Virus Database: 271.1.1/2721 - Release Date: 03/03/10 20:34:00
>
>    


-- 
Srdańćan pozdrav,

Ivan Furdi



Mime
View raw message