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, Joe
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
+0200, 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
> > strut
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"):
>
>
> key="
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
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.
intRange - validates that an integer field is within a specified range.
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
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
--
_
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 fo
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) {
super.valudate(mappin
you can add a position header to use.
Something like this:
and in your tiles def:
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 Cuer
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 <[EMA
> value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
>
>
> Anja
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 6. Juli 2007 11:02
> An: St
i've in my struts-config.xml:
can you send us the struts-config.xml related portion?
El vie, 06-07-2007 a las 10:31 +0200, Anja Fischer, IBE escribió:
> Hi all,
>
> I use the struts validation plugin. Now tomcat runs into a
> javax.servlet.UnavailableException: Cannot load a validato
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 "" + id + "" + name + "";
}
[...]
public String list() {
StringBuffer sb = new StringBuffer("");
for(It
ource)
com.martincuervo.engine.core.Engine.(Unknown Source)
com.defactops.smartcvemployer.PositionForm.(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
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
org.apache.struts.taglib.ti
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 t
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 fin
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 g
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;
El mar, 31 de 10 de 2006 a las 10:41, Juanjo Cuadrado escribió:
> Thanks for your reply, Jorge... but... it don't work fine for me. Or I don't
> know use it correctly.
>
> When the page is showed, its html code is " "
>
>
>
> 30 Oct 2006 17:59:17
Hi, try with jslt :
<%@ 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" %>
El lun, 30 de 10 de 2006 a las 16:48, Juanjo Cuadrado escribió:
> Hi,
>
> I need to use the
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
> >
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 0
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 escribió:
> Hi All,
> I had problem..
> I am trying to implement client side validation using Validator FRamework.
> I have add
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 you use, maybe the
problem is there.
El mar, 05 de 09 de 2006 a las 13:05, Mallik escribió:
> HI Friends
> i
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.
>
> __
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
e is:
> http://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'
> B
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
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");
d
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
>
>
imho, retrospection api only works ok with that rule.
El lun, 05 de 06 de 2006 a las 16:32, Emilia Ipate escribió:
> That is true, but my question is: why does it have to be the same?
>
> -Original Message-
> From: Jorge Martín Cuervo [mailto:[EMAIL PROTECTED]
> Sent:
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 value
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
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(
this works well
PD: i've tested in firefox
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 button once user hit that once. Does ht
i've not tested but i think it should work:
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 button once user hit that once. Does h
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 fre
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 fr
n, to define these as abstract methods. 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.
----------
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
ActionMessage("employer.orgNam
do you have set the correct parameter value un struts-config?
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)
escribió:
> Hi,
>
> I've (also) got the following problem:
>
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
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.
> t
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
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();
/*
quot;true" attribute works. 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 re
return mapping.getInputForward();
}
}
}
----------
Jorge Martín Cuervo
email: [EMAIL PROTECTED]
voz: +34 660 026 384
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
look at answer 3
>
> 6. Are you using Action 1 or Action to and what specific version?
i use "classic" struts 1.2.9 with action 1
>
David, thank you for response
> Regards,
> David
>
> -Original Message-
> From: Jorge Martín Cuervo [mailto:[EMAIL
Use styleClass attribute.
http://struts.apache.org/struts-doc-1.2.9/userGuide/struts-html.html#optionsCollection
PD: do you speak spanish?
El mié, 17 de 05 de 2006 a las 12:04, José María Tristán escribió:
> Hi:
> I hava a style
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,
>
>
>
>
>
>property=
Hi all,
I use html:select with html:options to populate the options from the
application scope.
In the application scope i have a attribute called "industryCodeMap"
with a Map that contains the data.
I used a ServletContextListener to load the data o
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
>
> acti
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 variab
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 tag
etal escribió:
Hello friends
Can we compare values of two beans in jsp page by using any tag ( like
logic etc...)
Or is there any other method to compare values of two beans in jsp
page
Thanks in advance,
Sp
----------
Jorge Martín Cuervo
email:
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 J
maybe using formBeans to populate data?
the RequestProcessor execute:
processPopulate() and then
processValidate()
...
processActionPerform()
i'm not sure.
El vie, 12 de 05 de 2006 a las 10:35, dario escribió:
> hello everybody,
>
> I'd like to know how do you deal with situat
Hi all,
i've notice that in struts-config.xml the action tag have a attribute
forward and include. And ForwardAction out-of-the-box Action do the same
work.
I know when using action attributes, the RequestProcessor do the
forward/include, and using Actions clases the way is longer.
Which should
Hello Dario, i've the same problem.
El vie, 12 de 05 de 2006 a las 10:35, dario escribió:
> hello everybody,
>
> I'd like to know how do you deal with situations where you need to
> display some dynamic elements (menus, dropdowns...) on the page?
> putting those in the request scope in the acti
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, e-mai
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
action
Hi all,
Is a test to check if my subscription was correctly.
Ignore please.
---
Jorge Martin Cuervo
[EMAIL PROTECTED]
+34 660 026 384
---
-
To unsubscribe, e-mail: [EMAI
67 matches
Mail list logo