RE: ANOTHER IDE
You may want to try Netbeans 4.1 RC2. Refactoring still not as strong as Eclipse but most of the stuff you need is out-of-the-box: JSP syntax support, tomcat, iplanet app server etc, so there is less plug-in to download. - Jim -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Sunday, May 08, 2005 3:04 AM To: Struts Users Mailing List Subject: Re: ANOTHER IDE On 04/05/05 18:25 Dave Newton wrote: > Except for the crappy editor in Eclipse (a programmer's editor without > macros?!?!?!) it seems to do a pretty good job with the addition of > MyEclipse (~$30/yearly) although I've seen a few minor complaints and > bugs. Has the same (or similar, perhaps slightly less functional?) > features: XML editing and tag completion for XML and JSP, code > completion inside JSP, Pretty Good refactoring support. I used to code with emacs, without code completion or debugging or whatever, and I managed fine - now I code in Eclipse and I have all the whizz bang plug-ins like maven and cvs and xmlspy and I've got the Problems List which highlights the code causing errors, plus I can refactor, BUT I waste so much time, hours and hours when it goes wrong. Sometimes it will never stop and I am doomed to have these time-wasting issues with Eclipse plug-ins not working together, or just not installing, or Java 5 bugs or whatever. Progress I guess. I'd like to know whether these kinds of issues affect IDEA users. When was the last time you spent a whole morning trying to get tomcat to run inside Eclipse, or an hour a day for a week fighting to get Maven menus to appear? This must be the bleeding edge, right? Adam PS what does myeclipse do? -- struts 1.2 + tomcat 5.0.19 + java 1.5.0 Linux 2.4.20 Debian The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ssl-forwarding filter not working in IE 6
Try setting the following 2 response header response.setHeader("Pragma", "public"); response.setHeader("Cache-Control", "max-age=0"); - Jim -Original Message- From: sudip shrestha [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:54 PM To: Struts Users Mailing List; Tomcat Users List Subject: ssl-forwarding filter not working in IE 6 Hi : I have following code for automatic ssl-forwarding filter: public void doFilter(ServletRequest servletrequest, ServletResponse servletresponse, FilterChain filterchain) throws IOException, ServletException { String s = servletrequest.getScheme(); if( !s.equalsIgnoreCase("http") ) { //System.out.println( "Normal filter Operation" ); filterchain.doFilter(servletrequest, servletresponse); } else { HttpServletResponse response = (HttpServletResponse)servletresponse; HttpServletRequest request = (HttpServletRequest)servletrequest; //System.out.println( "currPort: "+request.getServerPort() ); String url = "https://"; + request.getServerName(); //System.out.println( "currUrl: "+url ); url = url + ":" + PORT; //System.out.println( "currUrl: "+url ); url = url + request.getRequestURI(); //System.out.println( "currUrl: "+url ); String queryStr = request.getQueryString(); if( queryStr!=null ) url = url + "?" + queryStr; //System.out.println( "currUrl: "+url ); response.sendRedirect(url); return; } } This works perfectly in Firefox. However, IE just sits there till it throws me a "page cannot be displayed". If I directly type secure url, e.g., https://domain.com/siteAdd, it works in IE as well, but IE just cannot seem to forward it to the secure url from the plain url. Any suggestions? The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Software patch release standard?
Hi, Are there any standard protocols, products pertaining to software patches release? For example, maintaining what goes into a release, the release format etc. - Jim The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/
RE: Queries and Paging
How does datagrid compares to displaytag (http://displaytag.sourceforge.net) - Jim -Original Message- From: Antony Joseph [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 12:15 AM To: Struts Users Mailing List Subject: Re: Queries and Paging Check out https://workeffort.dev.java.net It uses struts along with the datagrid tag libriary ( http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html) for pagination from the database. - Original Message - From: "CRANFORD, CHRIS" To: user@struts.apache.org Subject: Queries and Paging Date: Mon, 28 Feb 2005 09:54:04 -0600 > > How have others implemented database queries and paging techniques > in your struts applications? I'd like to see how others have > implemented such functionality to see if I can improve upon our > current framework. > > ___ > Chris Cranford > Programmer/Developer > SETECH Inc. & Companies > 6302 Fairview Rd, Suite 201, Charlotte, NC 28210 > Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 > Email: [EMAIL PROTECTED] Antony Joseph Available for consulting http://www.logicden.com -- ___ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default .asp?SRC=lycos10 The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Best practices on using displaytag and cleaning up session scoped form
That is only when using request scoped form and setting the requestURI. Is there a way a avoid re-querying the database when using request scoped form? - Jim -Original Message- From: Amjad I. Shahrour [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:00 PM To: Struts Users Mailing List Subject: RE: Best practices on using displaytag and cleaning up session scoped form I don't think so, because when you click next & previous links the database will database will be queried again. If you are using a struts action to get the result from DB, then you sould specify the action in the tag by using the requestURI property. Hope it helps. -Original Message----- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 11:05 AM To: user@struts.apache.org Subject: Best practices on using displaytag and cleaning up session scoped form Hi, I am using displaytag from http://displaytag.sourceforge.net/ and it seems to me that the datasource for the needs to be in the session scope for the Next and Previous hyperlink to work. Am I missing something? I have hence, used a session scoped form and am wondering if there's any best practices on cleaning up and removing the Struts form from the session, once it is no longer required? Thanks in advance. - Jim The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best practices on using displaytag and cleaning up session scoped form
Hi, I am using displaytag from http://displaytag.sourceforge.net/ and it seems to me that the datasource for the needs to be in the session scope for the Next and Previous hyperlink to work. Am I missing something? I have hence, used a session scoped form and am wondering if there's any best practices on cleaning up and removing the Struts form from the session, once it is no longer required? Thanks in advance. - Jim The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/
javascript validator
Hi, Does anyone know of a validator for Javascript. Something along the line of html validator at http://validator.w3.org/ - Jim The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/
automatic periodic execution of code
Hi, What would be the recommended way to execute some code periodically on tomcat/appserver? Should I 1. start a thread (not recommended in appserver and tomcat?) and do it in the run method 2. use third party tool like Quartz 3. or is there existing struts plugin to do it? - Jim The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com/