Performance Issues regarding tag libraries
Hi Folks ! I've been made some performance test with a new web application developed entirely using the struts 1.1. Analyzing the response from a simple database search I discovered that some struts tags generates way to much "blank spaces" and "TAB" characters. There is any chance to avoid this Behavior ? It might appear to be a stupid issue, but I made some other tests with the same search operation and I replace the struts tags for "regular code" and the response size decreases at least 30%. If someone wants I can send the response generated by struts and any other file. Cheers ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Its Safe to use the Action.ERROR_KEY ?
Hi Folks ! I'd like to know if is a good practice to use the Action.ERROR_KEY to access the errors at the request. I just want to check if error already exists on the request. Thank's ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: terça-feira, 6 de janeiro de 2004 13:54 To: Struts Users Mailing List Subject: Re: server hangs after finite number of requests Heather: Check any jdbc code you have. If you don't close statements/result sets and/or release connections that you have opened, then this sort of thing can happen. Regards, Geeta Manfred Wolff wrote: > Heather. > > Have you studied the tomcat logs? > > Manfred Wolff > > Heather Marie Buch wrote: > > >Hi all, > > > >If I submit the same page more than 8 times, my server dies and I have to > >restart. For example, the first 8 times I enter the wrong password, struts > >will simply return me to my original form with an error message. However, > >the 9th time - the server hangs. > > > >This also occurs if I enter the correct password, then press the > >"back" button and return to the original login screen and submit again. I > >can only repeat this 8 times. The server hangs on the 9th try. > > > >I am using: > > > >tomcat 4.1.12 > >httpd 2.0.43 > >mysql 3.23.53 > >struts 1.1 > > > >I am not even sure if this is a struts problem. I suspect it is because I > >tried that back button trick with a plain old servlet, and I was able to > >do it more than 9 times. > > > >Any help would be greatly appreciated! My boss wants users to be able to > >try passwords more than 9 times! > > > >Thanks, > > > >Heather Buch > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE:[OT] OpenSTA/JUnitPerf/etc. - automated testing info
Hi ! I actually have the same issue as you around here ! We tried to use the fitnesse tool (www.fitnesse.org) but it dosen't test dynamic content, so its not good enough for struts, but there is a extension of the junit specially design for struts (search at the mailing list history) and we always have the cactus framework... If you find anything else please let me know ! Regards José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: terça-feira, 2 de dezembro de 2003 12:04 To: Struts Users Mailing List Subject: OpenSTA/JUnitPerf/etc. - automated testing info Can anyone direct me to some good mailing list(s)/forum(s)/book(s)/periodical(s) (all of the above) for doing unit testing, performance analysis, automated testing through Ant, site monitoring, etc. for JSP/Servlet/Struts/Tiles/J2EE-ish sites? I know so little about this particular aspect, yet I really believe it to be important, especially in maintaining and extending our current infrastructure - I just don't know where to start!!! I'd like some resources that I can start getting a grasp of the extent that I can test/automate/monitor our infrastructure as well as some resources that I can go to for assistance when things aren't working "Quite Right(tm)" Thanks! -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with UTF-8 characters in a mutlipart/form-data encoded form
I have doubts on it also... The only thing that I'm doing at the front end is to set the encode to utf-8 I will double check it.. Regards... José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: terça-feira, 28 de outubro de 2003 12:26 To: Struts Users Mailing List Subject: Re: Problem with UTF-8 characters in a mutlipart/form-data encoded form Does it work with multipart/form-data encoding? It seems to me that this problem is happening before the form is submitted to the servlet container (take a look at the value of "test" in the HTTP request with Content-Type: multipart/form-data in my original post), so the servlet filter wouldn't help, but I could be wrong. José Gustavo Zagato wrote: > Hi ! > > I don't if it will fit into your needs but, to handler UTF-8 I > build a serverlet filter with handles all encode / Decode operations. As > far as I know this approach is not a pure Struts solution but works > really fine ! > I didn't test with a upload form like yours, but its a shot ! > > Regards > > José Gustavo Zagato Rosa > System Analyst - Atos Origin > [EMAIL PROTECTED] > > > -Original Message- > From: Paul Barry [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 28 de outubro de 2003 12:07 > To: [EMAIL PROTECTED] > Subject: Problem with UTF-8 characters in a mutlipart/form-data encoded > form > > I am using Struts 1.1 in an application that needs to support the UTF-8 > character set. I am using Resin 2.1.10 with > character-encoding="UTF-8", and on most of my forms this seems to work > just fine. I am having problems with forms that > have to use the multipart/form-data enctype for handling uploading > files. If I print out the value of a text element in > an html:form where the enctype is not set at all (which ends up using > application/x-www-form-urlencoded), using UTF-8 > characters works fine. This is what I get: > > INFO - test.TestAction - The value is: ä > > Here is what the actual HTTP request that gets sent to the server looks > like: > > --- Start HTTP Request > - > POST /testForm.do HTTP/1.1 > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, */* > Referer: http://pbdesktop/test.do > Accept-Language: en-us > Content-Type: application/x-www-form-urlencoded > Accept-Encoding: gzip, deflate > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) > Host: pbdesktop > Content-Length: 11 > Connection: Keep-Alive > Cache-Control: no-cache > Cookie: SERVER=op; locale=en_US; JSESSIONID=aoUCARQpqsLd > > test=%C3%AD > --- End HTTP Request > -- > > But if I modify my html:form to use enctype="multipart/form-data", I get > this: > > INFO - test.TestAction - The value is: A¤ > > And the HTTP request looks like this: > > --- Start HTTP Request > - > POST /testForm.do HTTP/1.1 > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, */* > Referer: http://pbdesktop/test.do > Accept-Language: en-us > Content-Type: multipart/form-data; > boundary=---7d319628600e4 > Accept-Encoding: gzip, deflate > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) > Host: pbdesktop > Content-Length: 141 > Connection: Keep-Alive > Cache-Control: no-cache > Cookie: SERVER=op; locale=en_US; JSESSIONID=aoUCARQpqsLd > > -7d319628600e4 > Content-Disposition: form-data; name="test" > > Ã > -7d319628600e4- > --- End HTTP Request > -- > > It looks as if the character is already messed up before it even gets to > the servlet container. There are messages in > the mailing list archive that discuss this problem, but I didn't see a > solution. What is the best way to handle UTF-8 > characters in a multipart/form-data encoded form? > > Here is the code that I am testing with: > > /test/test.jsp: > <%@ taglib uri="WEB-INF/taglib/struts-html.tld" prefix="html" %> > <%@ taglib uri="WEB-INF/taglib/struts-bean.tld" prefix="bean" %> > > > > > > > > > > > Relavent parts of struts-config.xml: > > > > > > > > parameter="/test/test.jsp" /> > input="/test
RE: Problem with UTF-8 characters in a mutlipart/form-data encoded form
Hi ! I don't if it will fit into your needs but, to handler UTF-8 I build a serverlet filter with handles all encode / Decode operations. As far as I know this approach is not a pure Struts solution but works really fine ! I didn't test with a upload form like yours, but its a shot ! Regards José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: terça-feira, 28 de outubro de 2003 12:07 To: [EMAIL PROTECTED] Subject: Problem with UTF-8 characters in a mutlipart/form-data encoded form I am using Struts 1.1 in an application that needs to support the UTF-8 character set. I am using Resin 2.1.10 with character-encoding="UTF-8", and on most of my forms this seems to work just fine. I am having problems with forms that have to use the multipart/form-data enctype for handling uploading files. If I print out the value of a text element in an html:form where the enctype is not set at all (which ends up using application/x-www-form-urlencoded), using UTF-8 characters works fine. This is what I get: INFO - test.TestAction - The value is: ä Here is what the actual HTTP request that gets sent to the server looks like: --- Start HTTP Request - POST /testForm.do HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */* Referer: http://pbdesktop/test.do Accept-Language: en-us Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: pbdesktop Content-Length: 11 Connection: Keep-Alive Cache-Control: no-cache Cookie: SERVER=op; locale=en_US; JSESSIONID=aoUCARQpqsLd test=%C3%AD --- End HTTP Request -- But if I modify my html:form to use enctype="multipart/form-data", I get this: INFO - test.TestAction - The value is: A¤ And the HTTP request looks like this: --- Start HTTP Request - POST /testForm.do HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */* Referer: http://pbdesktop/test.do Accept-Language: en-us Content-Type: multipart/form-data; boundary=---7d319628600e4 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: pbdesktop Content-Length: 141 Connection: Keep-Alive Cache-Control: no-cache Cookie: SERVER=op; locale=en_US; JSESSIONID=aoUCARQpqsLd -7d319628600e4 Content-Disposition: form-data; name="test" Ã -7d319628600e4- --- End HTTP Request -- It looks as if the character is already messed up before it even gets to the servlet container. There are messages in the mailing list archive that discuss this problem, but I didn't see a solution. What is the best way to handle UTF-8 characters in a multipart/form-data encoded form? Here is the code that I am testing with: /test/test.jsp: <%@ taglib uri="WEB-INF/taglib/struts-html.tld" prefix="html" %> <%@ taglib uri="WEB-INF/taglib/struts-bean.tld" prefix="bean" %> Relavent parts of struts-config.xml: test.TestAction: package test; import javax.servlet.http.*; import org.apache.commons.logging.*; import org.apache.struts.action.*; public class TestAction extends Action { private static final Log log = LogFactory.getLog(TestAction.class); public ActionForward execute( ActionMapping mapping, ActionForm pform, HttpServletRequest request, HttpServletResponse response) throws Exception { TestActionForm form = (TestActionForm)pform; log.info("The value is: "+form.getTest()); return null; } } test.TestActionForm: package test; import org.apache.struts.action.ActionForm; public class TestActionForm extends ActionForm { private String test; public String getTest() { return test; } public void setTest(String string) { test = string; } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to set and display Messages
Hi Folks ! I have a question regarding how can tell the JSP (witch my action is forwarding) to grab I18N message form the resource bundle ? It's not a error message and it the I18N key must be define in the action. Thanks ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Vara Prasad Reddy [mailto:[EMAIL PROTECTED] Sent: terça-feira, 28 de outubro de 2003 09:48 To: Struts Users Mailing List Subject: Indexed Properties + Validator + JavaScript The validations for indexed properties are not fired on the client side, they are fired on the server side only. Is there a way I can do that on the client side. I am working on a PO screen with many line items. Regards Vara Prasad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: far reaching db question
Follow something like this : public static String transformDatabaseStatement(String statement) { String sqlStatement = ""; if (statement.indexOf("'") > 0) { sqlStatement = statement.replaceAll("'", "''"); } else { sqlStatement = statement; } return sqlStatement; } Then call this method when passing your values to your insert method. José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 24 de outubro de 2003 11:43 To: Struts Users Mailing List Subject: far reaching db question I create DB-Inserts from my struts application. But If an user types in the sign ' any dynamicly created inserts fail. This ist because of the sql-syntax which divides the string which will be saved with '. For example: insert into table test (name, number) values ('mr burns', '01723256477'); How can I handle inserts in html-formulars which have the typed sign ' ? Greetings, Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Applets as view componet using Struts (design and Architectureissue)
Hi Folks ! Unfortunately I need to develop a applet that plays a huge hole in my current project. So, now days we are successfully using the struts framework version 1.1. And here is the trick question : How can I use a applet as a view component of my application, but still using all the other facilities that struts allow us ? For example : How can I Send data (like a http post) to the server and grab the result ? There is any "special" care with my actions to handle this sort of request ? I'm not expecting any special tag to put the applet into the html, my big concern regards the application design, I don't want the applet working in a different way rather than all the other application pieces. Cheers !! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Auditing for struts
Hi folks ! Does anyone here knows a nice Audit library to be used with struts to log user activities like who change what and when ? Cheers !! (it's finally Friday !! :-) ) José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Problem stopping Tomcat 4.1.18
Hi ! I don´t know the solution, but I have the same problem when I Run the tomcat 4.1.18 under windows and as a service. José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 11 de setembro de 2003 09:44 To: [EMAIL PROTECTED] Subject: [OT] Problem stopping Tomcat 4.1.18 Hi, I am running Tomcat 4.1.18 on RHL 7.x. When I execute shutdown.sh to stop tomcat, a lot of java process still remain unterminated. If any one knows how to troubleshoot this, please let me know. My web applications have a DB interface as well as an RMI client. Can these cause the processes to remain in some way? Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to start a background process using a struts action ?
Thanks !! Your Answer was really helpful for me !! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Steve Hall [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 5 de setembro de 2003 16:54 To: 'Struts Users Mailing List' Subject: RE: how to start a background process using a struts action ? José, This is really a system design question rather than a Struts specific question so I've add the [OT] to the subject. I've seen an implementation similar to what you're asking about. I'm not sure if what I can contribute will help you with your situation. Something to keep in mind is that you want to encapsulate the different layers of your system from each other as much as possible. You want to use Struts to collect data and pass it to the lower layers of your system for processing, then return the results to the user. You wouldn't want a Struts Action class doing business logic or Thread control etc. [stepping off of the soap box] Here's what you could do: Process Definitions: Create a DB table, xml doc, properties file, whatever that contains a definition of all the processes you'll need to running. If these are Java classes, this data could contain the fully qualified class name. Process Request Queue: Create a DB table, JMS queue or some other persistence mechanism to queue up you process requests. Front End: Create your Struts front end to capture the request data and persist it to your Process Request Queue. Daemon: Write a daemon class that polls your Process Request Queue and runs the requested process. You can get as fancy with this as you want, you could: multi-thread it, use a Strategy Pattern (GOF) to allow it to run different process types, integrate email as an output distribution mechanism, etc. All the daemon really needs to know how to do is poll your Request Queue and when it sees a Request, run the appropriate process based on the Process Definition. Obviously, each Request must have an ID back to a Process Definition along with any parameters that the process requires. You'd run this daemon in a separate JVM, not in Tomcat's. For performance reasons, you may even run it on a different server than the one running Tomcat. If you executed your process in your Struts class you wouldn't have this option. I hope this at least gives you something to think about. Steve Hall Programmer Analyst Alterra Healthcare (414) 918 5636 [EMAIL PROTECTED] -Original Message- From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:11 PM To: 'Struts Users Mailing List' Subject: how to start a background process using a struts action ? Hi Folks ! Does anyone here know if is possible to start a background process ( like a daemon/service) using an action ? I need this feature because the user will input a few parameters and a schedule date then the system generate the user specific information. Im using struts 1.1 and Toncat 4.1.18, so any tips on how can I accomplish this task ? Regards ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential protected health information. This information is intended only for the use of the individual or entity to which it is addressed. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this email is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately and arrange for the return or destruction of the contents of this email. If you continue to receive emails from this sender, please contact Alterra's Family Connection Hotline at 877-400-5296. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to start a background process using a struts action ?
Hi Folks ! Does anyone here know if is possible to start a background process ( like a daemon/service) using an action ? I need this feature because the user will input a few parameters and a schedule date then the system generate the user specific information. Im using struts 1.1 and Toncat 4.1.18, so any tips on how can I accomplish this task ? Regards ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Character Encoding
Hey Yann Lebreton ! I have the same doubt as you, but for time constraints we decide to use the encode at the JSP. I have some questions about Internationalizations and maybe you / someone else could give me a more clear perspective on this subject... I' am developing a site wich must run under several languages, including Chinese, Thay, and many many others. I build several small applications to prove that the location / I18N works fine on struts for showing messages at the HTML. But My current concern is those input text fields... How Can I handle the user Input ? I will save all entered data in a Oracle database (already prepared to work with Unicode), but during testing every time that I save some data in Unicode format the Database don't understand it. Does anyone here have any hint on this stuff ? Cheers ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Yann Lebreton [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 5 de setembro de 2003 13:46 To: [EMAIL PROTECTED] Subject: [OT] Character Encoding As part of localizing a site, I'm trying to set the content type of the response. Now I now I can do this within the JSP (<%@ page contentType="text/html; charset=UTF-8" %> ). But I'd rather do this globally. I found out that you can set this as a parameter of the controller in struts. This would work fine if the JSP compiler wasn't also setting the content type automatically. So do someone know a container setting to do this ? Is there something like a "pre-compiler" for JSP, that would change/add code to each JSP before giving it to the JSP compiler ? Thanks, Yann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: debug level of struts...
Hey Folks ! I tried This configuration, and it seams that it dont change anything to me... any ideias ? José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Peter Smith [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 5 de setembro de 2003 09:25 To: Struts Users Mailing List Subject: Re: debug level of struts... Hi Pady, You might try adding this to your action servlet in web.xml: debug 99 Let me know if this works for you, Peter -- Peter Smith Software Engineer InfoNow Corporation > From: Pady Srinivasan <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Fri, 5 Sep 2003 08:10:33 -0400 > To: [EMAIL PROTECTED] > Subject: debug level of struts... > > > > Is there a way to make Struts print out more messages to standard out ? Like > when it loads the form-bean and resets form values into the jsp ? > > Thanks > > -- pady > [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform
Thanks David ! One more question : Did you include your java project into tomcat classPath ? Im asking this because every time I try to include my project into thetomcat classPath the plugin can't start the tomcat, because it dosen't find the standartServerClass of the Catalina. Tks ! Cheers ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 4 de setembro de 2003 11:51 To: Struts Users Mailing List Subject: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform --- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote: > > > Hi Folks !! > > I'm Experiencing to much trouble to debug a web/Struts > application with the Eclipse (not WSAD !). Im trying to use the Sysdeo > TomCat plugin but so far I just get exceptions while tring to debug. > > So, does anyone here can tell me a nice plug-in or any cool > trick to get it done ASAP ? I'm using the Sysdeo plugin and it works great for debugging. All you need to do is set a breakpoint in your Action and it should stop there when you hit the page that calls the Action. Make sure the plugin is launching Tomcat in debug mode (I believe this is the default). There's not much more help I can give you without more details. David > > Cheers ! > > José Gustavo Zagato Rosa > System Analyst - Atos Origin > [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to Proper Debug Struts Actions and stuff with the Eclipse plataform
Hi Folks !! I'm Experiencing to much trouble to debug a web/Struts application with the Eclipse (not WSAD !). Im trying to use the Sysdeo TomCat plugin but so far I just get exceptions while tring to debug. So, does anyone here can tell me a nice plug-in or any cool trick to get it done ASAP ? Cheers ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question about date validation
Hi Folks ! Witch is the proper way to specify a "datePattern" or a "datePatternStrict" for a date Field ? Thanks ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]