Re: [Friday]What is your yahoo?
Hey Mark, I know you love to flame people for asking stupid questions (I don't like doing other people's research either so i don't blame you) so I was surprised you responded to his statement so quickly. Vic:But irc does work with Mac and Linux. Yahoo chat does not. so it's a toss up This was EXTREMELY difficult to find but I found it; http://messenger.yahoo.com/ On this very difficult to find URL it has links to downloads for the windows verison... and the mac and unix with the flavors of linux, solaris and freeBSD. And if for some reason your not one of the 99.99% of people out there that use one of these operating systems then maybe you can just use the web version (java applet). Yahoo IM kicks ass. Free, has voice and web cam and it has voice conferencing which kicks ass for gaming. Best of all, works well across most networks (MSN IM often has problems unles you specifically open it up). Mike - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 10:55 AM Subject: RE: [Friday]What is your yahoo? That's true - forgot about that point - and it's a good one. I imagine many people on the list are running Linux or 386 Solaris or Free BSD. I have Red Hat 7.3 on one of my workstations. Mark -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 10:45 AM To: [EMAIL PROTECTED] Subject: Re: [Friday]What is your yahoo? But irc does work with Mac and Linux. Yahoo chat does not. so it's a toss up Mark Galbreath wrote: The only problem with IRC is somebody (or a group) would have take responsibility as channel master(s) and keep the channel open continuously by auto-polling. Otherwise, it's much easier checking who's on Yahoo! IM and group chat rather than having to reset-up an IRC channel every time it gets closed from inactivity. Mark (co-channel master of #sex in 1988) -Original Message- From: J Aaron Farr [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:26 PM To: 'Struts Users Mailing List' Subject: RE: [Friday]What is your yahoo? Yahoo's great an' all (as you can tell by my email address), but what's wrong with IRC? Why don't we have a channel of irc.freenode.net for example? -- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA Advanced a href =baseBeans.comStruts Training/a and project recovery in North East. Open Source a href =baseBeans.comContent Management/a basicPortal sofware Best practicea href =baseBeans.comStruts Support/a v.1.1 helper ScafflodingXPress - 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: Page Iteration
These are database specific and probably won't work anyway for queries that require things such as order by, etc. In JDBC there is a call setMaxRows() that limits the total set of data returned from the database. Unfortuantely, the full query is performed but DB optimizations of that sort should be done by the DBA using a query analyzer type tool. Michael Lee - Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:25 AM Subject: RE: Page Iteration If the data is coming from the DB, you should NOT pull down all the data and slap it in their session for paging. It's a waste of resources, especially if they found what they wanted on the first page. A better solution would be to use DB -specific bounding of the results returned, like MySql's LIMIT on SELECT queries (btw, google uses MySql). By bounding the data returned from the DB in the first place, you just return all objects received in the scope of the SELECT statement to the page. If you aren't pulling from the DB, look at JSTL under Taglibs-Standard at Jakarta's web site. Their demo war for JSTL goes over scoped iteration. -Jacob | -Original Message- | From: Brian McSweeney [mailto:[EMAIL PROTECTED] | Sent: Wednesday, April 02, 2003 10:13 AM | To: Struts Users Mailing List | Subject: Page Iteration | | Hi all, | | I want to iterate over a collection and display a certain amount of items | per page and list all the | further pages available (just like on google). | | I presume this is a feature that has been added a million times. | | Did a quick search on the list and I see that use of the iterator with | parameter offset can be used. | Is this the general approach people would recommend? | | Any good resources on showing how to do it? | cheers, | Brian - 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] Java Out Of Memory
If you know it's not pertaining to struts then please add [OT] to the subject line somewhere. thanks, Mike - Original Message - From: Butt, Dudley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:31 AM Subject: Java Out Of Memory Hi there, I know this isn't a Struts question, but I also know you're all extremely experienced Java dudes, so how can I prevent a Out Of Memory error when doing a Javac compile for ejbc, with a EntityRelationshipBean? Any help would be great! I'm compiling on a 256M machine and my command looks like this.. set PATH=C:\java\j2sdk1.4.1_01\bin;%PATH% set LIB=C:\java\working\invest\lib\ java -verbosegc -cp %LIB%weblogic.jar -Xms128m -Xmx256m weblogic.ejbc -compiler javac EntityRel1.jar EntityRel.jar Many Thanx NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message. - 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: Session timeout problem
Are you using container managed security? Home brewed? Whatever it is, the problem is most likely not with struts. I'm also guessing that there is no problem. You need to read the spec on how container managed security works if that's what your using. We had a lot of problems here with session timeout and they were all part of the spec. Mainly, that request parameters are 'lost' when a page is submitted after the session timeout value and your redirected to your login page (form based auth). Also, do you invalidate the session after you login? Usually, you would invalidate a session on a logout. Michael Lee - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 6:36 AM Subject: Session timeout problem Hi, Our struts application ( I am not sure if it is the session )occasionally timesout and throws us back to the login page. session-config session-timeout15/session-timeout /session-config This is not uniform. Whenever I login I use code like this protected void inValidateSession( HttpServletRequest request ){ HttpSession session = request.getSession( false ); -- Is this right? if( session != null ){ session.invalidate(); } } Does any of you see any problem here ? Mohan - 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: Number of logic:equal ... in JSP
I can't help with the first one but as for the second one... We did something similar to the way a couple of struts tags work. If look at the struts code (we're using 1.0.2) they actually have the fields args1 args 2, etc hard coded. If you know your never going to use more than like 5 parameters then you can just do this. It's not pretty but we were on a tight deadline and it solves your problem in a timely manner. Michael Lee - Original Message - From: Jean-Baptiste Onofré [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:35 AM Subject: Number of logic:equal ... in JSP Hello all, i'have a strange Exception in a JSP view. This JSP include a lot of logic:equal ... testing tag (around 10). This JSP raise a exception with this message : Illegal target jump or branch When i delete one of the logic:equal ... or logic:present ..., i works fine. Is the number of testing tag like logic:equal ... or logic:present ... are limited in a JSP ? How many number of testing tag i can use ? I have another question I generate a html:form ... in a JSP that contains a random number of text field. Here's the sample : html:form ... logic:iterate id=price name=productPriceList scope=request type=org.nanthrax.ProductPrice html:text property=price value=price.price/ /logic:iterate /html:form How i can connect a FormAction on the form (with a ArrayList for values of textfield) ? Thanks for help Best regards -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED] Membre fondateur du LUG Béziers http://www.lug-beziers.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dynamically rename form-bean?
I hate to throw a wrench into things but... In IE if you open up a window from your current browser you do share the session scope. In Netscape, if you open up a whole new browser from the OS, they still share session scope. Not sure how this impacts your app but you need to consier this too possibly. Michael Lee - Original Message - From: Becky Norum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 7:14 AM Subject: dynamically rename form-bean? I have an ActionForm in session scope. I cannot open two separate browser windows at the same time to do edits, because they will share the session form bean declared in struts-config.xml . The easiest solution I can think of is to be able to dynamically alter the form-bean name property from a static treeForm, to treeForm41, treeForm43, for example. I don't think this is possible with struts - can anyone confirm this before I spend a lot of time implementing a new solution? I cannot put the ActionForm in request scope because I have to share bean properties and this particular bean cannot *easily* be passed using a String conversion to form parameters. Another solution I've considered is wrapping the bean properties in an XML format, passing that as a form variable, and reassigning to the bean in the Action class. Any thoughts or comments are much appreciated. -- Becky Norum * [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts Installation
This is pretty open ended. It is also a VERY large topic of conversation. For ease of development distribution I highly recommend including the struts.jar in your webapp. Make sure you include the tlds, struts-config.xml and your Application Resources file. You can change all kinds of struts/web parameters and hot deploy them. I recommend also reading the specs for WAR files and the struts install docs for more info. Michael Lee - Original Message - From: joseph agunpopo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 8:40 AM Subject: Struts Installation Hi Can anyone tell me how to install and configure Struts.please? = joseph __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
What are you doing on a struts email list? There are a lot of evil American contributors to struts. Go launder some terrorist money and leave the anti-American/Capitalist politics off the list. I'm guessing your on this list because you work at an evil company that wants to use struts and make profits. Hypocrite. Michael Lee Software Architect Former: 12B Combat Engineer, United States Army - Original Message - From: alexj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 5:34 PM Subject: Re: [OT] What's your IQ? What can I said, American people think they know all the truth about how to manage the world. (it's not only my opinion) The world is really not an industry like IBM, I think some american guys have to think about that. If a coutry didn't believe in the pseudo american dream, you really nedd to attak them ? In my (little one) country we didn't only care about how to make benefits but we care how to people from this country can take profit about that. I'm a young man (22 years old) from Switzerland but US people need to care about how people whi lived in this countries. Fuck Wars !!! Fuck guys who only care about theire own profits !! -- Alexandre Jaquet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT]What is the best method to set default values of a form?
Once again, leave your anti-American political bullshit off the struts email list please. Michael Lee - Original Message - From: James Childers [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 10:45 AM Subject: RE: What is the best method to set default values of a form? -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 4:39 AM To: struts mail list Subject: What is the best method to set default values of a form? I understand that the reset method should not be used to set the default values of the fields of a form. What is the preferred way? -- Zsolt I don't know about best way, but I usually set the default values in the field's declaration: public final class MakeACallForm extends ActionForm { private String name = George 'I Like War!' Bush; private String telephoneNumber = 1-800-DA-WHITE-HOUSE; ... etc ... ... getters and setters for above ... } -= J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and HttpUnit
I use JMeter also on the jakarta web site. It is an excellent tool that even non-developer's can use. You can put in entire test suites/plans. Real cool stuff. You don't need JUnit. Michael Lee - Original Message - From: Thomas L Roche [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 4:51 PM Subject: Re: Struts and HttpUnit Marco Tedone [EMAIL PROTECTED] on Fri, 21 Feb 2003 23:24:34 Hi, has anyone of you used HttpUnit to test Struts applications? No, but if I wanted to test a Struts app within a JUnit framework, I'd use StrutsTestCase http://strutstestcase.sourceforge.net/ I would like to retrieve an attribute stored in the Servlet Context Try servletunit.ServletContextSimulator - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: set a value from a form to a form
You do understand me! :) I use a hidden field now. I was trying to get away from that though so the user will not see it. I may have to put it in the session. Any ideas? thanks, Mike - Original Message - From: John Yu [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 10:09 PM Subject: Re: set a value from a form to a form Mike, If I understand you correctly, you want to retain the value when the form is submitted. One option is to use bean:message to display the value and use html:hidden to retain the value for form submission. html:form ... Prop1: bean:message name=myForm property=prop1/ html:hidden name=myForm property=prop1/ ... /html:form The value is *not* retained in a bean. It's just resubmitted as an URI parameter. If you let Struts do the auto formbean population, you will get it in the actionform object. Bean created by bean:define in the request scope will disappear because whenever you submit the form, that's a complete new request. At 06:36 am 11-09-2002, you wrote: I have a form object that populates html fields. The problem is, I want to display some of the form data and have it uneditable. When I submit the form loses all the data that is not in an html:.. tag. I've tried... bean:define id=userRole name=userForm property=userRole scope=request toScope=request/ but this doesnt seem to work thanks, Mike -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - Don't develop Struts Apps without it! Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved. -- 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]