Re: reset a request parameter to null
Do you use a page for your forward link or do you use an action? As I know you can only use reset if you forward to the action. Andreas - Original Message - From: Denis Wang [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 20, 2003 9:52 PM Subject: RE: reset a request parameter to null I tried but failed, unfortunately. I guess the *operation* will be kept as a request parameter if mapping.findForward() is used, EVEN if you remove *operation* from your ActionForm. Thanks for your attention. Denis -Original Message- From: Larry Zappeterrini [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:42 PM To: 'Struts Users Mailing List' Subject: RE: reset a request parameter to null Using your second below method but without including the parameter operation in the query string should accomplish. So the code would look like: return new ActionForward(mapping.findForward(success).getPath() + ?versionId= + versionId); Any calls to request.getParameter(operation) should return null after that. Larry -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null It isn't clear what you are trying to achieve; however one thing that jumps out is your use of request *attributes* as opposed to request *parameters*. When you append a URI thusly: foo?operation=barbaz=gak you are providing *parameters* and not attributes. Sri -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:19 PM To: Struts Users Mailing List Subject: reset a request parameter to null Hello, all, What is the easiest way to set the request paramter to null? I have OneForm and TwoForm, both of which have a field of operation. After OneAction is finished, the request will be forwarded to TwoAction. The wierd thing is that I cannot reset the operation parameter. I tried in the OneAction: request.setAttribute( operation, null ); OneForm.setOperation( null ); request.removeAttribute( operation ); return new ActionForward( mapping.findForward( success ).getPath() + ?operation=versionId= + versionId ); All above approaches do not work. The last one comes really close to set operation=. Does anybody have a decent way to set the parameter to null? Thanks. Denis -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] *** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: easy struts
Probably. -Original Message- From: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 17:20 To: [EMAIL PROTECTED] Subject: easy struts Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: easy struts
Hey all, does anybody develop with easy struts and eclipse ? Yep. This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: easy struts
Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: easy struts
I've a problem creating forms with the plugin, i cannot change the webapp folder for forms, it's always defaultroot. take a look at the attached screenshot ! anny idea ? best regards Fred Robert Hauschel -Ursprüngliche Nachricht- Von: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:40 An: 'Struts Users Mailing List' Betreff: RE: easy struts Hey all, does anybody develop with easy struts and eclipse ? Yep. This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] attachment: Bild1.gif-- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: easy struts
Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Getting ServletConfig and ServletContext.
Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: easy struts
Hey Emmanuel, is there a documentation about using easy struts ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: easy struts
Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Merging struts-config.xml files for different modules..
I think XDoclet may help you. http://xdoclet.sf.net []s Michael Nascimento Santos Sun Certified Programmer for the Java 2 Platform Sun Certified Programmer for the Java 2 Platform 1.4 Sun Certified Web Component Developer for J2EE Moderador SouJava - www.soujava.org.br - Original Message - From: Dan Tran [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 4:53 AM Subject: Re: Merging struts-config.xml files for different modules.. In Struts 1.1 B3 your can put all your strut config files in one line with coma separated. Dont know about web.xml, sorry -D - Original Message - From: Amit Keshav Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 20, 2003 10:51 PM Subject: Merging struts-config.xml files for different modules.. Hi I have a project with multiple modules. Development of the various modules and unit testing is done by different teams and each is having its own web.xml and struts-config.xml files. While integrating I need to merge all the web.xml and struts-config.xml files.. I dont want to do this merging manually. If someone is having some utility do this, it would be highly useful. Or any ideas on doing it the smart way ?? Thanks in advance. Amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OT] Eclipse IDE
Quoting Daniel H. F. e Silva [EMAIL PROTECTED]: Hi all, I know that it is very possible that this subject was already discussed here, but i couldn't search on archives (why is this resource disabled?). I'm beginning to design a software development process specification as a job task. It will include, for instance, a list of all tools, software, frameworks, etc, necessary to develop Web-based solutions in J2EE platform. And after doing a lot of research, i've found that open-source world has two leading IDEs: Netbeans and Eclipse. I'd like to hear about experiences with both of them. In my preliminary tests i guess it was difficult to work with Eclipse with focus on Web development. For instance, it doesn't have a cool JSP editor like Netbeans. That's true, even tough refactoring features and plugins for struts code generation outweight it. Last week I checked out Intellij Idea and it has great jsp editing support like struts tags completion, also it looks like it's more lightweight than Eclipse or Netbeans. I've tried an Eclipse plugin, but its features are inferior than Netbeans offered features. But i liked Eclipse's plugins feature. And it has a better aproach to manage code quality than Netbeans. So, opinions? Eclipse is probably the best you can get for free. Best regards, Daniel. PS: Sorry for possible language mistakes. English is not my native language. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: (Un)expected behaviour in Action instance variables?
Hi, fortunately, after more testing theory is right and it happends that should happen. You are right. It is my fault since I was testing the variable after previous asignment so the variable got the different values because I was asigning a new value in every execution, previously to the logging. The pointer is anyway unique, since the Action instance is the same. My next attemp will be to use ThreadLocal variables to try to made every value of the variable take different values for every execution (Thread). Not very polite perhaps, but I save to pass the request in every accesor invocation. Apologises and thanks, Adolfo From: Giri Alwar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: (Un)expected behaviour in Action instance variables? Date: Mon, 20 Jan 2003 12:49:51 -0600 However, it is ok to cache certain things as instance/class variables in your Action class provided they meet certain requirements. For instance, things like session EJB remotes can be cached as instance/class variables since they are both thread-safe and are not altered by requests (you will need to get and store the remote in your constructor for instance - if you plan on doing lazy initialization, ensure that your code is synchronized). Declaring a EJB home as a local variable for instance and fetching a new one every time a request arrives would result in degraded performance. In summary, visualize hundreds of threads using the same instance/class variables of your Action class simultaneously. The threads should not alter the state of these variables (unless such a change is synchronized and it is ok for subsequent threads to see the change - an example of this would be lazy initialization). If any method calls are invoked on those variables, visualize the same hundreds of threads calling those methods simultaneously. If those methods are thread-safe as well, then it is ok to declare it as an instance/class variable. Otherwise, declare it as a local variable. - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 12:08 PM Subject: (Un)expected behaviour in Action instance variables? Hi all, some of our teams have defined an instance variable in an Action. Wrong policy as said in the online docuemntation: *** http://jakarta.apache.org/struts/userGuide/building_controller.html#action_d esign_guide Only Use Local Variables - The most important principle that aids in thread-safe coding is to use only local variables, not instance variables, in your Action class. Local variables are created on a stack that is assigned (by your JVM) to each request thread, so there is no need to worry about sharing them. An Action can be factored into several local methods, so long as all variables needed are passed as method parameters. This assures thread safety, as the JVM handles such variables internally using the call stack which is associated with a single Thread. *** Such a variable is only declared in the class variable declarations an instantiated in perform() executions. My first impression was that they should refactor the code to move this variable to local as the paragraf above claims. However, we decided to test the execution so we opened two browsers. The surprise was that, despite is true that there was a unique Action, there were a different instance of the variable for each of two browsers. Furthermore, navigating along the app, such a variable was not overridden by the other execution and two instances exist (one for each browser). Automatically I wondered about the paragraf above, and where was my missuderstanding. I suppose if the variable were either static or instantiated in the Action constructor, the paragraf would be right. But not in our situation, I guess. Can any of you figure out what am I missuderstanding? Is the paragraf right? Is a different space in memory created for each instantiation, right? How and who knows which one to use to cover each request? The servlet engine? It shouldnt seems, I guess testing out of a web environment the same should happends. How can the Action class maintain a reference for each instance of the variable with a unique declaration (i.e. pointer)? :-( I feel an authentic newbie, regards, Adolfo. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,
missing some step(s) in i18n; setLocale() works, IE's settings dont
Hi all, Thanks for you help. I tried to convert my struts application to support multiple languages. However, it seems to me that application is not picking up the language setting set in IE (google does show up in Spanish, though). However, If I use setLocale in my LogonAction, the application does display the Spanish text (specified in ApplicationResources_es.properties) correctly. These are the steps that I did: 1) Put ApplicationResources.properties and ApplicationResources_es.properties under WEB-INF/resources 2) Put a content type UTF-8 declaration on top of all JSPs 3) Put (Craig/Apache)'s SetCharaceterEncodingFilter.java under filters in src. 4) Put the mapping of filter for ActionServlet in web.xml 5) Change the language of IE to spanish (the Google page does show up in Spanish). 6) Also tried to set the Locale in session in LogonAction.execute(), in which case, it picks up the correct file I am detailing the directory structure below, in case someone thinks it could be the issue. .ear |.war ||__servlet classes (some modules use HttpServlets) ||__filters | |___SetCharaceterEncodingFilter |.jar |__com.fdt.lcp.* (actions/forms/models/daos/ejbs/utils) The struts.jar is not a part of the ear file. It is under appserver/lib directory. The Struts application runs fine, but internationalization is not working. thanks a bunch, Amrinder PS: This the change that I made to my web.xml to put filter mapping for action: !-- Filter to set character encoding on each request -- filter filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueUTF-8/param-value /init-param /filter !-- Define filter mappings for the defined filters -- filter-mapping filter-nameSet Character Encoding/filter-name servlet-nameaction/servlet-name /filter-mapping
Re: Getting ServletConfig and ServletContext.
myAction extends Action { ServletContext sc = getServlet().getServletContext(); ServletConfig scf = getServlet().getServletConfig(); } - Original Message - From: Simon Kelly [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 4:58 AM Subject: Getting ServletConfig and ServletContext. Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting ServletConfig and ServletContext.
2003. január 21. 10:58 dátummal Simon Kelly ezt írtad: Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? There is a field called servlet, so you can use servlet.getServletContext(); http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html#servlet Hth, Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: missing some step(s) in i18n; setLocale() works, IE's settings dont
Probably not the problem here , but I encountered some issues with IE5's sending the accept-language header, where if one has modified ones 'Regional Settings' from the control panel, IE will sometimes use the default language selected there, and sometimes use the setting in IE languages. This seems to change between consecutive requests even and I havent quite pinned down under which circumstances it submits the correct setting and when it uses the regional settings one. JavaScript location.replace always seem to submit the regional settings language though, instead of the language set in IE. This probably isnt the problem in your case but might be worth checking just in case. -Original Message- From: Jagdish Arora [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 18:29 To: Struts Users Mailing List Subject: missing some step(s) in i18n; setLocale() works, IE's settings dont Hi all, Thanks for you help. I tried to convert my struts application to support multiple languages. However, it seems to me that application is not picking up the language setting set in IE (google does show up in Spanish, though). However, If I use setLocale in my LogonAction, the application does display the Spanish text (specified in ApplicationResources_es.properties) correctly. These are the steps that I did: 1) Put ApplicationResources.properties and ApplicationResources_es.properties under WEB-INF/resources 2) Put a content type UTF-8 declaration on top of all JSPs 3) Put (Craig/Apache)'s SetCharaceterEncodingFilter.java under filters in src. 4) Put the mapping of filter for ActionServlet in web.xml 5) Change the language of IE to spanish (the Google page does show up in Spanish). 6) Also tried to set the Locale in session in LogonAction.execute(), in which case, it picks up the correct file I am detailing the directory structure below, in case someone thinks it could be the issue. .ear |.war ||__servlet classes (some modules use HttpServlets) ||__filters | |___SetCharaceterEncodingFilter |.jar |__com.fdt.lcp.* (actions/forms/models/daos/ejbs/utils) The struts.jar is not a part of the ear file. It is under appserver/lib directory. The Struts application runs fine, but internationalization is not working. thanks a bunch, Amrinder PS: This the change that I made to my web.xml to put filter mapping for action: !-- Filter to set character encoding on each request -- filter filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueUTF-8/param-value /init-param /filter !-- Define filter mappings for the defined filters -- filter-mapping filter-nameSet Character Encoding/filter-name servlet-nameaction/servlet-name /filter-mapping -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
struts and roles, where to find documentation?
Hello, I want to extend my existing web-application with roles. I´ve read that you can define roles in the action-mappings part of the struts-config.xml file. But where can you create edit the users and available roles, does anyone have a documentation of this. are the users of tomcat used? how can i use them if the are not used? in which database are these useres und roles. I´m new to roles and useres management, and I absolutely don´t know anything about roles and struts, so any link to a documentation and tutorial is very welcome. Take care Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: struts and roles, where to find documentation?
2003. január 21. 12:09 dátummal Michael Olszynski ezt írtad: anything about roles and struts, so any link to a documentation and tutorial is very welcome. I learnt this from servlet spec 2.3 chapter 12 and from tomcat docs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[OT] Eclipse IDE - The Two Towers
Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Where to put a reference to a resource.
Hi all, Where would I have to configure a reference to a resource file so that when I called URLConnection connection = config.getServletContext().getResource(xmlResourceName).openConnection(); struts would know where to get xmlResourceName from? Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
struts 1.1b3 - commons jars, which version ?
At struts 1.1b3 lib there are commons jars files, how should I know the version of each one of them?
Re: Getting ServletConfig and ServletContext.
Thanks Tib And Jagdish. - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 11:22 AM Subject: Re: Getting ServletConfig and ServletContext. 2003. január 21. 10:58 dátummal Simon Kelly ezt írtad: Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? There is a field called servlet, so you can use servlet.getServletContext(); http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html#se rvlet Hth, Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
Hi and thanks in advance for any and all of your time... The above error appears in the JBoss console window when my ant script deploys the web module to JBOSS_HOME\server\default\deploy. I've googled on ERROR [Digester] Parse Error at line 13 column -1: Element taglib requires additional elements and drew 1 hit (http://www.cowsultants.com/phpBB/viewtopic.php?t=38) with (for the most part) almost exactly the exception that I get. I followed the advice given (namely to remove the taglibs section from web.xml) but no success. Another google on: digester parse error struts yielded many hits notably (http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15448.html) and some others and they all dealt with similar exceptions but not the one that I keep getting. Next, I deployed struts-documentation.war and looked at the requirements for using struts in my app and double-checked these against my setup and they were all correct in terms of the struts*.tld files that need to in WEB-INF, the taglibs in web.xml, and the descriptors in my .jsp. However, I must note that in the instructions that I worked from for this app there's a file named struts.tld that need to be included in WEB-INF but which I could not find in struts\lib??? Needless to say, this is the first time that I'm using struts. Have I missed something? Many thanks in advance Zain Below is the output from the console: 12:47:24,399 INFO [Engine] WebappLoader[/HelloClient]: Deploy JAR /WEB-INF/lib/ struts.jar to D: \Java\jboss\tomcat\work\MainEngine\localhost\HelloClient\WEB-INF \lib\struts.jar 12:47:25,160 ERROR [Digester] Parse Error at line 13 column -1: Element taglib requires additional elements. org.xml.sax.SAXParseException: Element taglib requires additional elements. at org.apache.crimson.parser.Parser2.error(Parser2.java:3160) at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.done(Val idatingParser.java:361) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1519) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.commons.digester.Digester.parse(Digester.java:1514) at org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig .java:977) at org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.ja va:1006) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java: 870) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64 7) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi g.java:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 493) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80 7) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(Emb eddedCatalinaService41.java:432) at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(Embedd edCatalinaService41.java:306) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:30 0) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy4.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:435) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:561) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:225) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:202) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: flow control decision making
Funny you should mention that. I've been wondering the same thing. Search the archives for a long discussion that Ted and I had on the issue. The short answer is no, there's not. The long answer is if I ever get any free time yes, there will be. Laird -- Laird J. Nelson Electronic Channel Group, Fidelity eBusiness (Veritude) * (508) 357-3142 * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Tony Baity [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 11:43 PM To: [EMAIL PROTECTED] Subject: flow control decision making Hello, I've been off the list for a while... busy coding up about 60 action classes and all the JNDI behind them. One thing I found about using the struts_config file is that it is a lot easier to refactor, fix flawed business rules dealing with page flow, etc in the struts config xml than it is to yank the java code around in the action classes. For instance, if I found that action X really needed to route to targets a, b, c and d instead of Action Y, I have to move the logic out of Action Y and put in into Action X whereas in the struts config all I need to do is move the forward lines between the two action elements. I was thinking of developing a way to make the routing logic separate from the business logic that does all the data accessing and updating. But all I can think of is to create another action class to forward to for handling this. Is there a way to specify in the struts_config a class that an action element can use just for determining the action_forward and to ignore the value returned by the action class. -Tony - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Justifying Tag Libraries - Slightly long
Hi all, After failing to convince my boss otherwise about his fear of slowing down the performance of an internationalizated web application by the use of Struts tags, I decided to set up a stress test environment to prove that tags do not have that high a performance issue. However, much to my dismay and surprise, I found that my boss was correct! Tags, do indeed, affect performance, and we are not talking about nanoseconds of difference. Here is my test environement and how I went about doing so: Single Client Machine: Windows XP Pro - with 512 MB RAM, Pentium 4 (1.7Mhz), IE 5.5. Server: Windows XP Pro running Weblogic 7.1 with 512 MB RAM, Pentium 4 (1.7 Mhz) Stress Test Tool: Microsoft Web Application Stress Tool Struts Version: Struts 1.1b2. Testing method: 1. Ran 1000 threads on a simple JSP page, which used bean tags to render the content of the page. This is a simple page, which contains a lot of text, all of which is read from ApplicationResources. This page was ideal for the test as it had the most tags (40+). 2. Ran 1000 threads on the same page. However, this page, is static, meaning, that the page accessed was pre generated using an internationlation mechanism that simply generates static html pages for different languages and puts them in respective i18ned directories. So a user who understands spanish would go to the document root for spanish and so on. Well, the results: Without boring you with all the figures, let me just put get into the result analysis. Overall, I found that for the first case, the difference between the time taken to get the first byte(ttfb) of the page and time taken to get the last byte(ttlb) of the page, was vast. In the second case, this difference was miniscual. This meant, that in the first case, the pages were received faster, but took longer to finish downloading. In the second case, the pages took slightly longer to come through, but finished downloading much much faster than the first case (150 times faster than first case). I ran the tests three times for 25, 100 and 1000 clients and all the tests results gave the same analysis. With these figures in hand, I had no answer to my boss's snide remarks about uh, hmm ... well never mind, except to say that I had no answer. What I am hoping from the list is if someone can help me understand why this would happen, would this be as expected and well, how do you still justify the usage of tags. Best Regards, Vikram Goyal
Re: AW: easy struts
Hi, I need some advice how can I made a war file after creating a Struts app using Easy Struts. Chears. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Emmanuel Boudrant [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 11:19 AM Subject: Re: AW: easy struts Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module
Afaik there are some problems with jboss + tomcat classloader since jboss has an old version of a few commons package on classpath and while deploying the application it finds the classes there so these jars are used thou struts requires newer version of them. It is just an idea. Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module
Hi, I got some trouble when I was using your version of Jboss + tomcat, I have change my jdk to a prior version 1.3.1 and choose to work with JBoss + Jetty. And now everything working fine. Hope this help. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 1:31 PM Subject: Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Afaik there are some problems with jboss + tomcat classloader since jboss has an old version of a few commons package on classpath and while deploying the application it finds the classes there so these jars are used thou struts requires newer version of them. It is just an idea. Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Problems upgrading from B1 to B3, loosing session scoped objects..
It seems to me that I loose some session scoped objects. This happened when upgrading my app, from B1 to B3. I have tried to compare the web.xml/struts-config.xml, -libs shipped with the struts-exercise shipped with the B3, - but are not able to figure out what is causing this. Any clues??? Geir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Justifying Tag Libraries - Slightly long
Profiling usually shows that pretty much of the overhead of a dynamically generated page is usually associated with char-to-byte conversion (which naturally doesn't occur when serving a static page). This is not related to taglibs actually, but hits any technology that takes characters on input and produces bytes on output (a HTTP response is ultimately a sequence of bytes) - JSP, template engines, whatnot. If you can pre-generate pages (i.e. they don't really have dynamic content, but are just localized versions), do so. Either as part of the build process, or on server startup. A nice technique for generating a page only once on demand is to insert a caching filter into the webapp - that way, a page will get rendered dynamically only once, and thereafter served from cache until the time you specify in its Expires HTTP header passes (if the pages rarely change, you can set it to expire, say, in next 24 hours). If only parts of the page are cacheable, you can use OpenSymphony's OSCache to cache only portions of the page. Another thing that can cause big slowdowns in JSP pages utilizing many tags is the (IMHO) horribly flawed design of BodyTag-s. The JSP spec mandates that a body of a tag - written into an internal BodyContent writer - be buffered, then the buffered content retrieved (say, in doAfterBody) and processed. With many nested tags, you get lots of buffering and (more-or-less) copying to the outer writer in a waterfall-alike manner. A much better design would have been (again, IMHO) to simply chain writers - a body tag gets a reference to the currently effective Writer, wraps it into another Writer that implements the transforming logic, then returns the new writer and the JSP runtime makes that the current writer. That way, nested body tags would create layers of writers - a write() on the writer of the innermost tag wold propagate to the outermost, transforming content along the way. Buffering would no longer be mandatory (altough still possible if the transformation algorithm calls for it - a Writer implementation could just buffer as much input as required to produce a chunk of output). In summary, consider server-side content caching. -- Attila Szegedi home: http://www.szegedi.org - Original Message - From: Vikram Goyal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: 2003. január 21. 5:09 Subject: Justifying Tag Libraries - Slightly long Hi all, After failing to convince my boss otherwise about his fear of slowing down the performance of an internationalizated web application by the use of Struts tags, I decided to set up a stress test environment to prove that tags do not have that high a performance issue. However, much to my dismay and surprise, I found that my boss was correct! Tags, do indeed, affect performance, and we are not talking about nanoseconds of difference. Here is my test environement and how I went about doing so: Single Client Machine: Windows XP Pro - with 512 MB RAM, Pentium 4 (1.7Mhz), IE 5.5. Server: Windows XP Pro running Weblogic 7.1 with 512 MB RAM, Pentium 4 (1.7 Mhz) Stress Test Tool: Microsoft Web Application Stress Tool Struts Version: Struts 1.1b2. Testing method: 1. Ran 1000 threads on a simple JSP page, which used bean tags to render the content of the page. This is a simple page, which contains a lot of text, all of which is read from ApplicationResources. This page was ideal for the test as it had the most tags (40+). 2. Ran 1000 threads on the same page. However, this page, is static, meaning, that the page accessed was pre generated using an internationlation mechanism that simply generates static html pages for different languages and puts them in respective i18ned directories. So a user who understands spanish would go to the document root for spanish and so on. Well, the results: Without boring you with all the figures, let me just put get into the result analysis. Overall, I found that for the first case, the difference between the time taken to get the first byte(ttfb) of the page and time taken to get the last byte(ttlb) of the page, was vast. In the second case, this difference was miniscual. This meant, that in the first case, the pages were received faster, but took longer to finish downloading. In the second case, the pages took slightly longer to come through, but finished downloading much much faster than the first case (150 times faster than first case). I ran the tests three times for 25, 100 and 1000 clients and all the tests results gave the same analysis. With these figures in hand, I had no answer to my boss's snide remarks about uh, hmm ... well never mind, except to say that I had no answer. What I am hoping from the list is if someone can help me understand why this would happen, would this be as expected and well, how do you still justify the usage of tags. Best Regards, Vikram Goyal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL
/ /OREF:CPT5CBB3 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
K. alexj, I'll roll back to 1.3.1 and see what happens - keep ya posted.Thanks... As for the possible disparity between the commons package, Tib, I'll look into it and post my findings. Thanks... Zain [EMAIL PROTECTED] hTo: [EMAIL PROTECTED] cc: 2003/01/21 02:34 Subject: Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user Hi, I got some trouble when I was using your version of Jboss + tomcat, I have change my jdk to a prior version 1.3.1 and choose to work with JBoss + Jetty. And now everything working fine. Hope this help. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 1:31 PM Subject: Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Afaik there are some problems with jboss + tomcat classloader since jboss has an old version of a few commons package on classpath and while deploying the application it finds the classes there so these jars are used thou struts requires newer version of them. It is just an idea. Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: easy struts
I can't speak for everyone, but you should be using Ant to build your projects no matter which IDE you choose. Every single (Java) IDE I've ever used (NetBeans, Jbuilder, Together, Eclipse, Idea) has either built-in support for Ant or at least a plug-in. I recently added tutorials that demonstrate building and deploying a sample Struts app with: 1. NetBeans - http://jakarta.apache.org/struts/faqs/eclipse.html 2. Eclipse - http://jakarta.apache.org/struts/faqs/netbeans.html If you see anything that needs correction, please let me know. -- James Mitchell -Original Message- From: alexj [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 7:31 AM To: Struts Users Mailing List Subject: Re: AW: easy struts Hi, I need some advice how can I made a war file after creating a Struts app using Easy Struts. Chears. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Emmanuel Boudrant [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 11:19 AM Subject: Re: AW: easy struts Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module
Just for kicks, download jboss-3.0.3/tomcat-4.0.5 and deploy that same app. It is one of the few versions that I can deploy any of my struts apps to without having to do work-arounds for classloader issues. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 7:31 AM To: Struts Users Mailing List Subject: Re: / /OREF:CPTDE96D JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Afaik there are some problems with jboss + tomcat classloader since jboss has an old version of a few commons package on classpath and while deploying the application it finds the classes there so these jars are used thou struts requires newer version of them. It is just an idea. Tib -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module
I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPT8B7BB Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
Might have a point - I could've made a mistake flippin somewhere. K, I'll try it ... jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
Should I keep to struts 1.1b3? jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module
Whatever you pick, make sure you use the correct version of the required jars (commons, oro, jdbc, etc). When I'm in a hurry, I just copy them from the binary download dist/lib directory and put them in my /WEB-INF/lib. I don't want to deal with reading the manifest, etc. Makes for quick work! (Upgrading is a different story, but I digress) -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Should I keep to struts 1.1b3? jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPTA75D8 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
I think that you may have unwittingly provided the solution to the problem. My instruction was to copy only the struts.jar to WEB-INF. When I looked at the unpacked war structure for the struts-documentation.war file in Tomcat's work dir, there were a whole bunch of commons and other jars. I'll copy ALL of these and redeploy. Keep you posted. jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:29 Subject: RE: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user Whatever you pick, make sure you use the correct version of the required jars (commons, oro, jdbc, etc). When I'm in a hurry, I just copy them from the binary download dist/lib directory and put them in my /WEB-INF/lib. I don't want to deal with reading the manifest, etc. Makes for quick work! (Upgrading is a different story, but I digress) -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Should I keep to struts 1.1b3? jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: easy struts
Thanks for writing it up. I would say an alternative is to set up your project in webapps\myProject, and run the Container outside of IDE (as you would in production). This makes it easy to configure Container ( Tomcat or Resin, or Orion, etc.) to save the session while you change the class live A good practice to be able to change the class and not have to restart Container, and not have to reacquire the session; while in dev. mode. Ex: If you change your Action Java code, and you are logged in to you webapp, you do not want to navigate back to the same point (save session) or restart container. Also, sometimes one uses more than one IDE at a time, ex: Eclipse and when it gets rought, Vi. .V James Mitchell wrote: I can't speak for everyone, but you should be using Ant to build your projects no matter which IDE you choose. Every single (Java) IDE I've ever used (NetBeans, Jbuilder, Together, Eclipse, Idea) has either built-in support for Ant or at least a plug-in. I recently added tutorials that demonstrate building and deploying a sample Struts app with: 1. NetBeans - http://jakarta.apache.org/struts/faqs/eclipse.html 2. Eclipse - http://jakarta.apache.org/struts/faqs/netbeans.html If you see anything that needs correction, please let me know. -- James Mitchell -Original Message- From: alexj [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 7:31 AM To: Struts Users Mailing List Subject: Re: AW: easy struts Hi, I need some advice how can I made a war file after creating a Struts app using Easy Struts. Chears. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Emmanuel Boudrant [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 11:19 AM Subject: Re: AW: easy struts Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPTB2AF2 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
Nope, it didn't help - I copied all the files that I found in WEB-INF\lib of unpacked war of struts-documentation and ran my build scripts again without shutting down. When the downloads finish, I'll implement your advice... Thanks Zain jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:29 Subject: RE: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user Whatever you pick, make sure you use the correct version of the required jars (commons, oro, jdbc, etc). When I'm in a hurry, I just copy them from the binary download dist/lib directory and put them in my /WEB-INF/lib. I don't want to deal with reading the manifest, etc. Makes for quick work! (Upgrading is a different story, but I digress) -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Should I keep to struts 1.1b3? jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: easy struts
-Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of V. Cekvenich Sent: Tuesday, January 21, 2003 8:39 AM To: [EMAIL PROTECTED] Subject: Re: AW: easy struts Thanks for writing it up. I would say an alternative is to set up your project in webapps\myProject, and run the Container outside of IDE (as you would in production). That's correct. I never run my apps with any IDE's plugged-in container. If needed, I'll remotely attach to the VM and debug from there. This makes it easy to configure Container ( Tomcat or Resin, or Orion, etc.) to save the session while you change the class live A good practice to be able to change the class and not have to restart Container, and not have to reacquire the session; while in dev. mode. Ex: If you change your Action Java code, and you are logged in to you webapp, you do not want to navigate back to the same point (save session) or restart container. Agreed. You have many options available with a good Ant build script. Anything you have to do 'by hand' can be (and usually already is) provided with ant tasks. In recent projects, I've used Ant to do tasks (ftp, database calls, etc) that are totally unrelated to software development. The possibilities are endless!!! Also, sometimes one uses more than one IDE at a time, ex: Eclipse and when it gets rought, Vi. .V Since I'm currently on Windoze, I use Textpad when not using Eclipse. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: easy struts
Hi, It's not possible with Easy Struts but you can use Tomcat Sysdeo plugin for building a war. -emmanuel --- alexj [EMAIL PROTECTED] a écrit : Hi, I need some advice how can I made a war file after creating a Struts app using Easy Struts. Chears. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Emmanuel Boudrant [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 11:19 AM Subject: Re: AW: easy struts Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: easy struts
I finally got you! :-) You wrote: I'm currently on Windoze, I use Textpad when not using Eclipse. VIM.org is GUI VI that runs on Windoze! And it runs in X. He, he, he. (as does Eclipse-Run in X. and of course everyone knows that RH 8 is avilable for free to download, they are not allowed to charge, RH can only charge for the CD). Oh yeah, ant is great, but just to comiple and run in dev., one does not have to set it up. .V James Mitchell wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of V. Cekvenich Sent: Tuesday, January 21, 2003 8:39 AM To: [EMAIL PROTECTED] Subject: Re: AW: easy struts Thanks for writing it up. I would say an alternative is to set up your project in webapps\myProject, and run the Container outside of IDE (as you would in production). That's correct. I never run my apps with any IDE's plugged-in container. If needed, I'll remotely attach to the VM and debug from there. This makes it easy to configure Container ( Tomcat or Resin, or Orion, etc.) to save the session while you change the class live A good practice to be able to change the class and not have to restart Container, and not have to reacquire the session; while in dev. mode. Ex: If you change your Action Java code, and you are logged in to you webapp, you do not want to navigate back to the same point (save session) or restart container. Agreed. You have many options available with a good Ant build script. Anything you have to do 'by hand' can be (and usually already is) provided with ant tasks. In recent projects, I've used Ant to do tasks (ftp, database calls, etc) that are totally unrelated to software development. The possibilities are endless!!! Also, sometimes one uses more than one IDE at a time, ex: Eclipse and when it gets rought, Vi. .V Since I'm currently on Windoze, I use Textpad when not using Eclipse. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: easy struts
Hi, It's not possible with Easy Struts but you can use Tomcat Sysdeo plugin for building a war. I use Lomboz for that. It is quite good a tcreating war, but it sucks for launching/stopping Tomcat. I presume using Ant is really a neat idea. Can anyone tell me if Ant is able to start/stop Tomcat? This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: easy struts
Yep that's very usefull . Thanks James. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: reset a request parameter to null
On the question of chaining actions you can search for Action Chaining and should find several threads in the archives. Sri -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:52 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null I would suggest overriding OneForm's reset() method and set the property 'operation' to null in it. Do you mean TwoForm's reset()? If yes, your suggestion is a doable approach. But my point is to have a decent way to set the parameter to null in OneAction /OneForm to avoid pollution to others instead of tranferring the burden to TwoForm/TwoAction, ThreeForm/ThreeAction Let me say in passing that it isn't a good idea to chain actions. There are other -- more robust -- means to achieve the same ends. This is a discussion in itself that has been given quite a bit of attention on this list in the past and so I won't go into it at length. Would you please give me a hint of the subject for the past discussion? I'd like to look into it. Thanks. Denis -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null It isn't clear what you are trying to achieve; however one thing that jumps out is your use of request *attributes* as opposed to request *parameters*. When you append a URI thusly: foo?operation=barbaz=gak you are providing *parameters* and not attributes. Sri -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:19 PM To: Struts Users Mailing List Subject: reset a request parameter to null Hello, all, What is the easiest way to set the request paramter to null? I have OneForm and TwoForm, both of which have a field of operation. After OneAction is finished, the request will be forwarded to TwoAction. The wierd thing is that I cannot reset the operation parameter. I tried in the OneAction: request.setAttribute( operation, null ); OneForm.setOperation( null ); request.removeAttribute( operation ); return new ActionForward( mapping.findForward( success ).getPath() + ?operation=versionId= + versionId ); All above approaches do not work. The last one comes really close to set operation=. Does anybody have a decent way to set the parameter to null? Thanks. Denis -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Getting ServletConfig and ServletContext.
ServletContext context = servlet.getServletContext(); Martedì, 21 gen 2003, alle 10:58 Europe/Rome, Simon Kelly ha scritto: Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? Cheers Simon Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe, Germany. Tel: (+49)/7247 82-4042 E-mail : [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: AW: easy struts
Can anyone tell me if Ant is able to start/stop Tomcat? I think you can start/stop tomcat with an Ant task (if it exist of course (or make it;) ). Paresse, quand tu nous tiens ;) -emmanuel --- ROSSEL Olivier [EMAIL PROTECTED] a écrit : Hi, It's not possible with Easy Struts but you can use Tomcat Sysdeo plugin for building a war. I use Lomboz for that. It is quite good a tcreating war, but it sucks for launching/stopping Tomcat. I presume using Ant is really a neat idea. Can anyone tell me if Ant is able to start/stop Tomcat? This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ClassCastException problem
See intermixed -Original Message- From: Jeremy Cavagnolo [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:31 PM To: [EMAIL PROTECTED] Subject: ClassCastException problem I am using struts 1.0.2 and tomcat 4.1.12. I have an Action that contains the following code: import org.alf.msq.data.Problem; ... public ActionForward perform(...) { ... ArrayList problemArray = new ArrayList(); problemArray.add(new Problem(1E)); problemArray.add(new Problem(1I)); problemArray.add(new Problem(1A)); request.setAttribute(problemArray, problemArray); ... return (mapping.findForward(probSelect)); } In probSelect.jsp, The following works: logic:iterate name=problemArray id=currentProb scope=request bean:write name=currentProb property=problemName/ /logic:iterate However, if I try to add type=org.alf.msq.data.Problem I get a ClassCastException. If it's working, why are trying to specify the type? Where are you trying to set the type? On the logic:iterate? I have tried casting an element of problemArray back to org.alf.msq.data.Problem in the jsp using every way I can think of and I always get the ClassCastException. Casting works correctly with other objects (like String), but none of my Objects. Casting of these objects works fine in all other java code too. I added the following to my Action class and it worked fine: ArrayList testArray = (ArrayList)request.getAttribute(problems); Problem prob = (Problem)testArray.get(0); I must be missing something huge here. Any help is greatly appreciated. Is your struts.jar in your application's WEB-INF/lib and *not* in any of the other locations where it might get picked by the other Tomcat classloaders? I admit, however, that even if this *were* the case you are more likely to get a ClassNotFoundException. Sorry I don't have any clear cut answers. Sincerely, Jeremy Sri -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPTF631B Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: DigesterParse Error when deploying web module
Aaarghhh! The problem persists - the only difference is that in the console, only the exception is printed - not the full stack trace. Anyway, I'll try an earlier version of struts and see what happens ... jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:29 Subject: RE: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user Whatever you pick, make sure you use the correct version of the required jars (commons, oro, jdbc, etc). When I'm in a hurry, I just copy them from the binary download dist/lib directory and put them in my /WEB-INF/lib. I don't want to deal with reading the manifest, etc. Makes for quick work! (Upgrading is a different story, but I digress) -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT98AED Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module Should I keep to struts 1.1b3? jmitchell@apache .org To: [EMAIL PROTECTED] cc: 2003/01/21 03:10 Subject: RE: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester PM Parse Error when deploying web module Please respond to struts-user I know, but it may help clarify that it isn't your fault. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:08 AM To: [EMAIL PROTECTED] Subject: / /OREF:CPT7E5A0 Re: JBoss 3.0.4 + Tomcat 4.1.12 + Struts 1.1-b3: Digester Parse Error when deploying web module K, - thanks James. The only thing is that doing this will leave the issue unresolved for me. Zain -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: html:rewrite gets the error message Body is supposed to be empty for html:rewrite
Replace with ' a class=menuItem href='html:rewrite page=/main.do/'Main/a Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Jagdish Arora [mailto:[EMAIL PROTECTED]] Sent: January 21, 2003 2:06 AM To: Struts Users Mailing List Subject: Re: html:rewrite gets the error message Body is supposed to be empty for html:rewrite try a class=menuItem href=html:rewrite page=/main.do/Main/a - Original Message - From: Jason Yam [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 1:09 AM Subject: html:rewrite gets the error message Body is supposed to be empty for html:rewrite Hi everyone, I get this error during executing html:rewrite. Anyone know how to solve this problem? Error message: Body is supposed to be empty for html:rewrite Source code: a class=menuItem href=html:rewrite page=/main.do/html:rewriteMain/a Thank you Jason -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: DynaActionForm question
Is it possible to instantiate an instance of DynaActionForm before I populate the page? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: January 20, 2003 7:58 PM To: Struts Users Mailing List Subject: Re: DynaActionForm question On Mon, 20 Jan 2003, Giri Alwar wrote: I have a question for the folks in general. What is the main reason for using the DynaActionForm class (as opposed to writing your own ActionForm)? That's it in a nutshell :-). Having to write fewer classes is goodness. While you don't have to write your own class with DynaActionForm, aren't you restricting yourself to using Struts taglibs (especially the bean taglibs?). You're certainly dependent on commons-beanutils. What if you want to use JSTL now or sometime in the future? If you look closely at the public API for DynaActionForm, you'll see the getMap() method. This returns the name/value map for the properties of the DynaBean, and makes it pretty easy to use JSTL with DynaActionForm beans. For example, the following are essentially equivalent: bean:write name=customer property=name/ c:out value=${customer.map.name}/ if customer points at a DynaActionForm bean. With the IDE's that we all use today, creating an ActionForm class with getter/setter methods is a breeze. Hence, what do you truly gain by using DynaActionForm? Not everyone has (or likes) an IDE. Giri Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Find message resources file from form bean (validate) - methoddepricated!
Hi! I have a problem finding a new way to find my resources file from the form bean. The code I have been used so far in my validate method is the following: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); UCUser user = (UCUser) request.getSession().getAttribute(Constants.MY_UCUSER); TelephoneNumberFormat telephoneNumberFormat = TelephoneNumberFormat.getInstance (user.getPhoneLocale()); FuzionConfig fuzionConfig = FuzionConfig.getInstance(); MessageResources messages = getServlet().getResources(); ... } Now, the 'getResources' method in class ActionServlet class has been depricated, the following note is provided in the java getResources public MessageResources getResources()Deprecated. Actions should call Action.getResources(HttpServletRequest) instead of this method, in order to retrieve the resources for the current module. Now - my problem! The form bean is not a subclass to the Action class. How is the best way to reach my message resources file?? Thanks in advance! /Linnéa -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
problem with beans taglib.
Hello, I have created a timeclock sub-app declaration in web.xml like so: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-nameconfig/timeclock/param-name param-value/WEB-INF/timeclock-config.xml/param-value /init-param inside timeclock-config.xml I have only one tag declared: struts-config message-resources key=timeclockproperties parameter=resources.timeclock/ /struts-config now on a seperate jsp, I want to access these properties using the bean tag. %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % bean:message bundle=timeclockproperties key=timeclock.title/ but I get this error: org.apache.jasper.JasperException: Cannot find message resources under key timeclockproperties I'm guessing I missed a step somewhere, any help would be great. I'm running struts 1.1 Thanks everyone! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
/ /OREF:CPT05BB6 Re: [OT] Standardised Environments (was RE: [OT] EclipseIDE)
:-)) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
db connection pool question
Hi, I am using a connection pool from org.apache.commons.dbcp.BasicDataSourceFactory and the driver is oracle.jdbc.driver.OracleDriver. It works great until if the server idle for a few days, then the connection object seems broken with this error: begin error mesg === java.sql.SQLException: Io exception: Software caused connection abort: socket wr ite error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:417) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:432) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedState ment.java:182) at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleCon nection.java:602)at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection .java:538)at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:197) ... = end of error mesg What happen and how can I prevent this? Thanks. David __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Here is a pointer to an intensive management training program that may work for them: http://www.dilbert.com/comics/dilbert/the_characters/index.html#boss Andrew HillTo: Struts Users Mailing List [EMAIL PROTECTED] [EMAIL PROTECTED] cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) m Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) 01/21/2003 09:40 AM Please respond to Struts Users Mailing List So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Similar things going on where I am at. It's to be expected when you work for the military. :) (I work with highly insensitive materials, however at night I'm a secret agent. The two aren't related.) It's mostly a lot of talk though. You will use that and you will not use anything else. It never holds up because the bottom line is that the work needs to get done. It's such a pain to get commercial software (still waiting on IDEA), the free stuff is a no-brainer, go download it. I'm using netbeans, ant, tomcat, struts, junit, etc, even though none of these products have been blessed, they are all kicking a lot of ass. Standards are important, but not so much that you have to cram them down everyone's throats. Standardized methodologies, i.e., these are our techniques for analysing and designing, and we use versioning control and we test our code, are much more valuable than forcing developers to use a particular toolset. At one time their was talk of us being told we have to use JDeveloper. What a nightmare that would have been. However, I draw the line at what MP3 player people use. In my office, it's Winamp, or no music, no debate. L8r, Dave -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:31 AM To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: db connection pool question
please look at the thread with subject Problem with JDBC Struts Connection Pool (possible to recon nect?). Matt Raible had a solution to that by setting autoReconnect=true -Original Message- From: david chan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:56 AM To: Struts Users Mailing List Subject: db connection pool question Hi, I am using a connection pool from org.apache.commons.dbcp.BasicDataSourceFactory and the driver is oracle.jdbc.driver.OracleDriver. It works great until if the server idle for a few days, then the connection object seems broken with this error: begin error mesg === java.sql.SQLException: Io exception: Software caused connection abort: socket wr ite error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:417) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:432) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedState ment.java:182) at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleCon nection.java:602)at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection .java:538)at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConn ection.java:197) ... = end of error mesg What happen and how can I prevent this? Thanks. David __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Waaa ! It took us 2 years to come to struts + log4j. I'm trying to promote tomcat and eclipse as test/development platform... for 2004 ? Perhaps Linux and PostgreSQL in 2020. Nico. Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: DynaActionForm question
2003. janur 21. 15:35 dtummal [EMAIL PROTECTED] ezt rtad: Is it possible to instantiate an instance of DynaActionForm before I populate the page? Yes, for an example in your prepopulating action. Create an action which collects the data and populates your form. And assign the same actionform to this action. Hth Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Oh and I forgot to add Ant, Log4J, Cactus and Scarab. Life is grand when most people don't have a clue what the hell you are doing. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:00 AM To: Struts Users Mailing List Subject: Re: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Waaa ! It took us 2 years to come to struts + log4j. I'm trying to promote tomcat and eclipse as test/development platform... for 2004 ? Perhaps Linux and PostgreSQL in 2020. Nico. Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Easy struts
Re, I got some strange error when I create a tomcat project and then add easy struts support (with eclipse). If I didn't had to the tomcat project the struts lib and common lib + servlet I got classpath error. If in my .classpath config file is like this one : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=var path=JRE_LIB rootpath=JRE_SRCROOT sourcepath=JRE_SRC/ classpathentry kind=var path=TOMCAT_HOME/common/lib/servlet.jar/ classpathentry kind=var path=TOMCAT_HOME/common/lib/jasper-runtime.jar/ classpathentry kind=src path=WEB-INF/src/ classpathentry kind=src path=work/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/servlet.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/jdbc2_0-stdext.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/jakarta-oro.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-validator.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-services.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-resources.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-pool.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-logging.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-lang.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-fileupload.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-digester.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-dbcp.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-collections.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/commons-beanutils.jar/ classpathentry kind=lib path=/IBMSS/defaultroot/WEB-INF/lib/struts.jar/ classpathentry kind=output path=WEB-INF/classes/ /classpath I always got Missing required library /IBMSS/defaultroot/WEB-INF/lib/*.jar And if the config file is this one : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=var path=JRE_LIB rootpath=JRE_SRCROOT sourcepath=JRE_SRC/ classpathentry kind=var path=TOMCAT_HOME/common/lib/servlet.jar/ classpathentry kind=var path=TOMCAT_HOME/common/lib/jasper-runtime.jar/ classpathentry kind=src path=WEB-INF/src/ classpathentry kind=src path=work/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-beanutils.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-collections.jar / classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-dbcp.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-digester.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-fileupload.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-lang.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-logging.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-pool.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-resources.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-services.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/commons-validator.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/jakarta-oro.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/jdbc2_0-stdext.jar/ classpathentry kind=lib path=C:/JBuilder8/extras/jakarta-struts-1.1-b2/lib/struts.jar/ classpathentry kind=output path=WEB-INF/classes/ /classpath I didn't get missing library errors (I really don't wan't to work anymore with JB8 :) ) Any idea ?? -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Réf. : Re: AW: easy struts
Is the new version will works with eclipse 2.1 M4 ?? Jean-Pierre ROMEYER, Hardis http://www.hardis.com Emmanuel Boudrant [EMAIL PROTECTED] 21/01/2003 11:19 Veuillez répondre à Struts Users Mailing List Pour : Struts Users Mailing List [EMAIL PROTECTED] cc : Objet : Re: AW: easy struts Yes it's mesorry I think somebody send me a patch about this bug, I going to release a new version this WE. This bug appear when you add support to a tomcat (Sysdeo) projet -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey, you are the guy, who isn't reachable Hi. This is the qmail-send program at dom.future-invent.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: so i'm sure you can answer my last question... Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 10:55 An: Struts Users Mailing List Betreff: Re: easy struts Hi, I develop Easy Struts ... and I use Easy Struts for my struts apps ;) I think some people use it too. Actually I haven't got time for update it ;( so there is some few bugs...to be continued... Thx, -emmanuel --- Softwareentwicklung Hauschel [EMAIL PROTECTED] a écrit : Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
I agree, that working in the dark corners churning out working code is the best way to silence management and that's what I try to do. I'm just dispairing about the fact that management think that their actions are necessary. I'm a known corporate rebel anyway and I install whatever I want on my machine. Sometimes I get in trouble for it, especially Struts, but then after management has it's screaming fit, they come around to seeing that I was right. Other than being directed by my manager to send out apology emails now and then, it's almost fun. BTW: Winamp sucks, try Music Match Jukebox if you use a Windows box, otherwise iTunes rocks! (I love my Mac! :-) Simon -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:04 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Oh and I forgot to add Ant, Log4J, Cactus and Scarab. Life is grand when most people don't have a clue what the hell you are doing. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:00 AM To: Struts Users Mailing List Subject: Re: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Waaa ! It took us 2 years to come to struts + log4j. I'm trying to promote tomcat and eclipse as test/development platform... for 2004 ? Perhaps Linux and PostgreSQL in 2020. Nico. Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL
Re: [OT] Eclipse IDE - The Two Towers
On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Eclipse IDE - The Two Towers
-Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. You are so right, but also so not going to get that. Sorry. See the Standardised Environments thread for this very point. Simon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: db connection pool question
On Tuesday, January 21, 2003, 9:56:09 AM, david wrote: dc Hi, I am using a connection pool from dc org.apache.commons.dbcp.BasicDataSourceFactory and the driver is dc oracle.jdbc.driver.OracleDriver. It works great until if the dc server idle for a few days, then the connection object seems dc broken with this error: begin error mesg === dc java.sql.SQLException: Io exception: Software caused connection dc abort: socket wr ite error at I believe I had similar problems here as well but it usually only happened when the DBA would for some reason decide to kill connections that were open. I went with configuring the pooling with whatever comes packaged with Tomcat and configuring it in the server.xml making sure to add the extra overhead of performing a validation query parameter namevalidationQuery/name valueSELECT 'CRAP' FROM DUAL/value /parameter Not sure what app server you are running but maybe somewhere you can set up a similar parameter to make sure it is handing out a valid connection from the pool. I'm pretty clueless when it comes to this stuff and just followed some examples I saw. Until I added the above validationQuery I believe I got similar errors to what you experienced. -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
That's why you could never work in my office. It's Winamp or the road. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:12 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I agree, that working in the dark corners churning out working code is the best way to silence management and that's what I try to do. I'm just dispairing about the fact that management think that their actions are necessary. I'm a known corporate rebel anyway and I install whatever I want on my machine. Sometimes I get in trouble for it, especially Struts, but then after management has it's screaming fit, they come around to seeing that I was right. Other than being directed by my manager to send out apology emails now and then, it's almost fun. BTW: Winamp sucks, try Music Match Jukebox if you use a Windows box, otherwise iTunes rocks! (I love my Mac! :-) Simon -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:04 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Oh and I forgot to add Ant, Log4J, Cactus and Scarab. Life is grand when most people don't have a clue what the hell you are doing. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:00 AM To: Struts Users Mailing List Subject: Re: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Waaa ! It took us 2 years to come to struts + log4j. I'm trying to promote tomcat and eclipse as test/development platform... for 2004 ? Perhaps Linux and PostgreSQL in 2020. Nico. Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.
RE: [OT] Eclipse IDE - The Two Towers
I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
-Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:19 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) That's why you could never work in my office. It's Winamp or the road. Your loss! :-P -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: db connection pool question
Actually, the solution that I had only works for MySQL. I'm having the same problem with Oracle. Funny - I just posted a message to the commons-user group asking this same question. I'll try adding the validationQuery parameter: parameter namevalidationQuery/name valueSELECT 'CRAP' FROM DUAL/value /parameter Thanks, Matt -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 7:58 AM To: 'Struts Users Mailing List' Subject: RE: db connection pool question please look at the thread with subject Problem with JDBC Struts Connection Pool (possible to recon nect?). Matt Raible had a solution to that by setting autoReconnect=true -Original Message- From: david chan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:56 AM To: Struts Users Mailing List Subject: db connection pool question Hi, I am using a connection pool from org.apache.commons.dbcp.BasicDataSourceFactory and the driver is oracle.jdbc.driver.OracleDriver. It works great until if the server idle for a few days, then the connection object seems broken with this error: begin error mesg === java.sql.SQLException: Io exception: Software caused connection abort: socket wr ite error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:417) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:432) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedState ment.java:182) at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleCon nection.java:602)at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection .java:538)at org.apache.commons.dbcp.DelegatingConnection.prepareStatement( DelegatingConn ection.java:197) ... = end of error mesg What happen and how can I prevent this? Thanks. David __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Justifying Tag Libraries - Slightly long
You tested a static page against a dynamic page. You should have tested 2 dynamic pages; one that used tags and one that didn't. Your conclusion is meaningless. On Tue, 21 Jan 2003, Vikram Goyal wrote: Hi all, After failing to convince my boss otherwise about his fear of slowing down the performance of an internationalizated web application by the use of Struts tags, I decided to set up a stress test environment to prove that tags do not have that high a performance issue. However, much to my dismay and surprise, I found that my boss was correct! Tags, do indeed, affect performance, and we are not talking about nanoseconds of difference. Here is my test environement and how I went about doing so: Single Client Machine: Windows XP Pro - with 512 MB RAM, Pentium 4 (1.7Mhz), IE 5.5. Server: Windows XP Pro running Weblogic 7.1 with 512 MB RAM, Pentium 4 (1.7 Mhz) Stress Test Tool: Microsoft Web Application Stress Tool Struts Version: Struts 1.1b2. Testing method: 1. Ran 1000 threads on a simple JSP page, which used bean tags to render the content of the page. This is a simple page, which contains a lot of text, all of which is read from ApplicationResources. This page was ideal for the test as it had the most tags (40+). 2. Ran 1000 threads on the same page. However, this page, is static, meaning, that the page accessed was pre generated using an internationlation mechanism that simply generates static html pages for different languages and puts them in respective i18ned directories. So a user who understands spanish would go to the document root for spanish and so on. Well, the results: Without boring you with all the figures, let me just put get into the result analysis. Overall, I found that for the first case, the difference between the time taken to get the first byte(ttfb) of the page and time taken to get the last byte(ttlb) of the page, was vast. In the second case, this difference was miniscual. This meant, that in the first case, the pages were received faster, but took longer to finish downloading. In the second case, the pages took slightly longer to come through, but finished downloading much much faster than the first case (150 times faster than first case). I ran the tests three times for 25, 100 and 1000 clients and all the tests results gave the same analysis. With these figures in hand, I had no answer to my boss's snide remarks about uh, hmm ... well never mind, except to say that I had no answer. What I am hoping from the list is if someone can help me understand why this would happen, would this be as expected and well, how do you still justify the usage of tags. Best Regards, Vikram Goyal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
most of the process took about 6 months, which isn't bad at all in my opinion. as far as opposition is concered, we got some from the chronologically challenged members of the team but alas, they were outnumbered. my only wish is that jEdit would improve its vi plugin. then the circle would really be complete. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: [OT] Eclipse IDE - The Two Towers
I think there exist many and more fruitful ways to express your individuality than using IDE A rather than that ide B. If the IDE is not important, why not standardize one: Makes it easier for administrators to setup new boxes, allows to pass the box to another member of your team, allows to use the same plug-ins and so on: Just think about Integration with version-Control: Cowboy-Coder A uses Eclipse which has a bug with Perforce-Integration, Cowboy-Coder B insists on using IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder comes in and is totally confused as there exist three ways of setting up your enviroment. No Standards at all are ok if you have a team-size of one... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:20 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: easy struts
I tried to on many occasions, but it never worked for me. I reported a bug and the author told me that I had to have the Package Explorer visible when I tried to Add Easy Struts Support... but I did have it visible. I never got a response back from him. I'm currently very happy using NetBeans and StrutsConsole. Kenny Smith JournalScape.com Softwareentwicklung Hauschel wrote: Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FormBean (ActionForm) vs BusinessObject (JavaBean)
I am writing a document about the design of my struts application and I have difficulites to explain the view components behavior. It is probabaly because I don't understant well how the view part of the Struts framework runs. Here as I work and thank you in advance to indicate to me that it is the best method if it is not this one. All the data which I wish to display is reprensted in the form of JavaBean. Through the action class I ask to the remote application server a XML description of the businness object and then I fill a JavaBean instance. In the JSP I use the bean tag library (bean:write for example) to display data. In the cas of the view must accept input from users, I have used an DynaActionForm (or FormBean I think it is two words for the same context isn't it ?). I define a form-property for each input of the user. Then in the JSP page I add the tag html:form and html:text property= to point on a specif property in the case or I need to save the value of the input user, I defined a JavaBean class to store this information. The JavaBean is updated in the Action class, with this method: DynaValidatorForm loginForm = (DynaValidatorForm)form; User userInfo; String userName = (String)(loginForm.get(userName)); String password = (String)(loginForm.get(password)); userInfo.setPassword(password); userInfo.setUserName(userName); Is it the best think to do with an aim of ensuring synchronization between FormBean and Business Delegates/Value objects . We have the impression to duplicate variables that are in your Value Objects in your form object. The code example describes the link FormBean - JavaBean (value object). But I never use the link JavaBean (value object) - FormBean because in this case I used the bean:write tag. I am not perhaps very clear to excuse me but it is undoubtedly with the fact that I have difficulties tounderstand well how runs the Struts view components (FormBean). if somebody has a diagram which explains this mechanism thank you to send it. Sandra ...OLE_Obj... ...OLE_Obj... ...OLE_Obj... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
What about management? I'm sure they liked the idea of saving alot of money. But how did they respond to open source solutions? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:28 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) most of the process took about 6 months, which isn't bad at all in my opinion. as far as opposition is concered, we got some from the chronologically challenged members of the team but alas, they were outnumbered. my only wish is that jEdit would improve its vi plugin. then the circle would really be complete. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL
FormBean (ActionForm) vs BusinessObject (JavaBean)
I am writing a document about the design of my struts application and I have difficulites to explain the view components behavior. It is probabaly because I don't understant well how the view part of the Struts framework runs. Here as I work and thank you in advance to indicate to me that it is the best method if it is not this one. All the data which I wish to display is reprensted in the form of JavaBean. Through the action class I ask to the remote application server a XML description of the businness object and then I fill a JavaBean instance. In the JSP I use the bean tag library (bean:write for example) to display data. In the cas of the view must accept input from users, I have used an DynaActionForm (or FormBean I think it is two words for the same context isn't it ?). I define a form-property for each input of the user. Then in the JSP page I add the tag html:form and html:text property= to point on a specif property in the case or I need to save the value of the input user, I defined a JavaBean class to store this information. The JavaBean is updated in the Action class, with this method: DynaValidatorForm loginForm = (DynaValidatorForm)form; User userInfo; String userName = (String)(loginForm.get(userName)); String password = (String)(loginForm.get(password)); userInfo.setPassword(password); userInfo.setUserName(userName); Is it the best think to do with an aim of ensuring synchronization between FormBean and Business Delegates/Value objects . We have the impression to duplicate variables that are in your Value Objects in your form object. The code example describes the link FormBean - JavaBean (value object). But I never use the link JavaBean (value object) - FormBean because in this case I used the bean:write tag. I am not perhaps very clear to excuse me but it is undoubtedly with the fact that I have difficulties tounderstand well how runs the Struts view components (FormBean). if somebody has a diagram which explains this mechanism thank you to send it. Sandra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Eclipse IDE - The Two Towers
The IDE is important to the developer, but not to the team. Therefore the developer should pick their own IDE. The build system is important to the team, so the team should pick the build system. The Source Code Management system is important to the company, so let the company pick the SCM. I have no objection to standards that help a given situation, but standards don't help when they are used like duct tape to bind your hands. I actually prefer to use text editors instead of IDE's, but if the developer in the next cube wants to use an IDE, then that is fine. As long as they produce good code that meets the project need and passes it's unit tests, what do I care how it was brought into being. Simon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:30 AM To: [EMAIL PROTECTED] Subject: AW: [OT] Eclipse IDE - The Two Towers I think there exist many and more fruitful ways to express your individuality than using IDE A rather than that ide B. If the IDE is not important, why not standardize one: Makes it easier for administrators to setup new boxes, allows to pass the box to another member of your team, allows to use the same plug-ins and so on: Just think about Integration with version-Control: Cowboy-Coder A uses Eclipse which has a bug with Perforce-Integration, Cowboy-Coder B insists on using IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder comes in and is totally confused as there exist three ways of setting up your enviroment. No Standards at all are ok if you have a team-size of one... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:20 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Detecting what linkof the page is pressed
Hello, I have a jsp page containing multiple html:links. Is it possible to get information about that what html:link is pressed by user and then put own variable flag to e.g. session? I mean e.g. code like below: !-- start of jsp -- html:link forward=myapp.mypage1 logic:match ... jsp:setProperty name=myBean property=selection value=myapp.mypage1 / /logic:match /html:link html:link forward=myapp.mypage2 logic:match ... jsp:setProperty name=myBean property=selection value=myapp.mypage2 / /logic:match /html:link !-- end of jsp -- Or are there other solutions? Thanks, rick _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
Typically management worry about not having someone to blame if there is a problem. My own manager was asking who we would have recourse against (is this a polite way of saying Sue them into the ground?) if there was a problem with the Struts code. I told him that there was the ASF, but that there is an explicit no warranty clause in the Apache licence. He wasn't keen to hear that. Money is usually a very small factor in the issue. Simon -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:43 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) What about management? I'm sure they liked the idea of saving alot of money. But how did they respond to open source solutions? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:28 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) most of the process took about 6 months, which isn't bad at all in my opinion. as far as opposition is concered, we got some from the chronologically challenged members of the team but alas, they were outnumbered. my only wish is that jEdit would improve its vi plugin. then the circle would really be complete. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL
RE: [OT] Eclipse IDE
Daniel, Eclipse is much faster than Netbeans, in my opinion, and is not as much of a memory hog as Netbeans is. If you select the right plug-ins, Eclipse is an excellent IDE for all J2EE development EXCEPT JSP pages. We use Eclipse here for everything (EJB, Java Beans, servlets) BUT JSP development, and use Macromedia Dreamweaver MX for the JSP development. Dreamweaver MX has the ability to pull in external tag libraries into the IDE, and will enable code completion for those tag libraries inside of it's IDE. So when I incorporated the Struts logic, HTML, and bean tag libraries into Dreamweaver, the code completion for those tags is enabled for our JSP developers. HTML layout/design is also much simpler in Dreamweaver, as long as you stay away from the wizards that are included in Dreamweaver (adds too much extraneous code into the HTML). Hopefully, the HTML and JSP development features of Eclipse will be improved soon. Celeste -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE Hi all, I know that it is very possible that this subject was already discussed here, but i couldn't search on archives (why is this resource disabled?). I'm beginning to design a software development process specification as a job task. It will include, for instance, a list of all tools, software, frameworks, etc, necessary to develop Web-based solutions in J2EE platform. And after doing a lot of research, i've found that open-source world has two leading IDEs: Netbeans and Eclipse. I'd like to hear about experiences with both of them. In my preliminary tests i guess it was difficult to work with Eclipse with focus on Web development. For instance, it doesn't have a cool JSP editor like Netbeans. I've tried an Eclipse plugin, but its features are inferior than Netbeans offered features. But i liked Eclipse's plugins feature. And it has a better aproach to manage code quality than Netbeans. So, opinions? Best regards, Daniel. PS: Sorry for possible language mistakes. English is not my native language. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
The beauty of open-source: if there is a problem with the Struts code, open up the source, fix it, and submit the patch. Everyone benefits. Jerry -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:44 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Typically management worry about not having someone to blame if there is a problem. My own manager was asking who we would have recourse against (is this a polite way of saying Sue them into the ground?) if there was a problem with the Struts code. I told him that there was the ASF, but that there is an explicit no warranty clause in the Apache licence. He wasn't keen to hear that. Money is usually a very small factor in the issue. Simon -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:43 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) What about management? I'm sure they liked the idea of saving alot of money. But how did they respond to open source solutions? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:28 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) most of the process took about 6 months, which isn't bad at all in my opinion. as far as opposition is concered, we got some from the chronologically challenged members of the team but alas, they were outnumbered. my only wish is that jEdit would improve its vi plugin. then the circle would really be complete. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate
RE: [OT] Eclipse IDE - The Two Towers
This isn't about expressing your individuality, it's about doing what makes you -- the coder -- more productive. If it's your job to write code, and you feel more comfortable using your favorite tool, then by all means use it. As far as administrative costs are concerned: Coders are smart enough to troubleshoot their own boxes, and if they're not then they damn well should be. Newbies? I challenge the notion that forcing new toolsets on them is productive in the long run. It is completely within the realm of possibility that they will have a shorter ramp-up time if they are able to use tools they are already familiar with to integrate with existing standards. In short: I have never encountered a development environment where it would be better to standardize upon a single, monolithic work environment for all developers. Some people like Emacs, some like Eclipse, some like directly editing bytecode with a hex editor. Whatever. So long as the project gets done on time, on budget, and meets the requirements *it doesn't matter*. -= J PS: I am currently working on a team of 12 developers who each use their own toolset. We are ahead of schedule and under budget. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:30 AM To: [EMAIL PROTECTED] Subject: AW: [OT] Eclipse IDE - The Two Towers I think there exist many and more fruitful ways to express your individuality than using IDE A rather than that ide B. If the IDE is not important, why not standardize one: Makes it easier for administrators to setup new boxes, allows to pass the box to another member of your team, allows to use the same plug-ins and so on: Just think about Integration with version-Control: Cowboy-Coder A uses Eclipse which has a bug with Perforce-Integration, Cowboy-Coder B insists on using IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder comes in and is totally confused as there exist three ways of setting up your enviroment. No Standards at all are ok if you have a team-size of one... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:20 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Eclipse IDE
That's not an opinion it's a fact. Netbeans is based on Swing which is slow as molasses. Check your OS's memory monitor to see the difference (about 30 MB). Click on a Netbeans menu and you can feel the unresponsiveness. David From: Haseltine, Celeste [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] Eclipse IDE Date: Tue, 21 Jan 2003 09:39:19 -0600 Daniel, Eclipse is much faster than Netbeans, in my opinion, and is not as much of a memory hog as Netbeans is. If you select the right plug-ins, Eclipse is an excellent IDE for all J2EE development EXCEPT JSP pages. We use Eclipse here for everything (EJB, Java Beans, servlets) BUT JSP development, and use Macromedia Dreamweaver MX for the JSP development. Dreamweaver MX has the ability to pull in external tag libraries into the IDE, and will enable code completion for those tag libraries inside of it's IDE. So when I incorporated the Struts logic, HTML, and bean tag libraries into Dreamweaver, the code completion for those tags is enabled for our JSP developers. HTML layout/design is also much simpler in Dreamweaver, as long as you stay away from the wizards that are included in Dreamweaver (adds too much extraneous code into the HTML). Hopefully, the HTML and JSP development features of Eclipse will be improved soon. Celeste -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE Hi all, I know that it is very possible that this subject was already discussed here, but i couldn't search on archives (why is this resource disabled?). I'm beginning to design a software development process specification as a job task. It will include, for instance, a list of all tools, software, frameworks, etc, necessary to develop Web-based solutions in J2EE platform. And after doing a lot of research, i've found that open-source world has two leading IDEs: Netbeans and Eclipse. I'd like to hear about experiences with both of them. In my preliminary tests i guess it was difficult to work with Eclipse with focus on Web development. For instance, it doesn't have a cool JSP editor like Netbeans. I've tried an Eclipse plugin, but its features are inferior than Netbeans offered features. But i liked Eclipse's plugins feature. And it has a better aproach to manage code quality than Netbeans. So, opinions? Best regards, Daniel. PS: Sorry for possible language mistakes. English is not my native language. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Eclipse IDE
Then what's the way Idea works? It is supposed to be fast. Which widget family does it use? This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: [OT] Eclipse IDE - The Two Towers
Hi s.frank, I think your first paragraph and second make different points. I completely disagree that choice of IDE is just an aesthetic choice. Your second point about the Perforce-Integration is talking about specific functionality. If your project requires specific functionality, then the choices of IDEs are limited. However, people think differently. Take NetBeans and Eclipse. They do the same job, but they do it in VASTLY different ways. Why? Because different people have different ideas. One person will be far more productive using Eclipse and a different person will be more productive with NetBeans. Seriously... who _cares_ if it's easier for an administrator to setup a new box. That is a one time event and completely gets lost in the amount of time a developer will spend using the machine. In addition, IDEs are pretty darn easy to install. My box at work came without one, I chose my favorite and installed that one. It's a myth that using one IDE improves team performance. Kenny Smith JournalScape.com [EMAIL PROTECTED] wrote: I think there exist many and more fruitful ways to express your individuality than using IDE A rather than that ide B. If the IDE is not important, why not standardize one: Makes it easier for administrators to setup new boxes, allows to pass the box to another member of your team, allows to use the same plug-ins and so on: Just think about Integration with version-Control: Cowboy-Coder A uses Eclipse which has a bug with Perforce-Integration, Cowboy-Coder B insists on using IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder comes in and is totally confused as there exist three ways of setting up your enviroment. No Standards at all are ok if you have a team-size of one... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:20 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: easy struts
Yes, we use both EasyStruts and Eclipse in our current project. We are using Struts version 1.02 Celeste -Original Message- From: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 3:20 AM To: [EMAIL PROTECTED] Subject: easy struts Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
The saving money ploy goes a long way. The only thing they had objections to were Support issues. But when they saw the wonderful WebShpere support we got, they realized there was no point in paying to get service. Additionally, at the time that we made these changes we got a CIO who is a tech guy and was very supportive of these changes. The money thing was still the clincher. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:43 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) What about management? I'm sure they liked the idea of saving alot of money. But how did they respond to open source solutions? -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:28 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) most of the process took about 6 months, which isn't bad at all in my opinion. as far as opposition is concered, we got some from the chronologically challenged members of the team but alas, they were outnumbered. my only wish is that jEdit would improve its vi plugin. then the circle would really be complete. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Wow...that is quite a transition. I'm curious to know if these changes were met with alot of opposition? How long did it take? Vinh -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Suddenly my life doesn't look so bad. :) When I first started working for my company we were using Websphere Application Server, Websphere Application Developer, Oracle/DB2 on Unix servers. Now we use Struts, Apache, Resin, jEdit, SAPDB/POSTGRESQL/MySQL on Red Hat Linux. Not bad. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: easy struts
You didn't have any trouble ? Please have a look of my previous post about easy struts. Maybe you can see what's wrong. Thanks -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - Original Message - From: Haseltine, Celeste [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 4:50 PM Subject: RE: easy struts Yes, we use both EasyStruts and Eclipse in our current project. We are using Struts version 1.02 Celeste -Original Message- From: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 3:20 AM To: [EMAIL PROTECTED] Subject: easy struts Hey all, does anybody develop with easy struts and eclipse ? Ich wünsche Ihnen noch einen schönen Tag, Fred Robert Hauschel _ Softwareentwicklung Hauschel Fred Robert Hauschel http://www.hauschel.de [EMAIL PROTECTED] 0179 - 69 170 92 07427 - 9 11 79 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FomrBean(ActionForm) vs BusinessObject(JavaBean)
if you already received this mail want to be unaware of this one, the first time I received a message of insult concerning a virus this is why I renew my sending. I am writing a document about the design of my Struts application and I have a lot of difficulties to explain how the view components run. By view components I indicate ActionForm (or more precisely DynaActionForm) because I used Struts1.1b2. First question: ActionForm and FormBean are two words for the same concept, isn't it ? I am not sure to have understood well how the link is done between the view and the data model of the application. Here as how I work and thank you in advance to indicate if it is not the best method. All the data of the business model that I wish to display is represented by JavaBean class. I ask to our remote application server an XML descirption of the business data and I fill the corresponding JavaBean instance. Next I do a forward to the corresponding JSP. In the JSP I use the bean library (bean:write for example) to display the content of the JavaBean. In the case of I want to get a value (input value = editing field) enter by the user, I used a DynaActionForm. I defined in struts-config.xml file a tag form-property for each input of the user. In the JSP I add use the tags html:form and html:text property= to get the input user. In the case or I need to store the value, I use a JavaBean to store the information: DynaValidatorForm loginForm = (DynaValidatorForm) form; User userInfo; String userName = (String) ( loginForm.get(username); String passWord = (String) ( loginForm.get(password); userInfo.setUserName(userName); userinfo.setPassWord(passWord); This code illustrates the path FormBean - JavaBean We have the impression to duplicate variables that are in your Value object in you form object. I never use the path JavaBean - FormBean because in this case I use the bean library in JSP page. It's strange isn't it ? I am not perhaps very clear to excuse me but it is undoubtedly with the fact that I have difficulties to understand how ensure synchronisation between ActionForm and JavaBean. If somebody has a diagram wich explains the ActionForm/FormBean mechanism thank you to send it. Sandra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: [OT] Eclipse IDE - The Two Towers
ok, I think it's time for us all, to lower our standards: Talking about newbies: The newbies I mean have just started Java. They think R/3 is a piece of good Software instead of a piece of crappy scripts. They asked things like: What do you mean with Transaction?, Huh, why a database *and* an applicationserver?. And if you ask them for their favourite tool, they show you a Chainsaw and a Screwdriver(ok, only the better ones have screwdrivers). If you tell them: Use what makes you more productive they stick to paperpencil. I understand them, if you start there, there is nothing you can decide upon. You have to tell them: But if you have more than one senior-coder, it would be nice if they agreed on what they tell them... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:48 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers This isn't about expressing your individuality, it's about doing what makes you -- the coder -- more productive. If it's your job to write code, and you feel more comfortable using your favorite tool, then by all means use it. As far as administrative costs are concerned: Coders are smart enough to troubleshoot their own boxes, and if they're not then they damn well should be. Newbies? I challenge the notion that forcing new toolsets on them is productive in the long run. It is completely within the realm of possibility that they will have a shorter ramp-up time if they are able to use tools they are already familiar with to integrate with existing standards. In short: I have never encountered a development environment where it would be better to standardize upon a single, monolithic work environment for all developers. Some people like Emacs, some like Eclipse, some like directly editing bytecode with a hex editor. Whatever. So long as the project gets done on time, on budget, and meets the requirements *it doesn't matter*. -= J PS: I am currently working on a team of 12 developers who each use their own toolset. We are ahead of schedule and under budget. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:30 AM To: [EMAIL PROTECTED] Subject: AW: [OT] Eclipse IDE - The Two Towers I think there exist many and more fruitful ways to express your individuality than using IDE A rather than that ide B. If the IDE is not important, why not standardize one: Makes it easier for administrators to setup new boxes, allows to pass the box to another member of your team, allows to use the same plug-ins and so on: Just think about Integration with version-Control: Cowboy-Coder A uses Eclipse which has a bug with Perforce-Integration, Cowboy-Coder B insists on using IntelliJ, which has no Perforce-Integration at all: And the Newbie-Coder comes in and is totally confused as there exist three ways of setting up your enviroment. No Standards at all are ok if you have a team-size of one... --- Ursprüngliche Nachricht --- Datum: 21.01.2003 16:20 Von: James Childers [EMAIL PROTECTED] An: Struts Users Mailing List [EMAIL PROTECTED] Betreff: RE: [OT] Eclipse IDE - The Two Towers I second this. Different people work in different ways; standardizing an IDE for every developer ignores this rather key fact of human nature. If my company were to standardize on an IDE that some people don't like, they're just going to be frustrated and bitter, decreasing productivity. *shudder* Thank Baal they don't do that at my company. Everybody can use whatever development tools they want, so long as the code compiles and passes the unit tests. I use Eclipse and Vim, primarily. If management tried to take away Vim I would have to tell them to... well... You get the idea. Speaking of which, I've been tinkering with IDEA lately, and it looks quite promising. Tight, and as fast as Eclipse. Plus I like the fact that I can do everything within it without using the keyboard. And it can do regexp search and replaces, which is one of the main things keeping me married to Vim right now. -= J -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:16 AM To: Struts Users Mailing List Subject: Re: [OT] Eclipse IDE - The Two Towers On Tue, 21 Jan 2003, Daniel H. F. e Silva wrote: My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? If he wants productivity then let the developers use the tools they are familiar with. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional
RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
One of the reasons I left the T-Mobile project was because the client was incredibly anal-retentive about the most trivial crap. As I always say, Don't sweat the petty stuff, and don't pet the sweaty stuff. Death to cube farms and ties! Mark (wears jeans and hiking boots to the office now) -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:45 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) I wear jeans. (Although I do buy them from the company at a very reasonable discount) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 8:40 AM To: Struts Users Mailing List Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) So, do you have to pay for your own uniforms, or does the company supply them? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 22:31 To: Struts Users Mailing List Subject: [OT] Standardised Environments (was RE: [OT] Eclipse IDE) Our management (I won't say leadership, for reasons that will be obvious to experienced IS developers) also have the belief that standardisation is good. We are having our J2EE workstations defined to the n'th degree and they will all be locked down so that you can't change anything. You can't even change your windows wallpaper!!! Our IDE is defined, you'd better like it because you can't install anything else. All in the sacred name of productivity. Anyone else out there going through this or have advice to share? I am planning to bring my personal laptop to work to do any of my tinkering on. I like to think that my tinkering is helpful to the company, but you wouldn't think so from these new policies. This past year, I have introduced to the company's IS environment four new tools that I evaluated by tinkering with in those downtimes between projects. Specifically, these tools are Struts (hey, you know I like Struts! :-), ant, junit and Cygwin. The funny thing, to me, is that these tools evaluated by tinkering are going to be part of the new locked down standard! Gotta laugh. Simon -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [OT] Eclipse IDE - The Two Towers Hi all, I do appreciate all feedback posted here in this list. Well, i am only executing orders. I don't intend to obligate everybody to adopt my recomendations. My boss wants a standard environment to all developers. So, order is order. I think his concern about this task is to improve productivity. So, what is more productive? Following our discussion, does someone have experience writing Eclipse plugins? How difficult is this kind of task? Best regards, Daniel. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]