not working

2007-06-06 Thread Ambaris Mohanty
Hi all, What is the solution for the "reset button not working" problem. I'm using struts 1.2.9 and a DynaValidatorForm which is properly configured. Everything else (like validation) is working nicely except for the reset buttons in the forms. Please help. AM

RE: custom interceptor in default stack

2007-06-06 Thread sudeepj2ee
Thanks for replying, The reason for bot using CONFIDENTIAL is that we don't want the https for the entire application we only require it at the places were some confidential data is informed viz- registration or payment related pages.For this we have made an interceptor which switches from http t

Re: SSL Interceptor

2007-06-06 Thread sudeepj2ee
Hi Your ssl interceptor really helped me a lot in my project,where we are using ssl, I wanted to know whether we can goto a more granular level with this interceptor based on the method call, current its based on per class call,I was trying to use exclude method with the interceptor but could no

How to access static content in struts2

2007-06-06 Thread Strut_developer
I, In case of webworks to access static properly in jsp page we used to do as below http://www.nabble.com/How-to-access-static-content-in-struts2-tf3881676.html#a11001510 Sent from the Struts - User mailing list archive at Nabble.com. -

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Craig McClanahan
On 6/6/07, Jeff Amiel <[EMAIL PROTECTED]> wrote: I'm not debating that there could be bad user code here(although I've reduced my test cases down to an empty axis service call and an nearly empty struts actionIf there IS bad code, it's probably at a low level inside axis or struts or som

Re: datetimepicker & S2 validation

2007-06-06 Thread Musachy Barroso
2.1 is the development branch (technically trunk :) ), and there is no release for it yet, if you want to build it yourself: http://struts.apache.org/2.x/docs/building-with-maven.html musachy On 6/6/07, Vincent Lin <[EMAIL PROTECTED]> wrote: Is struts 2.1 available for downloading? I only fin

Re: [S2] Basic form with Radio Buttons

2007-06-06 Thread Lally Singh
Ok, I put my survey in my session. That's working fine. So, another question, (with the same situation), how do I use a inside an ? E.g. I've got a set of Responses inside a list of ResponseGroups, and iterating through, it seems that the radio button doesn't know how to bind itself to the obj

Re: datetimepicker & S2 validation

2007-06-06 Thread Vincent Lin
Is struts 2.1 available for downloading? I only find struts 2.0.6 in apache website. On 6/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: sorry. 2.1 is the one. musachy On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It is getting to the action! Can you tell me if a new version

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/6/07, Craig McClanahan <[EMAIL PROTECTED]> wrote: Speaking as the original author of this part of Tomcat in 4.1 and 5.0 (and it hasn't changed that much in 5.5 and 6.0 AFAICT), request and response instances can indneed be pooled and reused for *different* requests. That being said, Tomca

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Craig McClanahan
On 6/6/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Jeff Amiel <[EMAIL PROTECTED]> wrote: > Does this sound possible? According to the source, it's not only possible, it *is*... at least w/ TC6. You could just check the source of the TC version you're running and see if it's the same way or no

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Dave Newton
--- Jeff Amiel <[EMAIL PROTECTED]> wrote: > Does this sound possible? According to the source, it's not only possible, it *is*... at least w/ TC6. You could just check the source of the TC version you're running and see if it's the same way or not. > Any further insight would be appreciated. Pro

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
Solution? In my days of effort to troubleshoot, I ran across this ditty: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06836.html Was it possible that my response objects (even committed ones) were being re-used by other requestsand hence be the underlying cause of this? (the setBufferS

Re: [OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details

2007-06-06 Thread Oguz Kologlu
Yep, but only when I post/reply to a message. Oz On 06/06/2007, at 9:21 PM, Antonio Petrelli wrote: Me too, but Gmail puts it into spam... What's that? 2007/6/6, Paolo Beccari <[EMAIL PROTECTED]>: Me too. P. - To unsubscri

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Dave Newton
--- Zoran Avtarovski <[EMAIL PROTECTED]> wrote: > For example on a search form we would add a not > applicable object to the start of our collection. > > No Image > label="fileName" > value="fileName"/> > > > I'd love to be able to do something similar in S2, d.

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Zoran Avtarovski
I can give you a simple use case we have which annoys the crap out of me: In S1 we used our business layer to get a collection of objects. Depending on how that collection was used we might need to add an object to it. For example on a search form we would add a not applicable object to the start

Re: [S2] issues

2007-06-06 Thread Vincent Lin
What is the data type of autoridade.orgao.codObjeto and autoridade.cargo.codObjeto? On 6/7/07, Rafael Dittberner <[EMAIL PROTECTED]> wrote: This is my code: Someone please explain to me why in the first one i had to use toString() to make it work, but the second one works perfectly as is?

Re: datetimepicker & S2 validation

2007-06-06 Thread Musachy Barroso
sorry. 2.1 is the one. musachy On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: It is getting to the action! Can you tell me if a new version is available? On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > Datetimepicker is buggy on 2.0.6, I would first make sure that the valu

Re: datetimepicker & S2 validation

2007-06-06 Thread stanlick
It is getting to the action! Can you tell me if a new version is available? On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Datetimepicker is buggy on 2.0.6, I would first make sure that the value is getting to the action, without any validation at all. musachy On 6/6/07, [EMAIL PROTEC

[S2] issues

2007-06-06 Thread Rafael Dittberner
This is my code: listKey="codObjeto" listValue="nome" label="Orgão" value="%{autoridade.orgao.codObjeto.toString()}" /> listKey="codObjeto" listValue="nome" label="Cargo" value="%{autoridade.cargo.codObjeto}" /> Someone please explain to me why in the first one i had to use toString() to m

Re: datetimepicker & S2 validation

2007-06-06 Thread Musachy Barroso
Datetimepicker is buggy on 2.0.6, I would first make sure that the value is getting to the action, without any validation at all. musachy On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have a datetimepicker on a screen with the key=" payrollUpdate.effectiveDate". I have a PayrollUp

Re: Struts File Not Found (404) Behavior or Lack of...

2007-06-06 Thread Nathan Hook
Well, the problem has been figured out. Here is our global-exception entry in our struts-config.xml: We did not have an entry for the key "global.error.message" in our message-resources. So, both the key and scope entries from the global-exception entry were removed so it now looks

[S2] Basic form with Radio Buttons

2007-06-06 Thread Lally Singh
Hey all, a few questions about getting started with a form in Struts 2. Questions - The scenario: an action generates a form (from a dynamically-generated list of questions, called a Survey), that's then submitted. I have a class, QuestionGeneratorAction, with two methods: - quesio

datetimepicker & S2 validation

2007-06-06 Thread stanlick
I have a datetimepicker on a screen with the key=" payrollUpdate.effectiveDate". I have a PayrollUpdateAction-validation.xmlfile that corresponds to the Action associated with this web page. Inside the validation file I have the following field validation: After entering a date or sel

Re: Struts File Not Found (404) Behavior or Lack of...

2007-06-06 Thread Niall Pemberton
On 6/6/07, Nathan Hook <[EMAIL PROTECTED]> wrote: I've run into a problem. If a user either accidentally or maliciously enters an incorrect path that has a struts extension the user will receive an Exception and a Stack Trace. For example if we have the path www.xxx.com/login.do mapped like so.

Re: Softer action mappings

2007-06-06 Thread stanlick
Yes. I'd like to see what is available to string into the mappings before I start putting breadcrumbs in the session. For instance, I would like the "input" to map to whatever tiles name the validation failed on. Musachy Barroso wrote: > > do you mean the request url? > > musachy > > On 6/

Re: Struts File Not Found (404) Behavior or Lack of...

2007-06-06 Thread Martin Gainty
Good Afternoon Nathan- login2 != login in your webapp /WEB-INF/web.xml 404 /404.html HTH M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message

Struts 2 exception-mappings with messages?

2007-06-06 Thread Gabriel Belingueres
Hi, I wonder if I can attach an error message to the exceptions specified in the struts.xml file, using exception-mapping and global-exception-mapping. I tried to achieve this by adding inside the exception-mapping tag without success (it seems to me that they do nothing). How can I achieve th

Re: Flash scope in Struts 2?

2007-06-06 Thread Musachy Barroso
Something different but related, the scoped model driven interceptor: http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html musachy On 6/6/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- mraible <[EMAIL PROTECTED]> wrote: > mraible wrote: >> Does Struts 2 have support for a fl

Re: Flash scope in Struts 2?

2007-06-06 Thread Ian Roughley
There is an interceptor and result in webwork that can be used with about 2 mins for package corrections. /Ian mraible wrote: mraible wrote: Does Struts 2 have support for a flash scope - where messages can be easily stuffed into this scope so they live through a redirect? Thanks, Matt

Re: Flash scope in Struts 2?

2007-06-06 Thread Antonio Petrelli
2007/5/3, mraible <[EMAIL PROTECTED]>: Does Struts 2 have support for a flash scope - where messages can be easily stuffed into this scope so they live through a redirect? I suppose that Michael (Jouravlev) did something called "rollover" scope, but maybe it is under Struts 1.3 BTW, Matt, why

Re: Flash scope in Struts 2?

2007-06-06 Thread Dave Newton
--- mraible <[EMAIL PROTECTED]> wrote: > mraible wrote: >> Does Struts 2 have support for a flash scope - >> where messages can be easily stuffed into this scope >> so they live through a redirect? > I'll assume the answer is "no". Why? In addition to a couple of threads within the last week see

Re: Flash scope in Struts 2?

2007-06-06 Thread mraible
mraible wrote: > > Does Struts 2 have support for a flash scope - where messages can be > easily stuffed into this scope so they live through a redirect? > > Thanks, > > Matt > I'll assume the answer is "no". -- View this message in context: http://www.nabble.com/Flash-scope-in-Struts-2-

Re: Can I Redirect Action Result to Strut1 action in struts.xml

2007-06-06 Thread panpan
Ray, thank you very much for your tips which is very helpful! Ray Clough wrote: > > if you are constructing the url using the s:url tag, there are two > different attributes you may be using. The "action" attribute assumes > that the action will end in "*.action", so you can't forward to a S

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
Maybe there is some OGNL trick, but I wouldn't know how. Are you sure you want to change manipulate arrays in your pages (view)? Maybe there is a valid use case for it, but it sounds weird to me. musachy On 6/6/07, Ezequiel Puig <[EMAIL PROTECTED]> wrote: Musachy, Thanks a lot for the comment

Re: Problem with delete confirmation and s:a with ajax

2007-06-06 Thread Musachy Barroso
Use the notifyTopics attribute, (inside the topic check that the paremeter "type" = "before") to pop up the dialog. See the section "Preventing the request" here: http://struts.apache.org/2.x/docs/ajax-tags.html musachy On 6/6/07, eschedel <[EMAIL PROTECTED]> wrote: Hi, I have a problem wit

RE: Struts File Not Found (404) Behavior or Lack of...

2007-06-06 Thread Nathan Hook
I apologize, I forgot to mention all the versions we're using. We are using Struts version 1.3.8 and running on Tomcat 5.5.23 if this helps. Original Message Follows From: "Nathan Hook" <[EMAIL PROTECTED]> I've run into a problem. If a user either accidentally or maliciously enters

Struts File Not Found (404) Behavior or Lack of...

2007-06-06 Thread Nathan Hook
I've run into a problem. If a user either accidentally or maliciously enters an incorrect path that has a struts extension the user will receive an Exception and a Stack Trace. For example if we have the path www.xxx.com/login.do mapped like so... redirect="true"/> and the user

RE: [OT] Re: javascript issue in jsp

2007-06-06 Thread Krishna, Hari \(FTT-CInternet\)
Thanks dave I got a little key to big door Regards, I.HariKrishna | Software Engineer | Franklin Templeton International Services (India) Pvt. Ltd. | Franklin Templeton Centre,1st Floor, No.7,Third Cross Street, Kasturba Nagar, Adyar, Chennai 600020 | Tel: +91 44 24407000 | Extn: 17123 | Fax: +91

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/6/07, Al Sutton <[EMAIL PROTECTED]> wrote: Are the soap methods and the actions your calling accessing the same data and/or service classes? sure...under the hoodthey all utilize the same service 'layer' (factory method pattern to acquire newly created serviceimpl classes) and use the

RE : [s2] Collection, array and tag.

2007-06-06 Thread Ezequiel Puig
Musachy, Thanks a lot for the comments about the tag. About the other questions i proposed, do you know if it's possible to manipulate arrays with the s2 tags ?? -Message d'origine- De : Musachy Barroso [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 juin 2007 16:41 À : Struts Users

Problem with delete confirmation and s:a with ajax

2007-06-06 Thread eschedel
Hi, I have a problem with a delete confirmation of struts2 and ajax. I using following " title=""/> with the javascript function: function confirmDelete() { check = confirm('Do you really want to delete the entry?'); if ( !check ) { return false;

RE: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Al Sutton
Are the soap methods and the actions your calling accessing the same data and/or service classes? -Original Message- From: Jeff Amiel [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 15:49 To: Struts Users Mailing List Subject: Re: How can one servlet (ActionServlet) effect another servlet (

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/6/07, Dave Newton <[EMAIL PROTECTED]> wrote: Is it only specific actions that cause the behavior? I can't tell anymore. My current logs are showing me these exceptions unrelated to the actions I THOUGHT were culpable. They only sure thing is that I cannot get the issue to occur by just

Re: [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
I logged this ticket for it: https://issues.apache.org/struts/browse/WW-1971 musachy On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Looking at the code, only String[] is transformed into parameters. For anything else, its toString() will be called and used as the value of the parameter

Re: Struts 1.3.x : Dynavalidatorform : initialize & prepopulate ArralyList with data after submisstion

2007-06-06 Thread Niall Pemberton
Use a LazyValidatorForm - define an array of User objects for the form in your struts-config and it will automatically populate it for you: http://struts.apache.org/1.x/userGuide/building_controller.html#lazy_action_form_classes Niall On 6/6/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Dave Newton
--- Jeff Amiel <[EMAIL PROTECTED]> wrote: > development environment by having a client > application rapidly send SOAP messages in while > simultaneously hitting a single struts action > via a auto-refreshing html page. Is it only specific actions that cause the behavior? d. ___

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/6/07, Martin Gainty <[EMAIL PROTECTED]> wrote: No, actually you can't. Thanks. for the info, Now that I can reproduce this issue in my development environment, I'm going to simply upgrade to the latest Jboss that has tomcat 5.5.20 (or even 6?) and see what happens. -

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/5/07, Jeff Amiel <[EMAIL PROTECTED]> wrote: Recent issue is driving me batty. Suddenly started receiving exceptions in app server logs (tomcat a la jboss)... What is horrible is that I can actually reproduce this in my development environment by having a client application rapidly send S

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Martin Gainty
Jeff- Apparently JBoss' CATALINA container is hardbound to that port and the only solution is to redirect to another port within jboss-service.xml in tomcat-5.5.sar No, actually you can't. To be specific, there is a service called something like tomcat-5.5.sar. This SAR (Service ARchive) cont

[S2] Problems with special characters

2007-06-06 Thread Torsten Römer
I am experiencing quite strange problems with special characters such as odiaresis and aring (ä,å,ö): - Sometimes already when the form is redisplayed on validation error - When the form values are inserted into the database - When the form values are sent as text email The strange thing is, th

[S2] OGNL newbie: obtaining subset of a collection

2007-06-06 Thread Paolo Beccari
Hi there, here: http://struts.apache.org/2.x/docs/ognl.html I found that: To select a subset of a collection (called projection), use a wildcard within the collection. ? - All elements matching the selection logic ^ - Only the first element matching the selection logic $ - Only the last element

Re: cannot reset dynavalidatorform in struts 1.2.9

2007-06-06 Thread Vincent Lin
Could you check the generated HTML code? (Use the view source function of your browser) If the html of the field has value="x", the reset button won't clear it. It just reset the value to original value. Did you set the properties to your DynaActionForm? Or the form has default values? On 6/

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Jeff Amiel
On 6/6/07, Niall Pemberton <[EMAIL PROTECTED]> wrote: The latest Tomcat 5.5 release is 5.5.23 in March 2007. If you really are running a very old version of Tomcat - then upgrading would be a good idea anyway - whether it fixes this bug or not. First step though is to work out what version you're

Re: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-06 Thread Niall Pemberton
On 6/6/07, Jeff Amiel <[EMAIL PROTECTED]> wrote: On 6/5/07, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > Might be a Tomcat issue - can you be more precise about the version of > Tomcat 5.5? from org/apache/catalina/util/ServerInfo.properties server.info=Apache Tomcat/5.5 server.number=5.5.0.0

Re: display current date in header

2007-06-06 Thread Vincent Lin
You can write a base action and have every action extends it. And do this in your execute() method: Calendar cal = Calendar.getInstance(); Date currDate = cal.getTime(); SimpleDateFormat df = new SimpleDateFormat("dd.MM."); String showDate = df.format(currDate); request.setAttribute("showDat

Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread Dave Newton
It looks like this issue has been around awhile; google for struts + "No mapping found for dependency" and you may find something that will help. d. --- johana pin <[EMAIL PROTECTED]> wrote: > First I put the initial plugin in the lib dir. and I > got version error. After that, I compiled the

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Al Sutton
Could well be the problem Dave. Good catch :) -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 13:37 To: Struts Users Mailing List Subject: RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active. That may al

Re: [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
Looking at the code, only String[] is transformed into parameters. For anything else, its toString() will be called and used as the value of the parameter. I think Lists and Sets should be processed as String[] are (calling the toString() on each element). Maps should be converted to parameters

Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread johana pin
First I put the initial plugin in the lib dir. and I got version error. After that, I compiled the sources with 1.4 and it passed over that error. The only jars that I used from struts2 distribution are: - those provided in J4 download - struts-spring plugin (one class compiled with eclipse - jav

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Dave Newton
That may all be true, but in the end, the server may never know that the user closed the browser. There's just no mechanism in place to determine (reliably) if the browser has been closed, at least from the server-side (which can't tell if the browser has been closed). --- Al Sutton <[EMAIL PROTE

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Al Sutton
Guru, I think he's missed the fundamental point about the sever not being able to determine if a user closes the browser. Maybe it's worth re-iterating to him about the sever not being able to determine if a user closes the browser. Or telling him about the sever not being able to determine if a

RE: [S2] decoding values of objects properties

2007-06-06 Thread Al Sutton
Why not pre-decode the results in the action, populate a Collection, and add a getDecoded method to the action which returns the pre-decoded Collection. You can then use s:iterator to iterator over the collection and call methods within each element. This allows you to implement whatever class hier

Re: [S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
- Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 06, 2007 1:14 PM Subject: Re: [S2] decoding values of objects properties I'm still not entirely what you're decoding from and to; it sounds like something is fundamenta

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Raghupathy, Gurumoorthy
Hello, do not try to hijack other thread. Reply to your own thread. No as I said it will be called when your session expires . What is your session timeout value ? This should be something like 30 With this configu

RE: [S2] decoding values of objects properties

2007-06-06 Thread Raghupathy, Gurumoorthy
Hello, do not try to hijack other thread. Reply to your own thread. No as I said it will be called when your session expires . What is your session timeout value ? This should be something like 30 With this configu

Re: [OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details

2007-06-06 Thread Antonio Petrelli
Me too, but Gmail puts it into spam... What's that? 2007/6/6, Paolo Beccari <[EMAIL PROTECTED]>: Me too. P. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [S2] decoding values of objects properties

2007-06-06 Thread Srinivasula Reddy A , Bangalore
BUT GURU WHEN I CLOSE THE IE SESSEIONDESTROYED METHOD IS NOT EXECUTING IS THERE ANY CONFIGURATION PARAMETERS I HAVE TO SET IN WEB.XML OR STRUTS-CONFIG.XML -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 4:45 PM To: Struts Users Mailing List

Re: [OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details

2007-06-06 Thread Paolo Beccari
Me too. P. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details

2007-06-06 Thread Raghupathy, Gurumoorthy
Yes I do get it write a rule to delete it :) -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 12:17 To: Struts Users Mailing List Subject: [OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details I'm getting one of these for

[OT] Is anybody else getting these? Fwd: Returned mail: see transcript for details

2007-06-06 Thread Dave Newton
I'm getting one of these for (almost?) every time I post. You could just ASK me to never post, yanno :p It just started a day or a few ago. --- Mail Delivery Subsystem <[EMAIL PROTECTED]> wrote: > Date: Wed, 6 Jun 2007 13:09:32 +0200 (CEST) > From: Mail Delivery Subsystem > <[EMAIL PROTECTED]> >

Re: [S2] decoding values of objects properties

2007-06-06 Thread Dave Newton
I'm still not entirely what you're decoding from and to; it sounds like something is fundamentally broken, but... Remember that with OGNL you *can* call arbitrary methods, including static utility methods, from with the EL. So with either a static decoding class or (preferably) a service object in

[OT] RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Dave Newton
--- "Srinivasula Reddy A , Bangalore" wrote: > But the thing is if the user close the IE instead > of log out I am unable to remove the user from the > hash table How can I overcome this? http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html d. ___

Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread Dave Newton
--- johana pin <[EMAIL PROTECTED]> wrote: > I used the J4 download from struts site. I only > recompiled (not with retrotranslator but with > eclipse) the struts-spring plugin from 'all' > distribution. You're building from source? Make sure it's compiling with a 1.4 JDK. Anyway, try J4-ing any o

cannot reset dynavalidatorform in struts 1.2.9

2007-06-06 Thread Ambaris Mohanty
Hi, I'm using a simple DynaValidatorForm for my login form. The problem is. the reset button doesn't reset the fields to blank state which I want. Can anybody help? AM

Re: [S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
--- Dave Newton wrote: Why? I'll try to explain. The main problem is, that i would not to expose a single getter-method in the action for each property I want to decode. I'm searching for a more generic method. I thought on some possibile solution, one was to return, in each action, the

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Srinivasula Reddy A , Bangalore
This is the snippet I am writing in my login action if(servlet.getServletContext().getAttribute("userList")!=null){ System.out.println(" IN SIDE IF OF CONTEXT "); Hashtable findUser = new Hashtable();

Re: Ending session

2007-06-06 Thread Mansour
That's lot of idea. Thank you ever one. I will try them today, and I will post the results. Caine Lai wrote: Probably the easiest way to do this would be to have a very short session timeout period (5minutes?) set on the server. You could then have a JavaScript function that polls the server

Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread johana pin
I used the J4 download from struts site. I only recompiled (not with retrotranslator but with eclipse) the struts-spring plugin from 'all' distribution. - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, June 6, 2007 1:22:59 PM Subj

Re: [s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread Dave Newton
Haven't tried on Websphere but I've deployed on Weblogic 8.1... Did you J4 all the jars? --- johana pin <[EMAIL PROTECTED]> wrote: > I am new to struts 2 (previously work with struts 1) > and I try to build an application with spring on > java 1.4 (websphere 6.0). I got this error when I > try to

OT] Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread Dave Newton
--- prasad kumar <[EMAIL PROTECTED]> wrote: > String newLateExtraAmount = > new Double(Double.parseDouble(model.getAmount()) + lateExtraAmount).toString(). > > model.setAmount(String.valueOf(newLateExtraAmount)); Why do you do a String.valueOf on a String? > but the problem with th

Re: [S2] decoding values of objects properties

2007-06-06 Thread Dave Newton
--- Paolo Beccari <[EMAIL PROTECTED]> wrote: > I wish to decode them in the view. Why? > I think this is could be a common issue in a webapp, > does anyone has an idea on how to resolve? I've never had to do that, but if I did, I'd be most likely to do it in the action or, more likely, a service

Re: [S2] Is Action thread-safe in struts 2?

2007-06-06 Thread Dave Newton
--- Vincent Lin <[EMAIL PROTECTED]> wrote: > Is Action in s2 thread-safe or not? Yes. d. Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_m

[OT] Re: javascript issue in jsp

2007-06-06 Thread Dave Newton
--- "Krishna, Hari (FTT-CInternet)" wrote: > This is the line of code that causes the issue. Look in to JavaScript strings to understand why these two things are issues. "\" is an escape character. > document.getElementById("text"+i).value = ; Is that legal JavaScript? (Hint: No.) If you'

[s2 on J4] Error Message: Filter [struts2]: could not be initialized

2007-06-06 Thread johana pin
I am new to struts 2 (previously work with struts 1) and I try to build an application with spring on java 1.4 (websphere 6.0). I got this error when I try to access the deployed application: Error Message: Filter [struts2]: could not be initialized Error Code: 500 Target Servlet: null Error St

Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread MK Tan
you can put the previous added lateExtraAmount into session. After that, just retrieve it back from the session n do ur calculation. HTH, MK Tan On 6/4/07, prasad kumar <[EMAIL PROTECTED]> wrote: hi, iam using struts, i have one class i.e LateExtra,in this class i have wriiten the c

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Al Sutton
Read The Fabulous Manual -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 09:13 To: Struts Users Mailing List Subject: RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active. Hi guru I d

Re: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Antonio Petrelli
2007/6/6, Srinivasula Reddy A , Bangalore <[EMAIL PROTECTED]>: Hi guru I don't know the meaning of RTFM? What is meant by RTFM? Simple! STFW :-) Seriously, if you google it, you'll find the answer... (by the way, google STFW too...) What Guru intended to say is that you can find the solutio

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Srinivasula Reddy A , Bangalore
Hi guru volume of hits is less and my server is running on single machine only so give me some sample snippet for this kind of development -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 1:19 PM To: Struts Users Mailing List Subjec

[S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
Hi all, I have some objects in my app whose properties needs a "decode" in the view. I don't want to return property values already decoded to the view, I wish to decode them in the view. For the same reason, I also have to build some picklists with shown text different from value. Since we

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Srinivasula Reddy A , Bangalore
Hi guru I don't know the meaning of RTFM? What is meant by RTFM? -Original Message- From: Raghupathy, Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 1:19 PM To: Struts Users Mailing List Subject: RE: How to Protect the user to login in Multiple system (Multiple bro

[s2] Collection, array and tag.

2007-06-06 Thread Ezequiel Puig
Hi, I have been using struts 2 since a while and there is some things about the tag i don't understant. Let's say we have an array in our action (with the getters and setters): private String[] myArray; public String[] getMyArray() { return myArray; } pu

Struts 1.3.x : Dynavalidatorform : initialize & prepopulate ArralyList with data after submisstion

2007-06-06 Thread Raghupathy, Gurumoorthy
Hi, Situation : One DynaValidatorForm has a property of type "java.util.ArrayList" and size is not known in advance The Arraylist consists of elements of type "User" which is a simple Javabean and dispayed using st

RE: display current date in header

2007-06-06 Thread Raghupathy, Gurumoorthy
http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 08:54 To: 'Struts Users Mailing List' Subject: RE: display current date in header Thanks for your solution. It works fine. But I want to do

Re: How to Protect copying the URL in another explorer to access the data in Struts

2007-06-06 Thread Antonio Petrelli
2007/6/6, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]>: Read my prev answer What answer, RTFM? I'll say STFW this time :-) Googling "prevent bookmarking", the first result is: http://www.webmasterworld.com/forum48/1608.htm Antonio

RE: display current date in header

2007-06-06 Thread Ambaris Mohanty
Thanks for your solution. It works fine. But I want to do it without using scrip lets. How to do? AM -Original Message- From: Norbert Hirneisen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 12:01 PM To: 'Struts Users Mailing List' Subject: RE: display current date in header In

RE: How to Protect copying the URL in another explorer to access the data in Struts

2007-06-06 Thread Raghupathy, Gurumoorthy
Read my prev answer -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 07:45 To: Struts Users Mailing List Subject: How to Protect copying the URL in another explorer to access the data in Struts Hi Team, How

RE: How to Protect the user to login in Multiple system (Multiple browser) when the session is active.

2007-06-06 Thread Raghupathy, Gurumoorthy
My answer is "It depends". If the volume (number of hits) of your website is low and your server is on a single node then you can create a hashtable of users (user name as key) as an CONTEXT attribute and each time someone logs in you can check the user against the key in the hashtable ... if

[S2] Is Action thread-safe in struts 2?

2007-06-06 Thread Vincent Lin
Hi I am a newbie in struts2. I have a fundamental question abut s2. We all know that a Servlet is not a thread-safe object unless it implements SingleThreadModel. Is Action in s2 thread-safe or not? Container will create a new Action instance for each new request? Thanks!

RE: [S2] Struts2, JDK 1.4, retrotranslator

2007-06-06 Thread Jason Wyatt
A few other jars were required to be retrotranslated after all... for the record, to get Struts 2 working on JDK 1.4 on Oracle App Server 10R2 I had to run retrotranslator on: Struts2-*.jar (except struts2-core-j4-2.0.6.jar which was provided) jsf-api.jar jsf-impl.jar tiles-api-2.0-20070207.130

[s2] Is there a tag similar to in s1

2007-06-06 Thread Vincent Lin
Hi! Is there a tag in struts 2 which has similar function to in struts1 ? Thanks.

  1   2   >