Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64F7B10B26 for ; Mon, 3 Mar 2014 03:30:39 +0000 (UTC) Received: (qmail 59514 invoked by uid 500); 3 Mar 2014 03:30:37 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 58991 invoked by uid 500); 3 Mar 2014 03:30:35 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 58978 invoked by uid 99); 3 Mar 2014 03:30:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 03:30:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ken.mcwilliams@gmail.com designates 209.85.219.54 as permitted sender) Received: from [209.85.219.54] (HELO mail-oa0-f54.google.com) (209.85.219.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 03:30:27 +0000 Received: by mail-oa0-f54.google.com with SMTP id n16so6408860oag.41 for ; Sun, 02 Mar 2014 19:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=elUcH0BnGvKK77xpft8ygIAltbAQY5x8jOxmCUQaEak=; b=sCM7JW33s9jCVNIVpe1mzJOe8VeLWE/H0OxvhOK1zrY92UKYKiTtpcDwZTFhLTgh1P EfYxwroW1Ne/U7zX8Ybv5oaxA0V2+RR61wXExvFMiXQ8d2Ejd5ImCIu/2y/JX5QdW7qg sPD2DQoFGB6Seb3OXINr71KIcCq8Bnt3MXV+MNSC5WIrRvMsaZAnz4JxhakcMRJwvTj+ Blum9sF1CP+8G/ZO2wY5VLWPC1I09QkadzgK2bfz1eCoTAAYXhDe5NyxUbXfmjLnPia4 jRLnGB6zTJrxHypy0jIGpHL78jsAZmZMLrpCxT/TwyjOPHgtP3DhaH+tJOP6TR1K+gZ7 RSKA== MIME-Version: 1.0 X-Received: by 10.182.29.98 with SMTP id j2mr24941484obh.30.1393817406050; Sun, 02 Mar 2014 19:30:06 -0800 (PST) Received: by 10.76.12.232 with HTTP; Sun, 2 Mar 2014 19:30:05 -0800 (PST) In-Reply-To: References: Date: Sun, 2 Mar 2014 20:30:05 -0700 Message-ID: Subject: Re: Struts 2: Howto render output as HTML? From: Ken McWilliams To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=001a11c2c4845e993204f3ab6783 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2c4845e993204f3ab6783 Content-Type: text/plain; charset=ISO-8859-1 If you want this behaviour for the whole application then set struts.ui.theme to simple, inside struts.xml. Like so: Since you mentioned a single page, you can do that too, you can even have a single struts2 UI tag render under a different theme, these various options are listed here: http://struts.apache.org/release/2.3.x/docs/selecting-themes.html On Sun, Mar 2, 2014 at 2:08 PM, Fredrik Andersson wrote: > > > > Hello guys! > I use struts 2.3.15.3. > I have created a form with code like: > > > name="A_TEXT" label="Email address" labelposition="top" maxlength="128" > size="40" />... > I would like the output to be rendered as HTML and not XHTML. > I found this tag for struts 1.x: > http://struts.apache.org/development/1.x/struts-taglib/tlddoc/index.html > Is there some tag in struts 2 that does the same? > Best regardsFredrik > --001a11c2c4845e993204f3ab6783--