Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 53831 invoked from network); 5 Mar 2010 07:09:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 07:09:57 -0000 Received: (qmail 72453 invoked by uid 500); 5 Mar 2010 07:09:44 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 72402 invoked by uid 500); 5 Mar 2010 07:09:43 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 72391 invoked by uid 99); 5 Mar 2010 07:09:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 07:09:42 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [195.29.150.135] (HELO ls405.t-com.hr) (195.29.150.135) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 07:09:34 +0000 Received: from ls265.t-com.hr (ls265.t-com.hr [195.29.150.93]) by ls405.t-com.hr (Postfix) with ESMTP id 03CF66C00BC for ; Fri, 5 Mar 2010 08:09:14 +0100 (CET) Received: from ls265.t-com.hr (localhost.localdomain [127.0.0.1]) by ls265.t-com.hr (Qmlai) with ESMTP id EB6EE2110267 for ; Fri, 5 Mar 2010 08:09:13 +0100 (CET) Received: from ls265.t-com.hr (localhost.localdomain [127.0.0.1]) by ls265.t-com.hr (Qmlai) with ESMTP id 6F8E9211026A for ; Fri, 5 Mar 2010 08:09:13 +0100 (CET) X-Envelope-Sender: ivanf@uniplus.hr Received: from [192.168.252.203] (78-0-240-14.adsl.net.t-com.hr [78.0.240.14]) by ls265.t-com.hr (Qmali) with ESMTP id 29D5520B0228 for ; Fri, 5 Mar 2010 08:09:13 +0100 (CET) Message-ID: <4B90AE1A.7040609@uniplus.hr> Date: Fri, 05 Mar 2010 08:09:14 +0100 From: Ivan Furdi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: dev@click.apache.org Subject: Re: Link source References: <4B8D13BB.1010200@uniplus.hr> <4B8F751B.7070600@gmail.com> <4B8F77A9.8010803@uniplus.hr> <4B906F8B.2070206@gmail.com> In-Reply-To: <4B906F8B.2070206@gmail.com> Content-Type: multipart/alternative; boundary="------------000006020209070709060308" X-TM-AS-Product-Ver: IMSS-7.0.0.3216-6.0.0.1038-17230.003 X-TM-AS-Result: No--13.498-10.0-31-1 X-imss-scan-details: No--13.498-10.0-31-1 X-TM-AS-User-Approved-Sender: No X-TM-AS-Result-Xfilter: Match text exemption rules:No X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000006020209070709060308 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Hi, deploying click-examples.war out-of-the-box works fine. Thats how I discovered whats wrong with my app (I didnt include the geronimo jar in build for websphere, while in build for tomcat the jar was already in tomcat dir). Havent noticed any feature not working from click-examples so all is good :) regards Ivan Furdi On 5.3.2010 3:42, Bob Schellink wrote: > Hi Ivan, > > Just to confirm something. Does the click-examples.war not run on > WebSphere 6.1 out-of-the-box? If so that is a pretty serious issue > we'll need to fix... > > kind regards > > bob > > > On 4/03/2010 08:04 PM, Ivan Furdi wrote: >> 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 >> >> > > > > 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 > > --------------000006020209070709060308 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Hi,

deploying click-examples.war out-of-the-box works fine.

Thats how I discovered whats wrong with my app (I didnt include the geronimo jar in build for websphere, while in build for tomcat the jar was already in tomcat dir).

Havent noticed any feature not working from click-examples so all is good :)

regards Ivan Furdi


On 5.3.2010 3:42, Bob Schellink wrote:
Hi Ivan,

Just to confirm something. Does the click-examples.war not run on WebSphere 6.1 out-of-the-box? If so that is a pretty serious issue we'll need to fix...

kind regards

bob


On 4/03/2010 08:04 PM, Ivan Furdi wrote:
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



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


--------------000006020209070709060308--