Re: Convert a substring to integer

2009-04-17 Thread Stefano Tranquillini
I'm not sure that is a good solution but u can try to use simply jsp code and bean:define e.g (i don't know the right name of the struts tag) i don't really know it's works, but it'll be, i'm not so sure. otherwise: u want to display the error in the right place? why u don't use a different er

Convert a substring to integer

2009-04-17 Thread Uwe
Hello Community, I'm quite new to Struts2 (or even Struts anyhow) and I'm struggling with a Problem . My multiline Form send's via the validation the fieldError data as shown below to my jsp. Because I do have a multiline form my return of the Object key is something like: myrecords[3].myfi

Re: Substring of

2005-03-11 Thread Rick Reumann
Schuster Joel M Contr ESC/NDC wrote the following on 3/11/2005 4:50 PM: I can't seem to find a clean way of getting a substring of ... suggestions? Use JSTL instead. There really are no advantages I can think of to use bean:write vs c:out (Or just use a more recent servlet container like T

Substring of

2005-03-11 Thread Schuster Joel M Contr ESC/NDC
I can't seem to find a clean way of getting a substring of ... suggestions?

Re: substring.....

2005-02-16 Thread Pavel Kolesnikov
On Wed, 16 Feb 2005 13:29:41 +0100, Peter Maas <[EMAIL PROTECTED]> wrote: > what would be the best way to obtain a substring using taglibs and > struts... > > I now there is the fn taglib in jstl1.1 but we couldn't get it to work > on struts-el 1.2.4. AFAIK JSTL

substring.....

2005-02-16 Thread Peter Maas
Hi, what would be the best way to obtain a substring using taglibs and struts... I now there is the fn taglib in jstl1.1 but we couldn't get it to work on struts-el 1.2.4. any clues? -P -- Peter Maas Application Architect / Streaming Noterik Multimedia BV Prins Hendrikkade 120 10

Re: how to substring with JSTL taglib

2005-01-20 Thread Pavel Kolesnikov
On Thu, 20 Jan 2005 21:53:23 +0800, PC Leung <[EMAIL PROTECTED]> wrote: > <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %> > > Then I substring the ending characters with the following codes. > > type="org.apache.

how to substring with JSTL taglib

2005-01-20 Thread PC Leung
lib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %> Then I substring the ending characters with the following codes. <% ... String suffix = ${fn:substringAfter(tab.getValue(), ".")}; if ((suffix == "gif") || (suffix == "jpeg"