Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 24226 invoked from network); 25 Feb 2011 20:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 20:06:53 -0000 Received: (qmail 21223 invoked by uid 500); 25 Feb 2011 20:06:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 21083 invoked by uid 500); 25 Feb 2011 20:06:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 21074 invoked by uid 99); 25 Feb 2011 20:06:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 20:06:48 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.27.212] (HELO qmta14.emeryville.ca.mail.comcast.net) (76.96.27.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 20:06:40 +0000 Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta14.emeryville.ca.mail.comcast.net with comcast id CJVF1g0061vN32cAEL6J4t; Fri, 25 Feb 2011 20:06:18 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta22.emeryville.ca.mail.comcast.net with comcast id CL6G1g00338FjT18iL6HdW; Fri, 25 Feb 2011 20:06:17 +0000 Message-ID: <4D680BB8.8050901@christopherschultz.net> Date: Fri, 25 Feb 2011 15:06:16 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: what to do in conf. files References: <4D6808EC.2000001@christopherschultz.net> In-Reply-To: X-Enigmail-Version: 1.2a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To whom it mat concern, On 2/25/2011 2:57 PM, spring@gmx.eu wrote: >>> Especially, what are things to deploy jsf_webapp >>> in its real host after developing it in the localhost ? >> >> You will also have to make sure that your URLs are built properly. If >> the string "localhost" appears anywhere in your webapp, >> you're probbaly >> doing something wrong. Also, if you're not building URLs in >> pages like this: >> >> ">your link > > Isn't this very, very old Java-mixed-with-JSP code style? Yes, which is why I mentioned the use of tag libraries. Since everybody and their brother uses their own tag library, I figured I'd not confuse the issue by giving examples from Struts 1.0/1.1/1.2, Struts 2, JSTL 1.0/1.1/1.2, etc. The OP didn't give any information about his environment (other than "JSF"), so he could be running almost anything. The nice part about what I've written above is that it will work under any JSP environment regardless of version or available tag libraries. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1oC7gACgkQ9CaO5/Lv0PD67gCeIYE0xoq6oF5kmIGmtek/4TjQ YikAnRhwr+0A/r1VNgx/CF39a8raT5fj =d7PQ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org