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 D6F6595B8 for ; Mon, 5 Mar 2012 17:40:52 +0000 (UTC) Received: (qmail 73489 invoked by uid 500); 5 Mar 2012 17:40:50 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 73459 invoked by uid 500); 5 Mar 2012 17:40:50 -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 73451 invoked by uid 99); 5 Mar 2012 17:40:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 17:40:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eelboy@aol.com designates 205.188.105.146 as permitted sender) Received: from [205.188.105.146] (HELO imr-da04.mx.aol.com) (205.188.105.146) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 17:40:41 +0000 Received: from mtaout-da02.r1000.mx.aol.com (mtaout-da02.r1000.mx.aol.com [172.29.51.130]) by imr-da04.mx.aol.com (8.14.1/8.14.1) with ESMTP id q25HeJMs003638 for ; Mon, 5 Mar 2012 12:40:19 -0500 Received: from [192.168.0.133] (wsip-174-75-75-60.dc.dc.cox.net [174.75.75.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-da02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 78A81E0000A9 for ; Mon, 5 Mar 2012 12:40:19 -0500 (EST) Message-ID: <4F54FA82.5040509@aol.com> Date: Mon, 05 Mar 2012 12:40:18 -0500 From: eelboy User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: user@struts.apache.org Subject: use struts2 in a xxxx.jsp url Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1330969219; bh=FvIfF5bwzgkslMIlyzeqoAy19lgBbWpxScx0nzLjLa4=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=po6LYzoMm13YL2E50BYkEtq1bT1ObOjpfg7Nrmz5WbmsL9XLiuHD+wBnU+x6d5nOa SVbpaXq4z+eWDJzcDOGvzpRX4l5N7FrG1KzZTzeFduwE2llOAGWzEpQClPZnvGe+Vk /+KhueU5JrAomT0Raml/jw8GCqcRriJ3EsHR5ghw= X-AOL-SCOLL-SCORE: 0:2:425168256:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33824f54fa830c6b X-AOL-IP: 174.75.75.60 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm very new to struts2 and have two questions that I have not seen asked/answered in my short time on this list (but also through plenty of online searching): (1) Is it possible to invoke form validation without having the URL being rewritten to xxxx.action? That is, can i keep my existing JSP urls but simply "add" struts2 functionality? (2) Is it possible to manipulate the default value that is displayed for a specific field? For example, if the field in question is a signed integer, but a value of -1 is intended to represent a default (ie, user did not supply a value) is there any way to not display anything in that field instead of "-1" - which appears to be the behavior. Apologies if these questions have been answered before, Thanks for any info. edward --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org