Re: [OS-webwork] Tomcat out of memory

2004-02-20 Thread remigijus
It seems that I have same problem. I did redeplayment about five times and eventually got Out of memory Error. But waht is most interesting manager and and other applications is running as before. Unfortunately I can't see waht is going on on the server. It's production server. Before I had no pro

[OS-webwork] type conversion

2004-02-20 Thread Alexandru Roman
I can't seem to get default type converter working with the Date example on the web site: I tried a form with two parameters, one with a text input and one with the date input. I put print statements in for the getters and setters, and here is what I get in the log: SETTING TEXT: null GETTING DAT

Re: [OS-webwork] Rendering java.sql.Timestamp?

2004-02-20 Thread Hani Suleiman
Good idea! http://wiki.opensymphony.com/space/How+to+format+dates+and+numbers On Feb 20, 2004, at 4:10 AM, Sebastiano Pilla wrote: At 22.52 19/02/2004, Hani Suleiman wrote: The tag is actually incorrect. The right thing to do is: then in your action i18n properties file: timestamp={0,date,yy

[OS-webwork] Affordable Housecleaning Service/First Time 20% Off

2004-02-20 Thread msk
Dear Los Angeles Resident: Hi, we are a housecleaning company servicing your area for over 10 years. Our workers are professional trained ladies, licensed, insured and bonded. Our prices are very affordable, and right now we are offering 20% off to first time customers. Also, we work with Re

RE: [OS-webwork] webwork examples which deal with users and permissions

2004-02-20 Thread Kris Thompson
Sure there is, check out the Wafer example http://www.theserverside.com/news/thread.jsp?thread_id=22238 There are many ways to address your issue suggested. -Original Message- From: [EMAIL PROTECTED] on behalf of Florian Weber Sent: Fri 2/20/2004 3:08 PM

RE: [OS-webwork] new to ww2 - problem with submitting date fields

2004-02-20 Thread Jason Carreira
Title: Message Well... check ActionContext.getContext().getConversionErrors() to see if the date fields are in there... If it doesn't convert correctly, that's where it will show up. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February

RE: [OS-webwork] webwork examples which deal with users and permissions

2004-02-20 Thread Jason Carreira
What are you trying to do? If you're going to have code outside your Actions which uses the user information, such as Interceptors, then putting it in the ActionContext makes more sense... > -Original Message- > From: Florian Weber [mailto:[EMAIL PROTECTED] > Sent: Friday, February 20, 20

RE: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Matthew Payne
Title: Message Switch to velocity?  No pages to compile=no leak while compiling. Matt On Fri, 2004-02-20 at 16:03, Jason Carreira wrote: Run a profiler to see where the memory is going... -Original Message- From: remigijus [mailto:[EMAIL PROTECTED] S

[OS-webwork] new to ww2 - problem with submitting date fields

2004-02-20 Thread Joachim . Peer
Dear all, is there any special trick needed to populate bean properties of type java.util.Date? i've an action class with a POJO in it, and all properties of the POJO are properly set on form upload, except those properties that are of type java.util.Date. When i changed those date fields to st

Re: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Andrius Paulauskas
well i know tomcat 5 introduces many garbage collection improvements. > I know that when using tomcat (and jboss for that matter) when > redeploying a webapp, the container would eat up a little bit of memory > with each redeployment. While developing/testing i would deploy a war > many many ti

[OS-webwork] webwork examples which deal with users and permissions

2004-02-20 Thread Florian Weber
hi! i was wondering if there are any webwork2 examples which deal with users and permissions concepts. for example if the user should be stored in the action directly or rather in the context which the action runs under, etc.. thanks a lot! ciao! florian ---

Re: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Eric Webb
I know that when using tomcat (and jboss for that matter) when redeploying a webapp, the container would eat up a little bit of memory with each redeployment. While developing/testing i would deploy a war many many times. Eventually, tomcat will throw an OutOfMemory exception durring executio

RE: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Jason Carreira
Title: Message Run a profiler to see where the memory is going... -Original Message-From: remigijus [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 3:26 PMTo: [EMAIL PROTECTED]Subject: [OS-webwork] Tomcat out of memory Hi   I don't think that problem is re

Re: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Andrius Paulauskas
what is your application about? any resource intensive tasks? > Hi > > I don't think that problem is related with ww2, but I just received an > error message as follows > > > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: -1 in the jsp file: nul

RE: [OS-webwork] Tomcat out of memory

2004-02-20 Thread Wayland Chan
If you check the machine it's running on, is it really out of memory? Can you check to see how much memory is being used by Tomcat before the JSP is compiled/accessed? Just curious but how big is your JSP? It's not the mother of all pages is it? ;) Does it happen on other servlet containers or

[OS-webwork] Tomcat out of memory

2004-02-20 Thread remigijus
Hi   I don't think that problem is related with ww2, but I just received an error message as follows    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file The sy

[OS-webwork] Data spanning several actions and req-resp trips

2004-02-20 Thread Sergio Infante
If you have a group of actions, lets call this a function, that act on data that needs to be persisted during the length of a session, the most obvious way for me to handle this behavior is by creating a component and corresponding enabler interface for each function (group of actions) and h

AW: Spam:[OS-webwork] WW2 Actions Velocity Result - getters called multiple?

2004-02-20 Thread Hans Prueller
Title: Message yes that works! so obviously, webwork binds the METHODS to the velocity variable names and not the method RESULT some how ?   any way, thank you for the tip. good to know that, this behavior is prone for performance-troubles... ;-)   hans Von: [EMAIL PROTECTED]

[OS-webwork] Wiki login

2004-02-20 Thread Fernando Martins
I'm having problems retrieving my WIKI password. It says It will send me password to email, but I'm getting nothing. I'm almost sure, I provided an email when I registered. Anyone can check this? user: fmar Thanks Fernando Martins -- "Everywhere is walking distance if you have the time" - Steve

RE: Spam:[OS-webwork] WW2 Actions Velocity Result - getters called multiple?

2004-02-20 Thread Jason Carreira
Title: Message You could bind it into a different name above the for loop and use that other name... this should make it only call the getter once. -Original Message-From: Hans Prueller [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 10:13 AMTo: [EMAIL PROTECTE

Re: [OS-webwork] WW2 Actions Velocity Result - getters called multiple?

2004-02-20 Thread Konstantin Priblouda
--- Hans Prueller <[EMAIL PROTECTED]> wrote: > is is the normal case that an Actions getXXX() > method is called every time a > velocity-result template uses the $XXX variable? > > if my action has a method, say HashMap > getLabelsForType() and it is used in > velocity result like > > #foreach

[OS-webwork] WW2 Actions Velocity Result - getters called multiple?

2004-02-20 Thread Hans Prueller
is is the normal case that an Actions getXXX() method is called every time a velocity-result template uses the $XXX variable?   if my action has a method, say HashMap getLabelsForType() and it is used in velocity result like   #foreach ($type in $types)     $labelsForType.get($type) #end  

Re: [OS-webwork] WebWork2 Problems.

2004-02-20 Thread Rick Salsa
Ah shit! My bad. Everything works fine now. Its been awhile ;) Thanks guys! /rick Jason Carreira wrote: The others answered your _expression_ language issue... Can you check if the order object is not null? Also check if the lastName property is not empy... -Original Messag

Re: [OS-webwork] Dynamic View Mapping

2004-02-20 Thread Frank Febbraro
I had tried that, but it still got parsed for the redirect.action and that is the step that misinterpreted the parameters. - Original Message - From: Volnei To: [EMAIL PROTECTED] Sent: Friday, February 20, 2004 8:53 AM Subject: Re: [OS-webwork] Dynamic View Ma

Re: [OS-webwork] Dynamic View Mapping

2004-02-20 Thread Volnei
    Try use  in action a String property called destination. String destination = yourPage.jsp?param1="+param1+"¶m2="+param2+"; (generate get e set to destination)   in xwork.xml use: name="success" type="dispatcher">${destination}   This works fine!     Volnei Granado

Re: [OS-webwork] Dynamic View Mapping

2004-02-20 Thread Philipp Meier
Frank Febbraro wrote: > Ok I see what is going wrong. > > the view result is: > redirect.action?url=somthing?param1=value1¶m2=value2 > > What is happening is that it interprets redirect.action as having 2 > parameters > > 1) url=somthing?param1=value1 > 2) param2=value2 > > not sure how to fix it

Re: [OS-webwork] Rendering java.sql.Timestamp?

2004-02-20 Thread Sebastiano Pilla
At 22.52 19/02/2004, Hani Suleiman wrote: The tag is actually incorrect. The right thing to do is: then in your action i18n properties file: timestamp={0,date,-MM-dd HH:mm:ss} The idea being that you can have different ways of displaying time based on different locales etc. IMHO this examp