Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 19713 invoked from network); 15 Jul 2008 03:18:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 03:18:39 -0000 Received: (qmail 53800 invoked by uid 500); 15 Jul 2008 03:18:33 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 53772 invoked by uid 500); 15 Jul 2008 03:18:33 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 53761 invoked by uid 99); 15 Jul 2008 03:18:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 20:18:33 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of donald.brown@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 03:17:38 +0000 Received: by wf-out-1314.google.com with SMTP id 26so4428434wfd.26 for ; Mon, 14 Jul 2008 20:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2R7wmHtSaF4Jor2mJ79FG/5ZnFPUG9cyn6m78wsTZ0s=; b=fFA42/btYJwnaG2mZ+dNqH0dlD6v4BJVNEPQoSgPeJ7xtT65SAPyMUz0ugnlTiAqLP zVgaZDhZvskx9aEGsda3pC8IwAdNzhO4GMouIn0aV4caABf1B8ak4x/+MeGxndDfC3RL 7C6YlU80zN0eSRVDjwAw2TndzOYfDHO0kVrQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=K6gnPNdYFI3tjRHxnpEhgoV+kgPlmQ2quGlzf1QsutfgmU4LC++igxSKsK/wXYpqoS 90fjnOqZrKyvRRq4lTxIUMY1rftRvjB07SVYKgn4rCP4Ka3eyw5seuV+rlzBmvBwnMWu Elvld4o9127Ndf+5M87eyZT0KcqjAAV4q3UDI= Received: by 10.142.107.1 with SMTP id f1mr4471480wfc.10.1216091882024; Mon, 14 Jul 2008 20:18:02 -0700 (PDT) Received: by 10.142.112.15 with HTTP; Mon, 14 Jul 2008 20:18:01 -0700 (PDT) Message-ID: <1c661f2f0807142018n503be7e6r97950706109977c9@mail.gmail.com> Date: Tue, 15 Jul 2008 13:18:01 +1000 From: "Don Brown" To: "Struts Developers List" Subject: Re: [s2] Struts 2 OSGi Plugin In-Reply-To: <18457332.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18457332.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org The key problem is JSP files cannot be packaged in a JAR, which is the default format of a bundle. The way systems like Sling and Spring Application Platform get around it is by embedding a Tomcat or Jetty instance within the OSGi container, then adding OSGi headers to the war manifest and deploying it as an OSGi bundle. The hybrid approach taking by the OSGi plugin puts an OSGi container in an existing webapp, but doesn't try to run a second application server in OSGi space, therefore JSP's won't work without significantly modifying a JSP compiler, and besides, Sun has basically deprecated JSP's in favor of JSF and even replacing JSP with Facelets in JSP 2.0. Velocity or Freemarker templates are so much easier to develop, test, and debug, so I don't really see the loss. Don On Tue, Jul 15, 2008 at 1:12 PM, alvins wrote: > > I would think JSP support would have to be mandatory for wide acceptance?? I > know in the alpha plugin you are using is Apache Felix as the OSGi container > but Equinox is building in JSP support (they also have a struts example) - > http://www.eclipse.org/equinox/server/jsp_support.php. > > > Don Brown-2 wrote: >> >> It all depends on the approach. Currently, JSP's aren't supported and >> in fact, I doubt they will ever be supported. If tiles can work with >> Freemarker or Velocity, then I don't see why we couldn't get it >> working. >> >> Don >> > > -- > View this message in context: http://www.nabble.com/-s2--Struts-2-OSGi-Plugin-tp11851951p18457332.html > Sent from the Struts - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org