Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 31751 invoked from network); 15 Mar 2005 13:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Mar 2005 13:30:05 -0000 Received: (qmail 6785 invoked by uid 500); 15 Mar 2005 13:30:01 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 6759 invoked by uid 500); 15 Mar 2005 13:30:01 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 6745 invoked by uid 99); 15 Mar 2005 13:30:01 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from stvsfimr001.gsk.com (HELO stvsfimr001.ggr.co.uk) (193.128.25.229) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Mar 2005 05:29:59 -0800 Received: from stvsasmtp04.ggr.co.uk ([147.184.2.62]) by stvsfimr001.ggr.co.uk with ESMTP id j2FDAE4T027610 for ; Tue, 15 Mar 2005 13:10:14 GMT Received: from ukz992.wmservice.corpnet1.com (ukz992.ggr.co.uk [147.184.3.53]) by stvsasmtp04.ggr.co.uk (Switch-3.1.7/Switch-3.1.7) with ESMTP id j2FDO0RG014730 for ; Tue, 15 Mar 2005 13:29:55 GMT Received: from 147.184.2.6 by ukz992.wmservice.corpnet1.com with ESMTP ( Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.0)); Tue, 15 Mar 2005 13:29:46 -0000 X-Server-Uuid: 0FAE8E5D-17EC-437C-9534-AE47E695D040 Received: from stvsnim001.sb.com (stvsnim001.sb.com [147.184.5.110]) by stvsasmtp01.ggr.co.uk (Switch-3.1.7/Switch-3.1.7) with ESMTP id j2FDTkvi006287 for ; Tue, 15 Mar 2005 13:29:46 GMT Subject: Re: Torque and jsp To: "Apache Torque Users List" cc: "Apache Torque Users List" X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: raphael.x.mankin@gsk.com Date: Tue, 15 Mar 2005 13:29:19 +0000 X-MIMETrack: Serialize by Router on STVSNIM001/Servers/GSK(Release 5.0.10 |March 22, 2002) at 15/03/2005 13:29:46 MIME-Version: 1.0 X-WSS-ID: 6E283CC02PS1241683-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I use Eclipse with Struts/Tiles for managing the jsp. I do not make any Torque references whatsoever in the jsp files. I ensu= re that the Struts Action classes pre-load all objects that I am going to = need and put them into beans, either in the request of the session scope. Th= is helps to keep the DB management decoupled from the display management. OTOH there is no absolute reason not to make Torque references from jsp= . You will simply have to define new beans in the jsp to hold the DB enti= ties that you have fetched. Provided that you have at least one DB object preloaded into a bean, the jsp layer need know nothing about Torque; it= merely follows links around. Personally, I don't like this. I prefer to= keep the jsp as pure presentation, with no logic. |---------+----------------------------> | | "salwa idrissi" | | | | | | | | | | | | 15-Mar-2005 12:23| | | Please respond to| | | "Apache Torque | | | Users List" | | | | | | | |---------+----------------------------> >--------------------------------------------------------------------= -----------------------------------------------------| | = | | = | | = | | To: "Apache Torque Users List" | | = | | cc: = | | Subject: Torque and jsp = | >--------------------------------------------------------------------= -----------------------------------------------------| hi, I have a problem when i associated torque with jsp.In fact,I use the ID= E jdevelopper .torque only works very good but when i add in the scope technologies"jsp",the code in the jsp doesn't reconize the "torque.properties".it seems a problem of directories,but i don't know = how to manage to link torque and jsp in jdevelopper.if you have a tutorial about this,help me. thanks. --------------------------------- D=E9couvrez nos promotions exclusives "destination de la Tunisie, du M= aroc, des Bal=E9ares et la R=E9p. Dominicaine sur Yahoo! Voyages. = --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org