[Struts 1.3] Validation question

2009-01-14 Thread Lorenzo Carnevale
My application user has to insert a monetary value for an invoice.
Can I use the v alidator to check the value to be greater than 0, but without 
specifying a max value?


[OT] EL expressions

2008-12-17 Thread Lorenzo Carnevale

I don't understand why my EL expressions aren't being evaluated.
They are printed just like they in the source code (${param}).

I did put this in my JSP code
Working with server: %= application.getServerInfo() %br
Servlet Specification: %= application.getMajorVersion() %.%= 
application.getMinorVersion() % br
JSP version: %= 
JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() 
%br

Java Version: %= System.getProperty(java.version) %br

that printed out as
Working with server: Apache Tomcat/5.5.27
Servlet Specification: 2.4
JSP version: 2.0
Java Version: 1.5.0_14

The taglib directive seems to be ok  (%@ taglib 
uri=http://java.sun.com/jsp/jstl/core; prefix=c %)

and both standard.jar and jstl.jar are in the Tomcat classpath.

I am banging my head agains the wall 



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: [OT] EL expressions

2008-12-17 Thread Lorenzo Carnevale

What servlet version is specified in web.xml?


Gotcha! You won my gratitude.

The problem was that I started a new web application from scratch on my IDE, 
the J2EE version I chose was 1.5,
a version that - I discovered it later - Tomcat 5.5 doesn't support.  I 
changed everything back to version 1.4, but I didn't give a thought about 
changing the WEB-APP tag attributes in the web.xml.
Unilkely most similar cases, the configuration I wrote on the web.xml was 
too _recent_ for the container!
Thanks again 



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Login twice

2008-12-16 Thread Lorenzo Carnevale

Put a check in the Login Action :
if there is alreay an user logged in, the check should return an error to 
the user.



Hi All,

I could logged in twice in the same session.

How to block it second time in struts oriented .

Please send with solution.





Thank you,

Seshagiri V

seshagi...@kensium.com.



US Main: 877 KENSIUM (536.7486)

US Fax:   312.242.3029



Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606



Confidentiality Note:

-

The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.

If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.













Nessun virus nel messaggio in arrivo.
Controllato da AVG - http://www.avg.com
Versione: 8.0.176 / Database dei virus: 270.9.18/1850 -  Data di rilascio: 
15/12/2008 17.04



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org