Hi Cristian,
it looks like a out of memory problem, try to assign more memory to you
JVM with:
export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m'
export CATALINA_OPTS='-Djava.awt.headless=true'
El jue, 17-07-2008 a las 18:05 +0200, STRUTS SL. Mailing List escribió:
Hello for everybody;
Hi Joey, i think this is not a struts issue. As far as i know, you can't
access all sessions with servlet 2.3 compliant container (i don't know
earlier versions)
You can try to use session listeners to session store info in a common
place or jmx solution.
El jue, 26-06-2008 a las 18:53 +0800,
Hi,
Maybe you can divide your options in categories and use several
dropdowns with an ajax loading.
From the user point of view, large data in dropdowns are not very
usefull.
El lun, 11-02-2008 a las 06:01 -0800, Jayaveeran escribió:
Hi all,
I am populating a dropdown in my jsp which has
can't you use a redirect? i think you can't forward outside the same
context (but i'm not sure, maybe some servlet containers can do it).
El lun, 10-09-2007 a las 17:45 -0700, [EMAIL PROTECTED]
escribió:
Hi,
The present application structure has multiple .war files in a .ear file.
Now my
try validwhen validation rule. It exists in struts, maybe exists too in
struts2.
El mar, 11-09-2007 a las 16:27 +0200, Pablo Vázquez Blázquez escribió:
Hi all!
I´m trying to validate two fields that depends on another field.
What I was doing in S1 is (for field in):
field property=in
, Pablo Vázquez Blázquez escribió:
Hola Jorge,
I think there is not a validwhen validator, either...
Any idea? Thanks.
Jorge Martín Cuervo escribió:
try validwhen validation rule. It exists in struts, maybe exists too in
struts2.
El mar, 11-09-2007 a las 16:27 +0200, Pablo Vázquez
Hi
which version of commons validator are you using?
http://struts.apache.org/1.2.9/userGuide/dev_validator.html
i so, you can see:
integer - validates that a field can be converted to an Integer.
field property=ordernumber depends=integer
arg0 key=order.number/
/field
Hi all,
i'm actually using the 1.2.9 version of struts, and i'm thinking about
upgrading to latest 1.x version.
Is there any issue i must know before upgrading? I've been looking for
something like upgrading 1.2.x to 1.3.x tips in struts website but no
one was found.
thanks
--
at last i've found at:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13
El lun, 30-07-2007 a las 19:44 +0200, Jorge Martín Cuervo escribió:
Hi all,
i'm actually using the 1.2.9 version of struts, and i'm thinking about
upgrading to latest 1.x version.
Is there any issue i must
if you are not using dyna action forms, you can overwrite the method
validate in the ActioForm bean. Or even extend this dyna validation
action form and implemente your own validate like:
[...]
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
sorry, the code would be like:
ActionErrors errors = new ActionErrors();
errors.add(super.validate(mapping, request));
don't forget to add the errors from the commons validator.
El lun, 16-07-2007 a las 10:05 +0200, Jorge Martín Cuervo escribió:
if you are not using dyna action forms, you
i've in my struts-config.xml:
plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property
property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/
/plug-in
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las
=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml /
/plug-in
Anja
-Ursprüngliche Nachricht-
Von: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 6. Juli 2007 11:02
Hi all, every time i've sent an email to this list i receive another
email like that:
The original message was received at Fri, 6 Jul 2007 11:19:25 +0200
(CEST)
from [EMAIL PROTECTED]
- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550 5.0.0
please, can any admin remove this email account from the mailing list?
El vie, 06-07-2007 a las 11:32 +0200, Ing. Andrea Vettori escribió:
Yes,
I think it's a non-existent email that's subscribed...
Il giorno 06/lug/07, alle ore 11:30, Jorge Martín Cuervo ha scritto:
Hi all, every
you can add a position header to use.
Something like this:
html:html
head
titles:message key=common.title//title
tiles:insert attribute=header/
/head
body
div id=contenedor
tiles:insert attribute=text/
tiles:insert attribute=links/
you have to overwrite the toString method in class Book, and then
iterate over the List to complete the xml. somthing like this:
[...]
public String toString() {
return bookid + id + /idname + name + /name/book;
}
[...]
public String list() {
StringBuffer sb = new
Hi all, i'm using struts 1.2.9 and i get this exception, it's not very
explanatory and i don't know what is wrong, does anyone have any idea of
how can i get more info?
i tried to debug with eclipse and there's no parent exception.
51207 [http-8080-Processor23] ERROR
)
com.martincuervo.engine.core.Engine.init(Unknown Source)
com.defactops.smartcvemployer.PositionForm.init(PositionForm.java:41)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[...]
ups, sorry again
El mar, 08 de 05 de 2007 a las 11:30, Jorge Martín Cuervo escribió:
Hi all, i'm using
Try to use wtp from eclipse. Remember to start tomcat in debug mode.
http://www.eclipse.org/webtools/
El mar, 05 de 12 de 2006 a las 18:05, Lim Hock-Chai escribió:
When I try to debug my application by starting tomcat using tomcat
eclipse plug-in, eclipse keeps telling me that it can not find
i've use sysdeo plugin in debug mode time ago, but IMHO wtp has better
integration with eclipse.
I don't remember if sysdeo can debug jsps, but wtp does.
Checkout a new eclipse with WTP and tell us.
El mar, 05 de 12 de 2006 a las 18:57, Jared Blitzstein escribió:
I honestly didn't even know
El jue, 02 de 11 de 2006 a las 11:45, chamal desilva escribió:
in the method validate in CustomerForm class you must call the validate
method of AccountClass.
Hi,
I have a form bean as this one
public class CustomerForm extends ActionForm
{
private AccountForm accForm = null;
It's a realy cool question, i've a complex webapp with a lot of
differents diciplines:
- xstl
- xsl-fo
- ajax
- xpath
- custom classloading
- very large objects in session
- ...
The tests with jmeter using 10 concurrents users don't cause an memory
exception (i use 256M for heap)
there is some
is
Escribeme en castellano si quieres.
30 Oct 2006 17:59:17 +0100, Jorge Martín Cuervo [EMAIL PROTECTED]
:
Hi, try with jslt c:import:
%@ page language=java contentType=text/html; charset=UTF-8
pageEncoding=UTF-8%
%@ taglib uri=/tags/smartcv2 prefix=s %
%@ taglib uri=/tags/jstl-c
Hi, try with jslt c:import:
%@ page language=java contentType=text/html; charset=UTF-8
pageEncoding=UTF-8%
%@ taglib uri=/tags/smartcv2 prefix=s %
%@ taglib uri=/tags/jstl-c prefix=c %
c:set var=filenames:message key='faqs.localfile'//c:set
c:import url=${filename} charEncoding=UTF-8/
El lun,
Hi all,
can i change the jsessionid name? is it mandatory to use jsessionid name
to store the id?
thanks to all.
El jue, 07 de 09 de 2006 a las 10:24, Antonio Petrelli escribió:
sunil virmani ha scritto:
I want to remove the jsessionid attached with URL . Can you please
tell me
how
Hi
i used validator and i got problems with validWhen, i wrote validWhen
with caps and until i change to validwhen it didn't work properly.
Please send us the struts-config.xml or the action you use, maybe the
problem is there.
El mar, 05 de 09 de 2006 a las 13:05, Mallik escribió:
HI
ups, sorry i thought you were using dinaform
sorry
El mar, 05 de 09 de 2006 a las 13:13, Jorge Martín Cuervo escribió:
hi
why you use
com.hns.nme.frontend.apps.cmdexecution.form.SelectCommandForm instead
java.lang.String in form-bean type?
El mar, 05 de 09 de 2006 a las 10:48, sheetal
Hi,
you can use proguard to obfuscate your jar files.
http://proguard.sourceforge.net/
El lun, 03 de 07 de 2006 a las 08:17, [EMAIL PROTECTED]
escribió:
Hi All,
I would like to know if any anti-piracy tools available opensource that
can prevent illigal use of web related software like a
I use struts + DWR to develope ajax applications.
http://getahead.ltd.uk/dwr/
El lun, 03 de 07 de 2006 a las 05:57, chamal desilva escribió:
Hi,
Can I use struts with AJAX. Does struts has classes
and tags for AJAX or do I have write my own code.
Thanking You,
Chamal.
El vie, 30 de 06 de 2006 a las 09:12, Martin Kindler escribió:
I do not know, if there is a tool for XHTML MP, but we have done our mobile
site with ordinary Struts and a set of XHTML MP JSPs.
Very easy. If you want to look: http://www.cityexperience.net/. If you do
use a normal browser and
://www.cityexperience.net/cxpCat/Welcome.do?ua=MOBILE
Martin
-Ursprüngliche Nachricht-
Von: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 30. Juni 2006 09:33
An: [EMAIL PROTECTED]
Cc: 'Struts Users Mailing List'
Betreff: Re: AW: xhtml-mobile with Struts?
El vie, 30 de 06 de
El jue, 15 de 06 de 2006 a las 01:52, Ceena Bose escribió:
hi,
pls help me solve the following.
1)paging using struts
you can use displaytag
http://displaytag.sourceforge.net/11/
in your action:
List data = new ArrayList();
data.add(1);
data.add(2);
data.add(3);
El mar, 06 de 06 de 2006 a las 11:21, [EMAIL PROTECTED] escribió:
Hi
I have an problem with my struts application where I don't know the reason. I
always get the following exception:
java.lang.IllegalArgumentException: Path success does not start with a /
character
if you use a collection simply:
%=((java.util.List)request.getAttribute(data)).size()%
also check:
http://displaytag.sourceforge.net/11/tut_implicitobjects.html
rowNum maybe help too
El lun, 05 de 06 de 2006 a las 16:13, Abhimanyu Koul escribió:
hi all!
can anyone please tell me how i can
i think the types must be the same
choose:
public int getAge()
public void setAge(int age)
or
public Age getAge()
public void setAge(Age age)
despite this, in actionform you should use only String values. With
String values you can store wrong int values that user entered, but with
int
i've not tested but i think it should work:
html:submit onclick=this.disabled=true/
El mié, 31 de 05 de 2006 a las 16:36, rukka escribió:
As a part of solution to multiple reloads and to block the multiple
submit requests in long running service layer methods, we like to
disable submit
i was going to say you try...
onclick=this.disabled=true;this.form.submit()
sorry for the delay
El mié, 31 de 05 de 2006 a las 18:14, A Amarakoon escribió:
Gareth, Monkeyden, Jorge, Andy Thank you..
This js lib looks good.
this code fixes it: onclick=this.disabled=true;submit()
Hi,
of course.
you can use WTP or sysdeo plugin
El jue, 25 de 05 de 2006 a las 17:05, Maya menon escribió:
All,
Is it possible to use struts with Eclipse 3.1 ? If yes, how. Can anyone
please help.
Thanks.
-
Feel free to
http://javaboutique.internet.com/tutorials/three/
El jue, 25 de 05 de 2006 a las 17:05, Maya menon escribió:
All,
Is it possible to use struts with Eclipse 3.1 ? If yes, how. Can anyone
please help.
Thanks.
-
Feel free to
El mié, 24 de 05 de 2006 a las 10:55, marcus biel (innoWake gmbh)
escribió:
Hi,
I've (also) got the following problem:
When trying to start my app, it throws this error:
javax.servlet.ServletException: Missing message for key mypage.title
in my WEB-INF folder, I've got one folder src
do you have set the correct parameter value un struts-config?
message-resources parameter=resources.MessageResources /
This means that you have to put the MessageResources.properties in
WEB-INF/class/resources directory.
El mié, 24 de 05 de 2006 a las 10:55, marcus biel (innoWake gmbh)
Thanks to all,
this is a working solution, but i didn't want to instantiate another
ResourceBundle, struts already have one.
I solve the problem after i check the struts source:
[...]
if (orgName == null || orgName.equals()) {
//errors.add(orgName, new
. I found that this
seemed very
natural, reduced code bloat and made a clear distinction between
disparate
request types. I'm wondering if anyone else has done something
different
and/or more practical.
--
Jorge Martín Cuervo
email: [EMAIL
El lun, 22 de 05 de 2006 a las 19:00, rajan pahuja escribió:
Programming Jakarta Struts - Chuck Cavaness - ISBN 0-596-00328-5
This book is great, despite i don't have the last revisión, IMHO it's a
must read resource.
find it in book programming Struts by chuck cavass,orielly pulications.
Hi all,
i want to use externalized messages in the validation errors of a
ActionForm subclass.
I have this code:
[...]
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
ActionErrors errors = new ActionErrors();
/*
El lun, 22 de 05 de 2006 a las 18:43, fea jabi escribió:
Thanks, but remember that it's in a ActionForm subclass.
getLocale() and getResources() aren't avaliable. Those are Action
methods.
Can i get Action from ActionFrom?
Locale locale = getLocale(request);
MessageResources
. Thanks for the advise.
And yes, theres no putting objects code in the above message. Only a
comment in place...
/*
* load the data to request
*/
thanks again.
--- Jorge Martín Cuervo [EMAIL PROTECTED] wrote:
Hi all,
i have the problem to populate request with data with validation
mapping.getInputForward();
}
}
}
--
Jorge Martín Cuervo
email: [EMAIL PROTECTED]
voz: +34 660 026 384
--
-
To unsubscribe
anyone have used a container to store application scope data?
please, let me know if it's a bad practice.
El mar, 16 de 05 de 2006 a las 17:15, Jorge Martín Cuervo escribió:
Hi all,
h2fmt:message key=search2.filter.job.title//h2
p class=pEstrecho
spanfmt:message key=search2
Use styleClass attribute.
http://struts.apache.org/struts-doc-1.2.9/userGuide/struts-html.html#optionsCollection
p class=pEstrecho
spanfmt:message key=search2.filter.job.area//span
html:select property=jobCategory styleClass=selectAncho
html:options
Message-
From: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 5:05 AM
To: Struts Users Mailing List
Subject: Re: Cannot find bean under name
__APPLICATION_CONTAINER_KEY.area
anyone have used a container to store application scope data?
please, let me know
Try to map another simple servlet to exclude struts problem.
El mar, 16 de 05 de 2006 a las 07:30, M Faizal escribió:
Hi,
I am using struts 1.2.9 with tomcat 4.1.27..and Jbuilder X
i have just one jsp in my root context
and my web.xml has configured like below
servlet
Hi all,
h2fmt:message key=search2.filter.job.title//h2
p class=pEstrecho
spanfmt:message key=search2.filter.job.sector//span
html:select property=industryCode styleClass=selectAncho
html:options collection=industryCodeMap
property=key
Filter the List before sent to jsp, can you do it? or you must do it in
jsp?
you can implement your own custom tag extending iterate.
Other solution is to define a variable in jsp with c:set when you found
and item, and only print when variable isn't set or false.
Take a look to jstl common
You can't mix jsp and scriptlet those manner. Scriptlet generates the
output, and the output can't modify the scriptlet code.
Instead of using scriptlets try to use c:set tag from jstl library.
El lun, 15 de 05 de 2006 a las 09:04, J Gotsch escribió:
Any idea how I can set a local JSP
Thanks a lot, i'll try it
El vie, 12 de 05 de 2006 a las 11:19, [EMAIL PROTECTED] escribió:
Dario,
In this situation, in the input attribute of action-mapping, you should
provide the action-mapping which you want to execute to populate your
drop-down in jsp. Usually we provide the JSP
Hello to all,
I've start working with jasperReports with struts, and i want to externalize
the labels to use in multilanguage environment.
I use a file applicationResources.properties (with the tag message-resources
in struts-config.xml) to the jsp labels without problems, but in my report
I don`t know why the messages of the list comes twice.
Does it happens to anyone?
---
Jorge Martin Cuervo
[EMAIL PROTECTED]
+34 660 026 384
---
-
To unsubscribe,
59 matches
Mail list logo