Re: How to make HttpSession thread-safe????

2005-04-09 Thread leonnewsgroup
Hi BAL, Thanks for reply. Does it mean synchronized(session) { session.setAttribute(..., ); // do whatever else } ?? Leon - Original Message - From: "Brian Lee" <[EMAIL PROTECTED]> To: Sent: Saturday, April 09, 2005 4:06 PM Subject: RE: How to make HttpSession thread-safe??

RE: Which Version of J2EE with Struts?

2005-04-09 Thread David G. Friedman
Dom, It sounds like you need servlet.jar in your CLASSPATH or build path. Have you verified it is in the build/ant/CLASSPATH for compilation? Regards, David -Original Message- From: Dom Incollingo [mailto:[EMAIL PROTECTED] Sent: Saturday, April 09, 2005 9:57 PM To: Struts User Subject:

Re: How to create a web flow with Struts

2005-04-09 Thread Ted Husted
On Apr 9, 2005 9:01 PM, Joe Germuska <[EMAIL PROTECTED]> wrote: > Jack: > > This is totally out of line. BaTien has been a cordial and > considerate member of this community for a long time, and you are > totally twisting his words to suit your agenda. > > I am all for a community which fosters

Which Version of J2EE with Struts?

2005-04-09 Thread Dom Incollingo
Hello, Is Struts compatible with J2EE 1.4? I'm using Struts 1.2.4 with J2EE 1.4. I cannot compile Struts class MultipartRequestWrapper (it implements HttpServletRequest), because it does not implement four abstract methods added to the HttpServletRequest interface in J2EE 1.4. Should I be us

Re: How to create a web flow with Struts

2005-04-09 Thread Joe Germuska
Jack: This is totally out of line. BaTien has been a cordial and considerate member of this community for a long time, and you are totally twisting his words to suit your agenda. I am all for a community which fosters debate and embraces opposing opinions, but I am fed up with how you manipula

Re: How to create a web flow with Struts

2005-04-09 Thread Joe Germuska
There is a sample application (BirthDate) in Spring's CVS and it will be a part of a PR2 release on Sunday night. I plan on looking at Spring Web Flow this weekend and integrating into a Struts project next week. I'm working on integrating Spring Web Flow into a Struts application these days.

Re: Use of tokens

2005-04-09 Thread Erik Weber
Yes, tokens are used to prevent duplicate submits of a single form. These are the four methods your Action inherits from org.apache.struts.action.Action: protected String generateToken(HttpServletRequest request) { return token.generateToken(request); } protected boolean isTokenVal

Re: Use of tokens

2005-04-09 Thread Phil Steitz
It's a toy example, but the mailreader sample application included in the struts distribution demonstrates the use of tokens. Phil On Apr 9, 2005 5:22 PM, Brad Balmer <[EMAIL PROTECTED]> wrote: > Do people use tokens to disable multiple requests? I have pages that use > images to submit forms, t

Importing External JavaScript Files with Actions

2005-04-09 Thread Dakota Jack
Is there a way to import text.js into an HTML document with an Action? -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Use of tokens

2005-04-09 Thread Brad Balmer
Do people use tokens to disable multiple requests? I have pages that use images to submit forms, thus I cannot use javascript to disable the submit on multiple clicks. I was reading about tokens but couldn't find a full example except the three functions to call. If you can use tokens to disable

Re: How to create a web flow with Struts

2005-04-09 Thread Dakota Jack
> It is you again :-) Yes. The honest guy. > The "we" means our own group who puts its money, time and effort in > creating a service that "we" believe can effectively compete. This is the Struts list. Not the Liars Club. > "We" are just a bunch of pragmatic technology entrepreneurs. "W

RE: How to make HttpSession thread-safe????

2005-04-09 Thread Brian Lee
You can put an object in session and lock on it using synchronized. But this won't work over a cluster. BAL From: "leonnewsgroup" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: How to make HttpSession thread-safe Date: Sat, 9 Apr 2005 15:26:30 -0400 Hi All, Quick question, What

How to make HttpSession thread-safe????

2005-04-09 Thread leonnewsgroup
Hi All, Quick question, What is the strategies to make HttpSession thread-safe? Thanks. Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to create a web flow with Struts

2005-04-09 Thread Duong BaTien
Matt Raible wrote: Dakota Jack wrote: I will answer your question after clarifying BaTien's failure to respond to your question and his shameless promotion of another product through subterfuge. He is creating confusion. That is the whole point of Struts-Shale. Please be forewarned that Struts-Sh

Re: How to create a web flow with Struts

2005-04-09 Thread Duong BaTien
Dakota Jack wrote: I will answer your question after clarifying BaTien's failure to respond to your question and his shameless promotion of another product through subterfuge. He is creating confusion. That is the whole point of Struts-Shale. Please be forewarned that Struts-Shale is not Struts.

Re: How to create a web flow with Struts

2005-04-09 Thread Matt Raible
Dakota Jack wrote: I will answer your question after clarifying BaTien's failure to respond to your question and his shameless promotion of another product through subterfuge. He is creating confusion. That is the whole point of Struts-Shale. Please be forewarned that Struts-Shale is not Struts.

RE: html:options

2005-04-09 Thread Ruben Cepeda
Viniciius, Here is a link to the options user guide secition of the Struts user guide: http://struts.apache.org/userGuide/struts-html.html#options Look at the LabelName and LabelProprety attributes. * Ruben Cepeda [EMAIL PROTECTED] ***

Re: How to create a web flow with Struts

2005-04-09 Thread Dakota Jack
I will answer your question after clarifying BaTien's failure to respond to your question and his shameless promotion of another product through subterfuge. He is creating confusion. That is the whole point of Struts-Shale. Please be forewarned that Struts-Shale is not Struts. Struts-Shale is a

Re: fail to redepoy struts-blank.war after a recompile

2005-04-09 Thread Mohd. Jeffry
A quick check my blank.war dosen't have these files: 1480 Sun Sep 12 17:35:14 MYT 2004 WEB-INF/classes/MessageResources.properties 1480 Sun Sep 12 17:35:14 MYT 2004 WEB-INF/classes/resources/MessageResources.properties ...and after adding them to my blank directory everything works!!! my dosen'

Re: How to create a web flow with Struts

2005-04-09 Thread Duong BaTien
Néstor Boscán wrote: Hi I have a new project were I have to create an application that is a web flow of multiple standalone applications. Basically the user picks a service and the web flow will take the user to all the applications necessary to fulfill the service. We want to be able to save in a

fail to redepoy struts-blank.war after a recompile

2005-04-09 Thread Mohd. Jeffry
I can deploy my struts-blank.war that comes with my jakarta-struts-1.2.4.zip. For learning purposes I then tried these steps to recompile and redeploy: 1. I extract struts-blank.war to ../struts-blank 2. edit ../struts-blank/WEB-INF/src/build.xml to have to make project directory local to this d

RE: LazyLists and dynamic forms

2005-04-09 Thread Richard Rozema
-Oorspronkelijk bericht- Van: Rick Reumann [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 8 april 2005 16:04 Aan: Struts Users Mailing List Onderwerp: Re: LazyLists and dynamic forms > Sorry, I should have been more clear, I've been using the nested tag so > long I forgot that for what you w

html:options

2005-04-09 Thread Vinicius Caldeira Carvalho
Hello there! I've always used the with the collection attribute, so I had a separate bean with the collection. But now I'd like to have that collection on my form bean cuz it'll be stored on the session, and I have a utility filter that always remove my formbeans stored on the session after th