[OT]RE: concurrency problem
hi, Thanks all for your inputs. I need to ensure that sychronisation is should be happening on Unique object. I also have figured out the problem. I noticed a second thread was calling another methods of the bean. Which is not synchronised. Thanks again .. Regds Ashwani. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 8:22 PM > To: Struts Users Mailing List > Subject: Re: concurrency problem > > > > > > > Maybe I'm being dense here but: > > If every session contains a reference to the bean, and every thread is > synchronizing on their own session; > > It would seem that there would not be any concurrency control. > > I would think that they all need to sync on the same object. > > JC > > > > > "Kalra, Ashwani" > > <[EMAIL PROTECTED]To: > "Struts (E-mail)" > gemini.com> cc: > > Subject: > concurrency problem > 04/08/2005 06:10 > > AM > > Please respond to > > "Struts Users > > Mailing List" > > > > > > > > > I am facing concurrency problem in following scenario. > > > All our action classes call same stateful session bean . > Each action class > obtains the reference from HTTPSession object and calls one > and only one > business method. > To prevent the concurrent access to this instance which > occurs when user > immediately presses two links quickly in succession I am using the > following code block > > > > > execute(...) //execute methods of Action class > { > > > > > //Obtain the session from Request.User will always be in session here > session=request.getSession() > Synchronised(session) > { > //call ejb's business method. > } > > > } > > > However sometimes more than one thread is able to pass > through, And I get > exception from Appserver. As 2 threads are not allowed for statefull > Session bean. > Can there be problem in above code. Is it ok to synchronise on session > object. > > > > > > > > > > Thanks & Regds > Ashwani > > Ext: 1860 > > > > > > > > > > This message contains information that may be privileged or > confidential > and is the property of the Capgemini Group. It is intended > only for the > person to whom it is addressed. If you are not the intended > recipient, you > are not authorized to read, print, retain, copy, disseminate, > distribute, > or use this message or any part thereof. If you receive this > message in > error, please notify the sender immediately and delete all > copies of this > message. > > > > -- > > ** > The information contained in this communication is > confidential, private, proprietary, or otherwise privileged > and is intended only for the use of the addressee. > Unauthorized use, disclosure, distribution or copying is > strictly prohibited and may be unlawful. If you have > received this communication in error, please notify the > sender immediately at (312)653-6000 in Illinois; > (972)766-6900 in Texas; or (800)835-8699 in New Mexico. > ** > == > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] F
Re: Multiple struts-config.xml
Hi A better way is to use struts modules. Every Module has its own struts-configuration. If you use more than one struts configuration such as described below, you may have problems with duplicate identifiers, becaus struts builds one configuration out of all files. This problems you don't have using modules. Modules acts as a namespace in this case. -Manfred -- === Dipl.-Inf. Manfred Wolff Software Engineer --- http://www.manfred-wolff.de http://www.struts-it.org --- Folashade Adeyosoye wrote: Yes, in your web.xml Change this... AppName com.path.to.the.ActionServlet config /WEB-INF/struts-config.xml 1 To AppName com.path.to.the.ActionServlet config /WEB-INF/struts-config.xml,/WEB-INF/the-employee-config.xml,/WE B-INF/the-admin-config.xml,/WEB-INF/the-client-config.xml,/WEB-INF/the-billi ng-config.xml,/WEB-INF/the-report-config.xml,/WEB-INF/the-patient-config.xml 1 -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 11:04 PM To: 'Struts Users Mailing List' Subject: Multiple struts-config.xml Hi I have an application and I need to create many web flows. If I use struts to model the web flows, is it possible to use many struts-config.xml instead of one? Regards, Néstor Boscán - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple struts-config.xml
Yes, in your web.xml Change this... AppName com.path.to.the.ActionServlet config /WEB-INF/struts-config.xml 1 To AppName com.path.to.the.ActionServlet config /WEB-INF/struts-config.xml,/WEB-INF/the-employee-config.xml,/WE B-INF/the-admin-config.xml,/WEB-INF/the-client-config.xml,/WEB-INF/the-billi ng-config.xml,/WEB-INF/the-report-config.xml,/WEB-INF/the-patient-config.xml 1 -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 11:04 PM To: 'Struts Users Mailing List' Subject: Multiple struts-config.xml Hi I have an application and I need to create many web flows. If I use struts to model the web flows, is it possible to use many struts-config.xml instead of one? Regards, Néstor Boscán - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple struts-config.xml
Hi I have an application and I need to create many web flows. If I use struts to model the web flows, is it possible to use many struts-config.xml instead of one? Regards, Néstor Boscán - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Commons File Upload
The best place to post a question like this is the Commons Dev list which is responsible for Commons Upload. As a rule, dev questions should be addressed to the list, not to individuals. HTH, Ted. On Apr 10, 2005 8:37 PM, Dakota Jack <[EMAIL PROTECTED]> wrote: > Martin, would you be favorable to code that normalizes return file > names for the FileUploadBase getFileName(Map headers) method for > commons upload? I would suggest that this is the place to do it, > since, so far as I can tell, Internet Explorer is the only browser > that uses absolute file names, but even if this were not the case, the > only real options would be absolute file names, relative file names > with directories, and plain old file names. What do you think? > > Jack - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Commons File Upload
Martin, would you be favorable to code that normalizes return file names for the FileUploadBase getFileName(Map headers) method for commons upload? I would suggest that this is the place to do it, since, so far as I can tell, Internet Explorer is the only browser that uses absolute file names, but even if this were not the case, the only real options would be absolute file names, relative file names with directories, and plain old file names. What do you think? Jack -- "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 commands, e-mail: [EMAIL PROTECTED]
IE File Names in Multipart Request: file uploads
IE, somewhat incredibly, gives the absolute path as the file name in multipart requests. Commons file upload does not take action to make sure that the differing browsers give the same file name. Does the Struts upload package do something to keep this straight? Thanks. Jack -- "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 commands, e-mail: [EMAIL PROTECTED]
Re: How to create a web flow with Struts
Well, in my opinion, BaTien purposely misled the inquirer. If you don't think so, fine. I think it was fairly obvious or I would not have pointed it out. I am surprised you don't think so too. Jack On Apr 9, 2005 7:50 PM, Ted Husted <[EMAIL PROTECTED]> wrote: > 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 debate and embraces opposing > > opinions, but I am fed up with how you manipulate nearly every post > > you make to the Struts lists to prod at one or another of your pet > > positions. > > > > Your mean-spirited posts are polluting this community. How about > > responding to the list messages from your kinder, gentler "Shey Rab" > > identity for a while? > > > > Joe > > +1 > > What some people fail to understand is that Struts is not a product, > it's a community. The question isn't whether codebases share a > hierarchy. The question is whether codebases share a community of > developers. > > One thing this community of developers we call Struts has never > tolerated is personal attacks. It is one thing to disrespect a > technology, but we do not tolerate disrespecting individuals. > > The sad, ironic thing is that these sort of attacks only hurt the > attacker. Tonight, like many nights, the one who loses respect in the > eyes of the Struts community is not BaTien or Craig or any of the > other Shale volunteeers, who are only try to help. > > IMHO, the only truly off-topic posts to this list are the ones that > don't try to help, but only try to harm. > > -Ted. > > "Shale is here, have a beer, and get used to it." > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "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 commands, e-mail: [EMAIL PROTECTED]
Re: [REFERENDUM] Struts is a Community
Ted Husted wrote: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. I have been talking about JDNC and Flash so loonnggg. +1 for community. .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to make HttpSession thread-safe????
maybe you could tell us more about what you want to achieve, because it might be the case that you don't have to care that your session is thread safe... kr, guenther -Original Message- From: leonnewsgroup [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 8:08 AM To: Struts Users Mailing List Subject: Re: How to make HttpSession thread-safe 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 > 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 is the strategies to make HttpSession thread-safe? > >Thanks. > > > >Leon > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [REFERENDUM] Struts is a Community
I would say Struts is both a product and a community. And in my opion this is the great thing about Struts. Struts is a product because many individuals as well as compagnies build commercial web applications based on Struts. By searching one job-index here in Denmark I find several job-announcements which asks for Struts skills. These compagnies are not only start-up firms, but also firms like big insurance compagnies. So Struts is an important ram for open source in a commercial context. At the same time we are developer community by helping each other to get the best out of Struts and improving the product even more. Struts would be notthing without a community, but a developement community without a product would also be empty. So my +2 is keep up the good work for the produkt and the community. Regards Flemming On Sun, 10 Apr 2005 07:55:51 -0400, Ted Husted <[EMAIL PROTECTED]> wrote: As of about 2a EST this morning, 134,788 messages were posted to this list. Even for five years, that's a lot of traffic! Most of those messages have been about users helping other users. Some others, often marked "Friday" or "Beer" have been about users entertaining users. :) And, occasionally, we have waxed introspective and discussed "What is Struts anyway?". Some people have said that Struts is a brand that marks a product. Our benefactor, the Apache Software Foundation, calls Struts a "Project". Project is a good word, but it's really a euphemism: Project is an ASF code word that means "Community". From an ASF perspective, we're not here to build software, but to build a development community, and let the community build the software. We believe that great communities build great technology. Over the years, the Struts community *has* built some great technology. Aside from the Struts Action package, we've built Tiles and the Validator. We've built Bean-Utils and the Digester. And Collections, and File Upload, and Resources. And Chain. A good portion of all the components in the Jakarta Commons today is technology that Struts built. The technologies that Struts built are not just gizmos we use with our own controller or taglib components. Dozens of other software projects, and thousands of teams, use these technologies every day, whether they use our application framework or not. IMHO, this is what it means to be a community rather than a product, a people rather than a brand. It means that first we try to help each other, and then we try to package our solution to share with all comers. But, the map is not the land, and the solution is not the project. Since today is my birthday, I thought I'd take the liberty of calling for a referendum on a topic that is close to my heart: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bidimensional array for form property
Hello All, I'm boack working on Struts since a few years. I'm still using struts 1.1 with JDK 1.4.2 I'm trying to post a form that contains fields with name like this one: file[5][10] and so on... in the ActionForm I've these code: private FormFile[][] uFile=new FormFile[10][100]; ... public void setFile(FormFile[][] file) { uFile = file; } public FormFile[][] getFile() { return uFile; } but when I post the form I get the following error: 2005-04-10 19:32:25 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.IllegalArgumentException: array element type mismatch at java.lang.reflect.Array.set(Native Method) at org.apache.commons.beanutils.PropertyUtils.setIndexedProperty(PropertyUtils.java:1468) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1013) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.piyosailing.jClubHouse.filters.SignOnFilter.doFilter(SignOnFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) I tryed the same thing with one dimension array and it works fine, then I added the second dimension it started having this behaveur. Anybody know how to solve this problem? I looked around but didn't find anything like this. Thank you Simone - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [REFERENDUM] Struts is a Community
Ted Husted wrote: As of about 2a EST this morning, 134,788 messages were posted to this list. Even for five years, that's a lot of traffic! Most of those messages have been about users helping other users. Some others, often marked "Friday" or "Beer" have been about users entertaining users. :) And, occasionally, we have waxed introspective and discussed "What is Struts anyway?". Some people have said that Struts is a brand that marks a product. Our benefactor, the Apache Software Foundation, calls Struts a "Project". Project is a good word, but it's really a euphemism: Project is an ASF code word that means "Community". From an ASF perspective, we're not here to build software, but to build a development community, and let the community build the software. We believe that great communities build great technology. Over the years, the Struts community *has* built some great technology. Aside from the Struts Action package, we've built Tiles and the Validator. We've built Bean-Utils and the Digester. And Collections, and File Upload, and Resources. And Chain. A good portion of all the components in the Jakarta Commons today is technology that Struts built. The technologies that Struts built are not just gizmos we use with our own controller or taglib components. Dozens of other software projects, and thousands of teams, use these technologies every day, whether they use our application framework or not. IMHO, this is what it means to be a community rather than a product, a people rather than a brand. It means that first we try to help each other, and then we try to package our solution to share with all comers. But, the map is not the land, and the solution is not the project. Since today is my birthday, I thought I'd take the liberty of calling for a referendum on a topic that is close to my heart: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. A community with common interest in good software technologies is why i am here. Happy Birthday :-) BaTien DBGROUPS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [REFERENDUM] Struts is a Community
I would say we are both a product and a community. And in my opion this is a very good thing. Struts is a product because many compagnies build commercial web applications based on Struts. By searching one job-index here in Denmark I find several job-announcements which asks for Struts skills. These compagnies are not only start-up firms, but also firms like big insurance compagnies. So Struts is an important ram for open source in a commercial context. At the same time we are developer community by helping each other to get the best out of Struts and improving the product even more. Struts would be notthing without a community, but a developement community without a product would also be empty. So my +1 is keep up the good work for the produkt and the community. Regards Flemming On Sun, 10 Apr 2005 07:55:51 -0400, Ted Husted <[EMAIL PROTECTED]> wrote: As of about 2a EST this morning, 134,788 messages were posted to this list. Even for five years, that's a lot of traffic! Most of those messages have been about users helping other users. Some others, often marked "Friday" or "Beer" have been about users entertaining users. :) And, occasionally, we have waxed introspective and discussed "What is Struts anyway?". Some people have said that Struts is a brand that marks a product. Our benefactor, the Apache Software Foundation, calls Struts a "Project". Project is a good word, but it's really a euphemism: Project is an ASF code word that means "Community". From an ASF perspective, we're not here to build software, but to build a development community, and let the community build the software. We believe that great communities build great technology. Over the years, the Struts community *has* built some great technology. Aside from the Struts Action package, we've built Tiles and the Validator. We've built Bean-Utils and the Digester. And Collections, and File Upload, and Resources. And Chain. A good portion of all the components in the Jakarta Commons today is technology that Struts built. The technologies that Struts built are not just gizmos we use with our own controller or taglib components. Dozens of other software projects, and thousands of teams, use these technologies every day, whether they use our application framework or not. IMHO, this is what it means to be a community rather than a product, a people rather than a brand. It means that first we try to help each other, and then we try to package our solution to share with all comers. But, the map is not the land, and the solution is not the project. Since today is my birthday, I thought I'd take the liberty of calling for a referendum on a topic that is close to my heart: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [REFERENDUM] Struts is a Community
Happy Birthday Ted many happy returns. IMHO Struts is still a product, BUT with the added benefit that is supported by a community of beginners experts and the like. I constantly delve into technologies and being a Jack of many but master of none I constantly find myself thinking 'I wish product x had a single community like Struts', Microsoft Office products being one. +1 for Product (With an excellent support network). -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: 10 April 2005 12:56 To: Struts Users Mailing List Subject: [REFERENDUM] Struts is a Community As of about 2a EST this morning, 134,788 messages were posted to this list. Even for five years, that's a lot of traffic! Most of those messages have been about users helping other users. Some others, often marked "Friday" or "Beer" have been about users entertaining users. :) And, occasionally, we have waxed introspective and discussed "What is Struts anyway?". Some people have said that Struts is a brand that marks a product. Our benefactor, the Apache Software Foundation, calls Struts a "Project". Project is a good word, but it's really a euphemism: Project is an ASF code word that means "Community". From an ASF perspective, we're not here to build software, but to build a development community, and let the community build the software. We believe that great communities build great technology. Over the years, the Struts community *has* built some great technology. Aside from the Struts Action package, we've built Tiles and the Validator. We've built Bean-Utils and the Digester. And Collections, and File Upload, and Resources. And Chain. A good portion of all the components in the Jakarta Commons today is technology that Struts built. The technologies that Struts built are not just gizmos we use with our own controller or taglib components. Dozens of other software projects, and thousands of teams, use these technologies every day, whether they use our application framework or not. IMHO, this is what it means to be a community rather than a product, a people rather than a brand. It means that first we try to help each other, and then we try to package our solution to share with all comers. But, the map is not the land, and the solution is not the project. Since today is my birthday, I thought I'd take the liberty of calling for a referendum on a topic that is close to my heart: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Which Version of J2EE with Struts?
David, Thanks for the reply. I'm using Eclipse as an IDE and I'm trying to compile the source code there. There is a J2EE jar in my CLASSPATH, but not a separate servlet jar. The J2EE jar contains all the class files for the javax.servlet and javax.servlet.http packages. All the Struts code compiles when I remove the source code for MultipartRequestWrapper from the project. (The Struts jar files are in the build path, so any references to MultipartRequestWrapper still resolve.) But MultipartRequestWrapper won't compile because it does not implement all methods specified in the interface that it implements. Dom David G. Friedman wrote: 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: Which Version of J2EE with Struts? 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 using J2EE 1.3 rather than 1.4 with Struts? Or is there a version of Struts that supports J2EE 1.4? Thanks for your help. Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[REFERENDUM] Struts is a Community
As of about 2a EST this morning, 134,788 messages were posted to this list. Even for five years, that's a lot of traffic! Most of those messages have been about users helping other users. Some others, often marked "Friday" or "Beer" have been about users entertaining users. :) And, occasionally, we have waxed introspective and discussed "What is Struts anyway?". Some people have said that Struts is a brand that marks a product. Our benefactor, the Apache Software Foundation, calls Struts a "Project". Project is a good word, but it's really a euphemism: Project is an ASF code word that means "Community". From an ASF perspective, we're not here to build software, but to build a development community, and let the community build the software. We believe that great communities build great technology. Over the years, the Struts community *has* built some great technology. Aside from the Struts Action package, we've built Tiles and the Validator. We've built Bean-Utils and the Digester. And Collections, and File Upload, and Resources. And Chain. A good portion of all the components in the Jakarta Commons today is technology that Struts built. The technologies that Struts built are not just gizmos we use with our own controller or taglib components. Dozens of other software projects, and thousands of teams, use these technologies every day, whether they use our application framework or not. IMHO, this is what it means to be a community rather than a product, a people rather than a brand. It means that first we try to help each other, and then we try to package our solution to share with all comers. But, the map is not the land, and the solution is not the project. Since today is my birthday, I thought I'd take the liberty of calling for a referendum on a topic that is close to my heart: What do you say? Are we a product or a community? Here's my +1 for community. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]