RE: [OT] Jericho == Struts 2.0?
I'm thinking Titanic, Soddom, Gommorah, Hindenburg are equally excellent names. :D [EMAIL PROTECTED] 3/15/2004 8:15:06 AM I guess the Nova is the antithesis of the Yugo? -Original Message- From: Andreas Solarik [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 8:47 AM To: 'Struts Users Mailing List' Subject: AW: [OT] Jericho == Struts 2.0? Yeah, you're right, its just a name. Something similar can be said for the following slogans: 1. Electrolux (vacume cleaners / hoovers) tried to enter the American market with the ingenious slogan Nothing sucks like an Electrolux (I'm so not kidding) 2. Chevrolet tried selling Chevy Nova's in Mexico Like you said, its just words... Andreas :) -Ursprungliche Nachricht- Von: Joe Germuska [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. Marz 2004 15:21 An: Struts Users Mailing List Betreff: RE: [OT] Jericho == Struts 2.0? At 11:33 AM +0100 3/15/04, Jesse Alexander (KAID 11) wrote: + 1 Struts 2 or Struts v2 say what it is: a new major version of struts. Struts2 or Struts2EE imply: It is not Struts. It may be based on Struts, or is something similar. Jericho, or whatever other name choosen, just say nothing at all... merlin, tiger, longhorn, whidbey, panther, jaguar... folks, Jericho is just a name. When the thing actually gets released, it will be Struts 2.0. Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - 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] Jericho == Struts 2.0?
no hablar engles? [EMAIL PROTECTED] 3/15/2004 9:15:54 AM http://raibledesigns.com on this it is available find out.But not difference just download test build1.2 and make difference note and post it. -Jignesh On Monday 15 March 2004 21:14, Larry Meadors wrote: Doing a google search for struts jericho might be a good start. :) : [EMAIL PROTECTED] 03/15/04 8:40 AM On a more on-topic note, where can I get info on the new features / differences in Struts 1.1 and 2.0? - 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]
Special offer at #struts_users!!!
Tired of waiting? Is the email delay getting you down? Want an answer now!? Well, here at #struts_users we are providing a limited time offer to all who join. Visit #struts_users at irc.darkmyst.org to get your admin for a day pass. So, you to can feel as though you have power over the little people. Oh yes, and you can ask questions and interact with other helpful and enthusiastically sarcastic struts users. DISCLAIMER: All prior claims will be null and void at the whim of all those who currently are active participants of the #struts_users channel. Offer may not apply in certain regions of the world. Co-founder and struts fool, Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Special offer at #struts_users!!!
Tired of waiting? Is the email delay getting you down? Want an answer now!? Well, here at #struts_users we are providing a limited time offer to all who join. Visit #struts_users at irc.darkmyst.org to get your admin for a day pass. So, you to can feel as though you have power over the little people. Oh yes, and you can ask questions and interact with other helpful and enthusiastically sarcastic struts users. DISCLAIMER: All prior claims will be null and void at the whim of all those who currently are active participants of the #struts_users channel. Offer may not apply in certain regions of the world. Co-founder and struts fool, Brandon Goodin
Re: What does do stand for in .do files
do [EMAIL PROTECTED] 1/30/2004 11:53:36 AM Greetings, What does *do* mean in *.do files. Regards, Nushin - 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: Action mappings
Of course. [EMAIL PROTECTED] 1/27/2004 12:45:01 PM I t seems Struts lets you use action mappings that it figures out and forwards for you, but I have had no luck testing this. action-mappings action path=/setUpEmployeeForm type=net.strutstest.SetUpEmployeeAction name=employeeForm scope=request validate=false forward name=continue path=/steve/ /action action path=/steve type=net.strutstest.SteveAction name=employeeForm scope=request validate=false forward name=continue path=/employeeForm.jsp/ /action So basically SetUpEmployeeAction should be called when the user submits. Then SetUpEmployeeAction forward to SteveAction and then that forwards to employeeForm.jsp. It errors out trying to load the resource SteveAction, but I see nothing else I need to declare in any properties file or resource file. Struts should be able to do this from what I've read. - Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Veggie Tales! (was: Lazy questions on this list)
Has anyone caught the most recent LarryBoy adventure? [EMAIL PROTECTED] 11/20/2003 10:40:09 AM -Original Message- From: Long, Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:36 AM To: Struts Users Mailing List Subject: RE: Lazy questions on this list So from what I'm hearing here, as a newb, it is safe to assume that all answers to my questions will be www.google.com... Actually, a good number of answers will come from taking that route first. Well, that is typically the first place to look. I guess my next search should for a more newbie friendly list... This is it. It ain't perfect, but it works. Btw, the experts here have spent more time b*tching about lazy questions than any other topic I've seen here. Kind of funny. You should have seen the great veggietales outbreak ... now that was fun! :-) --- back to lurk mode --- Me too. :-) Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 Wisdom is not the prerogative of the academics. - Peter Chappell - 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] Veggie Tales! (was: Lazy questions on this list)
Ya, I used google to see what the most recent one was. http://www.bigidea.com/videos/larryboy/lb003/default.htm Amazing what google can do when you need an answer. Personally, I like the cartoons. They have a real retro but better feel. Cuz the humor is classic Veggie style. Still love the CG though. It just keeps getting better. [EMAIL PROTECTED] 11/20/2003 10:52:51 AM I just can't get into the cartoon adventures. I only like the CG ones. :-) -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: [OT] Veggie Tales! (was: Lazy questions on this list) Has anyone caught the most recent LarryBoy adventure? [EMAIL PROTECTED] 11/20/2003 10:40:09 AM - 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: PDF File Display in JSP-Struts
I remember in the pre-Struts days of someone on the JSP Interest mailing list talking about the fact that they had a 5000 line JSP page that implemented the entire app (complete with creating different forms and processing the results) -- all in a single page. And he was *proud* of it! Doesn't he still post to this list under the alias Vic C.? [EMAIL PROTECTED] 11/12/2003 7:03:13 PM Quoting Christian Bollmeyer [EMAIL PROTECTED]: Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan: Quoting Larry Meadors [EMAIL PROTECTED]: Why would you ever do this? This looks like a complete and total kludge. If you are sending back binary data (application/pdf), just do it from the action class using the response.getOutputStream() and return null from the execute method. Advantages: - you already have everything you need right there - you eliminate the entry in struts-config - you eliminate a useless jsp - you can specify any content type (not just one per jsp) - you get better exception handling - the list could go on and on... There's actually a much more fundamental reason than all of the above (which are true nonetheless) -- JSP pages are not allowed to create binary output. They never call response.getOutputStream(). That's how it's meant to be, and JSPs themselves don't, but you can always shed in a scriptlet to make them behave otherwise. You might get lucky on some containers, but you can be assured that writing binary output from a scriptlet is not guaranteed to be portable. Indeed, you're more likely to cause an IllegalStateException, because the servlet container won't let you call getWriter() and getOutputStream() on the same response. I've seen people doing just ridiculous things with JSPs, some of them routinely putting a % at the top and a % at the end, and then went on happily putting everything imaginable in-bet- ween, usually with lengthy %@ page import=[xy] % state- ments on top. Won't support Mark Galbreath on this matter, so if there may be a grain of truth in his direction, I'm still just telling from my personal experiences, limited to a single case, thankfully. But never underestimate human ingenuity ;-) s/ingenuity/foolishness/ :-) I remember in the pre-Struts days of someone on the JSP Interest mailing list talking about the fact that they had a 5000 line JSP page that implemented the entire app (complete with creating different forms and processing the results) -- all in a single page. And he was *proud* of it! Larry Craig -- Chris. Craig - 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] Security Filter - Active Authentication (Better)
I wrote an implementation of the Active Authentication idea introduced in Java Developers Journal. I like it much better than Security Filter. It allows me to use the TRUE container's standard authentication. Also, I get ALL the features that SecurityFilter provides and ALL the features of container based security. If you would like the code, I would be happy to share it. Also, I'd be happy to upload it to the struts sourceforge site. It is definetly something other people can use and is not specific to my apps. It is only specific to Struts. But, writing implementations for other Web MVC (Model 2) frameworks would be a snap. Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Security Filter - Active Authentication (Better)
I'm putting it together. If a committer on the Struts sf.net project wants to give me permissions to create a cvs project for this... I'd be happy to. Also, it would be nice to receive back contributions on how to make this better. I'll send a zip to anyone who wants it. Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Security Filter - Active Authentication (Better)
I'm an idiot... I already have CVS access to the sf.net project. Hehe... I'll committ it there. But, I warn you... what I am putting in the CVS is not a full functioning web example... I'll add that later. But, for now it's just code that needs to be organized better. But, it does give you an idea of what is going on with Active Authentication. I'll try to get a working app up tonight. Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Security Filter - Active Authentication (Better)
okay... I didn't want to commit it to the Struts sf.net cvs until I had it working as a functioning example web app. So, I have my rudimentary conglomeration of files at: http://www.phase.ws/security/security.zip Look for a working example over the next few days on the sourceforge struts project cvs. Thanks, Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Struts IRC Channel: Square off with Mark
Greetings, The struts IRC channel at irc.darkmyst.org #struts_users was created for two reasons: 1) To provide a place where struts questions can receive more interactive and immediate dialog. 2) To relieve [OT] tensions from the list. Please feel free to visit the IRC channel to participate in either. It is good practice to keep the struts list clean from renegade threads. Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IMPORTANT: how to tell
How about we set up a review board that examines every post to the list. Discards pointless discussions (like this one) and rates them according to a scale of importance to the community. Then they place them into bugzilla where they will be propagated to the struts list subscribers as tasks. :-\ Thoughts? Further Sarcasm? :-D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Intuition or reason behind Struts Chaining
Prerequisite to why I am an advocate of Controlled Chaining 1) I write jars that can be easily and interchangeably congifured to work together. Therefore I must keep cross dependencies at a minimum and avoid creating and tweaking code. 2) I advocate chaining for read-only processes 3) This works most fluidly when each action can use the SAME action form. Preferably a generic mapped back. This is because the map has lose typing as long as it's an object it will hold it. That being said... here is a made up example: I have a page that contains stock prices, content, and a weather report. These are commonly used items and they are for viewing (not data entry). So, if I want to prepare that data for a view I have a few choices: 1) for every view that will use these I create a 1 to 1 relationship with my View-ActionForm-Action and make the logic calls to prepare the data for the view. So for each page that included various combinations of these items you would have to write an Action/ActionForm to get the data. 2) I could use Tiles. Which is not organizationally coherent (to me). And you have to make several Action calls from the page level. And it is tiles specific. BTW: I DO LIKE TILES AND USE IT EXTENSIVELY 3) You could make 3 Actions that are very simple and chain them together as you need.Organizationally it allows you to see your process in a config that is directly tied to the Struts-Config. and allows you to prepare the data in one fluid request (rather than several unrelated requests). The struts chaining DOES NOT do forwarding from one action to the next. It calls other Actions from within a master action. So, the request remains the same. There are some enhancements I want to provide to that project. But, I don't have the time at the moment. Plus, I'm waiting to see how the Commons Chain effects the struts chaining effort. Those are just my thoughts, Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [POLL] ActionFrom vs DynaActionForm
#1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). -Refactoring is easier is traditional ActionForms -Also, for all the time that you spend restarting your tomcat for each change you make to the config you could make changes to a hard class more easily and let the classloader reaload it instead of the whole container. -An ActionForm is more cleanly organized in package structures (not configs). -DynaForms also have limitations in regards to the use of LazyList -DynaForms also make extending more difficult -DynaForms also don't have traditional getters and setter for the times that you want to insert code into them (personally, I use them quite often cuz I don't like huge Action classes) That said... I am not completely anti Dyna. I just don't see the value in using them for everything. I've used them for my whole app and didn't find them that useful. But, I have used them in niche cases where I wanted to enhance chained action classes (see http://strutschaining.org/ ). But, even that can be solved with a mapped back form. IMAO - I do not see the case for DynaForms. But, I am willing to be convinced. Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question about validator FieldChecks
Why does org.apache.struts.validator.FieldChecks implement Serializable when it has nothing but static methods and static final instance variables? Just curious. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: DispatchAction with mulitple ActionForms
you have to create a single ActionForm to use for all the methods in the DispatchAction. Brandon Goodin -Original Message- From: Haytham Samad [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:11 PM To: Struts User List Subject: DispatchAction with mulitple ActionForms I am trying to use DispatchAction with multiple ActionForms. Can I do that or do I have to create a single form to use for all the methods in the DispatchAction? Thanks. - 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: Formatting form data inside the *view* (JSP's)
yes, you can use jstl to locate your form. then you can access it's properties via el and use the jstl tags for display. Here is the jsp code to accomplish this code start [EMAIL PROTECTED] prefix=c uri=/WEB-INF/tld/c.tld % c:set var=formName value=${requestScope['org.apache.struts.action.mapping.instance'].name}/ c:set var=formScope value=${requestScope['org.apache.struts.action.mapping.instance'].scope} / c:if test=${formScope=='request'} c:set var=form value=${requestScope[formName]} scope=request / /c:if c:if test=${formScope=='session'} c:set var=form value=${sessionScope[formName]} scope=request / /c:if --- code end --- I usually place this code in a jsp and include it my page when i need to expose the FormBean easily to the page. ex. jsp:include page=/jsp/common/form.jsp / Then i use the following syntax in my page: c:out value=${form.myValue}/ This would allow you to use all the jstl stuff to format values stored in your FormBean. Brandon Goodin -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:29 PM To: Struts Users Mailing List Subject: Re: Formatting form data inside the *view* (JSP's) That's what I use when just outputting the contents of a bean; but I'm trying to format the data in form fields. If I can't combine html:text and bean:write (or JSTL's fmt:format) tags, is there another way to achieve this? Thanks, -Sasha On 8/27/03 11:17, Steve Raeburn [EMAIL PROTECTED] wrote: The Struts bean:write tag offers a format attribute (or formatKey if you want to use a resource file). But JSTL would be a better option if you can use it in your environment. Steve http://www.ninsky.com/struts/ -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent: August 27, 2003 8:43 AM To: Struts Users Mailing List Subject: Formatting form data inside the *view* (JSP's) Thought I'd throw this out in the middle of the week again... Kind of a conceptual question: how do you format Dates, Numbers, Currencies, etc. for *form fields* inside the JSP? I know I could do in in the ActionForm getters, but: 1. I don't know the locate of the user at that point 2. I'd have to recompile the ActionForm every time I want to make a change to the *view* - seems like a bad practice. What I'm looking to achieve is something similar to fmt:format JSTL tag, where you can specify a format mask, or even a format style defined elsewhere. Thanks, -Sasha On 8/22/03 12:30, Sasha Borodin [EMAIL PROTECTED] wrote: I would like to state a basic assumption I deduced in learning struts, then pose a question. Assumption: ActionForm property getters and setters should return and take Strings. My initial impulse was to try passing the actual data types (Dates, Numbers, etc.); however, the Struts mechanism seems to pass Strings to the ActionForm setter methods on form submission (which throws a conversion Exception of course). Then I tried making the setters take Strings, and getters return the actual data types, but this seemed to confuse the introspection mechanism; plus I didn't see any way to apply formatting inside the html:text tags (like you can in JSTL's fmt:format tags). Question: How does one handle formatting data (custom formatting or i18n) for (pre/re)population of a form? Ex.: An update form; a user's information is loaded from the database into classes (Strings, Dates, Numbers, etc.). If you want to format this data, you have to do it in the Model, as the ActionForm only takes and gives Strings - which seems to be a Bad Practice. Even if you had additional special setters for the explicit purpose of populating the ActionForm from original data types, you still don't know what Locale the client is from. Is my assumption incorrect? Is there a basic flaw in my understanding of the use of ActionForm? Or there an actual short-coming, and workaround? In short, How Can You Format Data For Strut's Form Tags Inside The Actual JSP :-) ? Thank you for any input. -Sasha - 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
RE: J2EE IDE
THEY ALL SUCK! Just pick the one that causes YOU the least pain. Brandon Goodin Avid Eclipse user (1yr) Post Netbeans User (2yr) IDEA (1mo) -Original Message- From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 8:37 AM To: 'Struts Users Mailing List' Subject: RE: J2EE IDE +1 for IDEA, its simply great tool, everything in it leads to productivity, Panchasheel -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:24 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: J2EE IDE Dear All, I am using WSAD 5.0 . Suppose i wish to use the latest nighty build of struts, then can that be configured in WSAD 5.0 and how ? I assume that WSAD 5.0 comes with bundled struts release 1.0 ! Thanks in advance, Vijay José_Fortunato_H._Tomás [EMAIL PROTECTED] wrote: You should consider also Idea. The capability of code refactor is *big* *major* help for productivity. http://www.intellij.com/idea/ Which can integrat the same tool for struts editing like Eclipse. WSAD is the Good one. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:46 AM To: [EMAIL PROTECTED] Subject: J2EE IDE Can someone please suggest me a free J2EE IDE suitable for development of webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE, NETBEANS. However I wanted to ckeckout if anyone has already evaluated any of these since I am not sure which one is easy to use and has reasonably good features as well. Regards Sreekant G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- José Tomás @ Chico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Win TVs, Bikes, DVD players and more!Click onYahoo! India Promos - 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: J2EE IDE
I like flowers while i code. Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:16 PM To: 'Struts Users Mailing List' Subject: RE: J2EE IDE Martin Fowler ripped all the patterns in that book from previous authors. It isn't worth the money. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: J2EE IDE Erich Gamma is one for eclipse leaders, does this means anything for you. James Childers wrote: Here, friends and neighbors, is an example of the appeal to authority fallacy: In Patterns of Enterprise Application Architecture, Martin Fowler specifically commends IDEA. If he uses it, so should you. -= J p.s. I use Eclipse vim. -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:47 AM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: J2EE IDE I would have said netbeans a year ago, but now I'm an eclipse 2 (2.1) fan. Haven't tried any recent (last 6 months) IDEs other than eclipse. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 5:09 AM To: Struts Users Mailing List Subject: Re: J2EE IDE +1 on NetBeans although I've not used Eclipse. I tend to stop looking when I find something that works. However, I find that 90% of the time it's quicker for me to just use vi and Ant. I use NetBeans for debugging though. And if I'm forced to use Windows for my development I'll immediately install NetBeans. Greg Mick Wever wrote: Looks like another IDE war coming on :-) You need to check out them out yourself. As you will no doubt soon see, each of us have different likes and requirements. NetBeans is known for its outstanding GUI (Form) editor and JSP editing. It also has excellent support for CVS and Ant integration. While Eclipse is very good at refactoring. I prefer to use NetBeans as it suits more for the power user. You can change just about anything under its hood from within the IDE. At my new job they were all using JDeveloper, a commercial product, and it only took me 3 weeks to convert all of them to NetBeans. NetBeans now has some nice features in it's suggestion module that will automatically fix code for you, examples are: - missing javadoc tags, - missing import statements, - missing object castings, - and more... I find it just heaven when an IDE fixes your code for you before you have even compiled it. I don't like Eclipse because it is not all written in java. It is written in a mixture of languages and therefore cannot run on all platforms. You also cannot use the different LookFeels that are out there for java. Eclipse is also very short on features compared to NetBeans. This abundance of features can (naturally) slow it down, make sure to turn off all the features you won't be using after you have given them a test run. Again, find out your requirements, and try them all out :) Mick. DISCLAIMER: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. - 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] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: J2EE IDE
I'm glad you are enjoying the kool-aid. Drink up. :-p Brandon Goodin -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:24 PM To: 'Struts Users Mailing List' Subject: RE: J2EE IDE I have to take the opposite point of view. They are all good. It's your own programming skill that matters the most. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: August 27, 2003 2:36 PM To: Struts Users Mailing List Subject: RE: J2EE IDE THEY ALL SUCK! Just pick the one that causes YOU the least pain. Brandon Goodin Avid Eclipse user (1yr) Post Netbeans User (2yr) IDEA (1mo) -Original Message- From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 8:37 AM To: 'Struts Users Mailing List' Subject: RE: J2EE IDE +1 for IDEA, its simply great tool, everything in it leads to productivity, Panchasheel -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:24 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: J2EE IDE Dear All, I am using WSAD 5.0 . Suppose i wish to use the latest nighty build of struts, then can that be configured in WSAD 5.0 and how ? I assume that WSAD 5.0 comes with bundled struts release 1.0 ! Thanks in advance, Vijay José_Fortunato_H._Tomás [EMAIL PROTECTED] wrote: You should consider also Idea. The capability of code refactor is *big* *major* help for productivity. http://www.intellij.com/idea/ Which can integrat the same tool for struts editing like Eclipse. WSAD is the Good one. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:46 AM To: [EMAIL PROTECTED] Subject: J2EE IDE Can someone please suggest me a free J2EE IDE suitable for development of webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE, NETBEANS. However I wanted to ckeckout if anyone has already evaluated any of these since I am not sure which one is easy to use and has reasonably good features as well. Regards Sreekant G - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- José Tomás @ Chico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Win TVs, Bikes, DVD players and more!Click onYahoo! India Promos - 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: [Friday] TV Commercial
Sorry guys. But, that joke was lame. Brandon Goodin -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 4:08 PM To: Struts Users Mailing List Subject: Re: [Friday] TV Commercial It is not ready for production show yet. It definitely needs the Struts experts to give a closer look before we put it on TV at golden times :-) Jing - Original Message - From: Chen, Gin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, July 25, 2003 4:32 PM Subject: RE: [Friday] TV Commercial I'm confused. The car was a BMW. What does that have to do with Mercedes Benz? -Tim - 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: iBatis Out of Memory
The new ibatis 1.2.5 has lazy loading of xml that you can configure. Brandon Goodin -Original Message- From: Indra Gunawan [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 12:54 AM To: 'Struts Users Mailing List' Subject: iBatis Out of Memory Hi all, I have a problem with iBatis in my project . I have several xml files to be loaded and by default iBatis loads them all . Is there a way to solve this problem ? I think there may be an option to change the behavior so iBatis will load only appropriate xml only . Loading all xml files cause out of memory in Tomcat and the server got to be restarted . Thx Regards IG - 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: Struts + iBatis Database Layer
Here is a link to my BaseDAO that utilizes the Ibatis SqlMap. My plan is to move this to a singleton that works more like Log4j Logger. This would allow the SqlMap to be called from a static method. Many people use static methods in their DAOs to avoid instantiating objects everytime they need to perform a DAO function. Anyways, that's my .02. http://www.phase.ws/BaseDAO/ Brandon Goodin -Original Message- From: Andy Cheng [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: Struts + iBatis Database Layer Hi! All Basically I have made the ibatis and struts examples working, and I can build some simple apps with both. However, I do not really know how to link both of them together. The current solution (I think is rather stupid) is to get an instance of the sqlMap by calling the sqlMap = SqlMapConfigExample.getConfiguredSqlMap() (quoted from the ibatis example), and then use that instance in doing other action like delete, or returning lists for display in the view (jsp files). This is done by action classes creating an instance of a special class e.g. DBAccess when the action class is initialized. So, Jsp -- control -- action --(init)instantiate-- DBAccess --instantiate-- sqlMap -- database -- List of beans -- jsp (display) However, can I have a single instance of sqlMap for a session? How can I do it? An example would be a very big step for me. Thanks, and sorry for the English as well as very possible use of bad keywords... Andy - 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]
[OT] where's IRC #struts_users?
I can't locate #struts_users on irc.darkmyst.org... does anyone know what's going on? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts - concepts - is it true ? - model 1 model 2
1) separate (more distinctly) view from logic/maintainability 2) performance 3) scalability/reuse of code Brandon Goodin -Original Message- From: objectworlds [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 8:24 PM To: Struts Users Mailing List Subject: Re: Struts - concepts - is it true ? - model 1 model 2 According to text main difference between model 1 and model 2 is that model 2 uses a servlet as the controller with model 1 using JSP. If that information is correct why did the change take place ? [EMAIL PROTECTED] wrote: --- objectworlds [EMAIL PROTECTED] wrote: Hi, I have some material on the struts framework and I want to check if what I have read is true. That way I will continue to follow the material I have on Struts framework. - The struts framework Model 2 is a variant of MVC software design pattern when used with web applications. - The struts framework keeps multiple views with multiple users up to date so that when the data changes so does the view. This is also known as the publisher - subscriber pattern because it helps keep the subscribers synchronized with the publisher. This implies a push model but HTTP is a pull model with clients requesting fresh data from the server. The other statements are correct. David - The struts framework allows the decoupling of business logic , control and presentation. - Struts also allows one to change Internationalise the application based on the locale of the user. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.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]
RE: Off Topic
Also, it is only on the Canadian google. So, who cares? Microsoft probably didn't have to pay much to get that, being that it is Canadian ;-) Brandon Goodin -Original Message- From: Tim Jones [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:20 PM To: Struts Users Mailing List Subject: RE: Off Topic I'll admit that I didn't see it at first either. I had to look for it. I suppose it's just the principle of the thing. Varun Garg [EMAIL PROTECTED] wrote:Who cares about those sponsored links, I don't even look at the ad space when doing a search. The real search results are all JAVA. Cheers -Original Message- From: Tim Jones [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 2:01 PM To: Struts Users Mailing List Subject: Re: Off Topic Yeah! That STINKS fer shure! Just goes to show that if you throw enough money around, you can pretty much get whatever you want! Jamie M. Guillemette wrote: Follow these steps. go to goole ( www.google.ca ) type in java and then enter. Is it not a real piss off that microsoft has the first link to come up directly targetting java programmers to move away from java.? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [FRIDAY] Job Jar
Thanks Ted. I'll start looking through the existing patches to look for dups and such. I know I have some patches that are now obsolete since over a year has gone already and new technology has provided a standard solution (ie jstl). I'll also, check the enhancement requests to see how i can contribute. I assume i will find some to work on. So, when I find an enhancement that I plan to provide a patch on... should I post my intentions and/or efforts to the particular bugzilla enhancement? I don't want to work on an enhancement the same time as several others are working on the same one. Kinda redundant. Since we all have day jobs :-D I would like to avoid any of us putting in fruitless time coding the same enhancement. Mucho Gracias, Brandon Goodin -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 2:58 PM To: Struts Users Mailing List Subject: [FRIDAY] Job Jar From time to time, volunteer developers actually come around looking for something to do. If anyone were interested, it might be a good idea to start a StrutsJobJar page for enhancements requests that, for some reason, you can't implement yourself. All enhancement requests should be filed with Bugzilla, but starting a StrutsJobJar page to help promote some of the many, many enhancements might be a good way to advertise your interest. http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsProjectPages The wiki is open to all comers. You don't need to be anyone special to post. Right now, we have nearly 100 enhancement requests open. http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDbug_sta tus=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=VERIFIEDbug_seve rity=Enhancementemail1=emailtype1=substringemailassigned_to1=1email2=em ailtype2=substringemailreporter2=1bugidtype=includebug_id=changedin=vot es=chfieldfrom=chfieldto=Nowchfieldvalue=product=Strutsshort_desc=shor t_desc_type=allwordssubstrlong_desc=long_desc_type=allwordssubstrbug_file _loc=bug_file_loc_type=allwordssubstrkeywords=keywords_type=anywordsfiel d0-0-0=nooptype0-0-0=noopvalue0-0-0=cmdtype=doitnewqueryname=order=Bug+ Number Since most of the Committers seem to have demanding day jobs right now, the most likely way to get a enhancement request resolved is to implement it and provide a patch. Again, a wiki Job Jar might be a good way to find other volunteers who might be able to help you out with an idea. Some of these tickets may be obsolete or duplicates. If anyone wanted to try and sort them out, and maybe reference them from a wiki page, please do. You don't have to be anyone special to use bugzilla either, just register. Aside from these, there's another 100+ that were marked REMIND or LATER and not reopened. All of these need to be revisited after 1.1 ships. If anyone wanted to start looking these over now, checking for any that are duplicates or obsolete, or likely candidates for the Job Jar, please do. http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMEDbug_sta tus=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=RESOLVEDbug_stat us=CLOSEDresolution=LATERresolution=REMINDemail1=emailtype1=substringem ailassigned_to1=1email2=emailtype2=substringemailreporter2=1bugidtype=in cludebug_id=changedin=votes=chfieldfrom=chfieldto=Nowchfieldvalue=pro duct=Strutsshort_desc=short_desc_type=allwordssubstrlong_desc=long_desc_ type=allwordssubstrbug_file_loc=bug_file_loc_type=allwordssubstrkeywords= keywords_type=anywordsfield0-0-0=nooptype0-0-0=noopvalue0-0-0=cmdtype=d oitnewqueryname=order=Bug+Number -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: buttons in struts.
You can use the LookupDispatchAction to accomplish what you want. Basically, your form will submit to the same ActionForm and will go to the same Action. But, depending on which button you click you can set the LookupDispatchAction to call different methods in your LookupDispatchAction. It is good practice to pass ALL requests through an Action when going from page to page, even if it is a simple page to page navigation with no biz layer interaction. In your case you could set one button to call a method in you LookupDispatchAction that simply calls mapping.findForward(gohere). The other method could contain the code you need the process your form and forward to it's next view. Here is a link to more info: http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatc hAction.html Brandon Goodin -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 5:47 AM To: [EMAIL PROTECTED] Subject: buttons in struts. Hello I am having two buttons in my jsp. On clicking one i shud submit form and on clicking another i should go to another jsp and get data there and upon hitting submit in that jsp I should come to my first jsp. how can i achive it. Presently i have make both the buttons as submit type. but i don't know how i can pass the information which will help me in doing two different tasks using these two different buttons. thanks. Imran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Validator with LookupDispatchAction and Tiles
I do my validations within the action using my ValidatorLookupDispatchAction. I wrote this class in order to handle validations within the Action instead of the ActionForm. My validator contains definitions for each method in the ValidatorLookupDispatchAction (/myAction.create, /myAction.read, etc...). When validation fails I use the ActionForward to return back to the page. I do not use the input and I do not validate on the Form. What is also handy about this is that you can do both model validations and basic form validation at one time. This allows your user to see all errors that need to change. The source is at the following location: http://www.phase.ws/struts . I believe I have documentation in the javadoc of the class. Anyways, if this helps, please use it. Brandon Goodin -Original Message- From: Dee [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 6:58 PM To: [EMAIL PROTECTED] Subject: Validator with LookupDispatchAction and Tiles Hi, My teammate and I have looked through the message archives (and different web sites) and not been able to find a thread/site that discusses how to handle this situation. We are developing a web-app with multiple editors, each of which has a Selection page where the user decides to Create, Read, Update, or View the object supported by that editor. Each Action Class handles the CRUD functions for one object type and sub-classes LookupDispatchAction. We are constructing the pages using the Tiles framework. Now the fun part: We are implementing Validator. The client-side validation (javascript) works fine, but we have an issue with the server-side validation. When the validation fails, we should return to the page that had the error. I.E. When the user is creating and has a server-side validation error, we need to return to the create page, which is a tiles definition.similarly with the Update function, we need to return to the update tiles definition. The input tag in the action-mapping seems to be the answer, but it would require multiple action mappings to have an input tag for each of the tiles-mappings that used validator. My question: Is the input tag and multiple-action mappings the right way to accomplish our goals? The use of multiple action-mappings seems messy; is there a better way? Thanks for any advice or thoughts. Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Validator with LookupDispatchAction and Tiles
IMO. Consolidating Actions and avoiding mulitple action mappings is cleaner and easier to identify functionality. Inevitably you have to come back to the app to make updates. When you do come back it's a whole lot easier to indentify an action according to it's operative functionality. The added advantage of LookupDispatchAction is also the i18n button naming, easier management of mulitple buttons in the same form and the translation of button names to appropriate method names. Brandon Goodin -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 8:09 PM To: Struts Users Mailing List Subject: Re: Validator with LookupDispatchAction and Tiles - Original Message - From: Dee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 7:58 PM Subject: Validator with LookupDispatchAction and Tiles Hi, My teammate and I have looked through the message archives (and different web sites) and not been able to find a thread/site that discusses how to handle this situation. We are developing a web-app with multiple editors, each of which has a Selection page where the user decides to Create, Read, Update, or View the object supported by that editor. Each Action Class handles the CRUD functions for one object type and sub-classes LookupDispatchAction. We are constructing the pages using the Tiles framework. Now the fun part: We are implementing Validator. The client-side validation (javascript) works fine, but we have an issue with the server-side validation. When the validation fails, we should return to the page that had the error. I.E. When the user is creating and has a server-side validation error, we need to return to the create page, which is a tiles definition.similarly with the Update function, we need to return to the update tiles definition. The input tag in the action-mapping seems to be the answer, but it would require multiple action mappings to have an input tag for each of the tiles-mappings that used validator. My question: Is the input tag and multiple-action mappings the right way to accomplish our goals? The use of multiple action-mappings seems messy; is there a better way? Could you elaborate why you think the use of multiple action mappings seems messy? I am asking the question from a research point of view. Jing Thanks for any advice or thoughts. Nick - 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: DispatchAction?
Why don't you just use a hidden form field with the name of your specified parameter? input type=hidden name=method value=fetch You don't have to use the strugs tags for constant values. Personally I like to use the LookupDispatchAction. It uses the name of the button pressed to map to the method name in the LookupDispatchAction. So, you don't have to deal with creating hidden fields. All you have to do is make sure your ApplicationResources.properties conatins a button key for the button name (button.add=Add) and that your LookupDispatchAction has that key mapped to a method in it's getKeyMethodMap(). Brandon Goodin -Original Message- From: Ashutosh Satyam [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:01 PM To: Struts Users Mailing List Subject: RE: DispatchAction? Other parameters can go as part of action. In your case you can put it as. html:form action=/order?method=create focus=date I have not tried this but mostly I feel it should work. Cheers, Ashutosh -Original Message- From: Bjorn T Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:16 AM To: [EMAIL PROTECTED] Subject: DispatchAction? I am starting to use DispatchAction instead of some of my actions to simplify CRUD operations, but I have a question. How do I integrate which method to call in a html:form tag? I.e. if I could write http://localhost/app/order?method=create then it wouldn't be a problem, but how do I write the same thing using html:form? (html:form action=/order focus=date where should I put the method parameter? ) Regards, BTJ --- Bjørn T Johansen (BSc,MNIF) Executive Manager [EMAIL PROTECTED] Havleik Consulting Phone : +47 67 54 15 17 Conradisvei 4 Fax : +47 67 54 13 91 N-1338 Sandvika Cellular : +47 926 93 298 http://www.havleik.no --- The stickers on the side of the box said Supported Platforms: Windows 98, Windows NT 4.0, Windows 2000 or better, so clearly Linux was a supported platform. --- - 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: few questions from new struts user
I think the functionality was removed... but strutsconsole does that. http://www.jamesholmes.com/struts/console/. You might want to talk to James Holmes about that. Email him...cuz he has dealt with this issue. Also, have you considered customizing dreamweaver. It's fairly easy to set up the Struts tags to be viewed as html elements. You designer could layout the page visually using Dreamweaver and Struts tags. Brandon Goodin -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 7:15 AM To: Struts Users Mailing List; Adwait B Subject: RE: few questions from new struts user Well, one possibility (although I'm not sure how feasible) would be to run the JSP's through an XSLT stylesheet. Although the pages need to have well-formed tags. I'm not sure you can entirely automate this type of process. -Original Message- From: Adwait B [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 9:06 AM To: Struts Users Mailing List Subject: few questions from new struts user Hi All, I've few things to ask that i couldnt find in archive.. 1.I'm in design phase of a project that is supposed to use struts.We will be recieving plain HTML forms(GUI) from our frontend designer and then we'll be converting that in struts jsp(jsp with struts tags) During demo we found this process of conversion to be painful. Is ther any tool/script availbale for converting plain pure html into struts jsp? 2.What are the struts development tools?Can anybody recommend me some tool?(like camino,exadel struts studio,metanology.com MDE)has anybody done development using these tools.. 3.Now during development html(screen design) changes..waht are the ways we can make sure that jsp changes accordingly.. Thanks. Adwait - 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] IDE with easy tomcat upgrade?
Netbeans is not easily upgraded as new Tomcat releases become available and the Swing environment can be burdensome and buggy unlike SWT (which is what eclipse is built on). Eclispe via the Sysdeo plugin does a great job and allows you to upgrade your version of Tomcat at will. Heck!, they have plugins for just about every server out there (http://eclipse-plugins.2y.net/eclipse/index.jsp). Eclipse may be weak on the JSP support but that will be coming along soon (see: http://www.eclipse.org/webtools/main.html). All in all Eclipse is more intuitive. Also, I am not speaking from religious prejudice. I was a long time user of Netbeans and ardent defender against Eclipse. But, Since Eclipse 2.x things are much better. The future of Eclipse is only looking better. The version 3.0 M1 build is already out. Anyways, I know several developers who have made the switch to Eclipse. Brandon Goodin -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 9:17 AM To: Struts Users Mailing List Subject: Re: [OT] IDE with easy tomcat upgrade? Isaac, I too am in the market for an IDE. Can you give me some details about what features you like about NetBeans? Are you using any plugins? Any specific features that make J2EE development quicker? Thanks, Aaron isaac wrote: On 6/13/03 4:16 PM, Mike Whittaker [EMAIL PROTECTED] wrote: Are any of the suggestions on this thread free? If not are there any? At present I'm just using JCreator Tomcat, but it seems I may be making my life hard. -- Mike W Why not try NetBeans. This is what I use for most of my development, and it's free! http://www.netbeans.org Thanks, Isaac - 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] MVC / Model 2 for Microsoft ???
I think you should build the .NET version of Struts and call it what I suggested as a joke in an earlier post .NUTS. Brandon Goodin -Original Message- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:09 PM To: Struts-User Subject: [OT] MVC / Model 2 for Microsoft ??? I hope I don't start a huge debate with that intro, here goes. I am a freelance web developer. I've been struggling lately with not being able to use the Struts framework on ALL projects. Specifically, I do work with a number of Microsoft Devotees. For several sites, this has meant developing in old ASP like playing with Duplos compared to Struts. I have been spending some time learning the .NET framework. So far it looks great... er, the features that look like Java look great. But then, why wouldn't I just use the more open, polished, community-oriented, original... Java? So now to the point... I don't have a choice for some projects... I have to use .NET. I am curious if anyone is aware of an MVC-type framework for .NET. I am NOT looking for a Struts port to .NET. I started doing a little research, searching for things like Best Practices or .NET Patterns etc. I found almost nothing... no best practices guides. Not even a single recommendation about builing Object-based backend systems. In fact, most books I've read on ASP.NET and .NET in general have focused on database access code directly in the ASPX page itself(in the Code Behind section). Am I: 1) Naive to not notice that Java Enterprise developers are light-years ahead of MS developers in terms of programming practices, design patterns, and role separation? 2) Mistaken? There really are MVC frameworks in .NET... but they are all internal... and no community oriented projects exist. Thanks for the input. Aaron Longwell - 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: Create link with parameters from ActionForm
jstl c:url html:link(el) would be as close as you get. Of course if you combine the two you get some bad urls when the jsessionid is involved. The jesssionid will be generated 2x in you url. Kinda breaks things. Brandon Goodin -Original Message- From: Eric Jain [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:18 AM To: struts-user Subject: Create link with parameters from ActionForm Is there any way to write something like: html:link href=http://x.com/xyz; parameters=${form}.../html:link that would generate the following output: a href=http://x.com/xyz?a=alphab=beta;.../a ? -- Eric Jain - 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 FRIDAY: Take a break with struts users
try: irc.darkmyst.org 6667 #struts_users Brandon Goodin -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:54 PM To: [EMAIL PROTECTED] Subject: OT FRIDAY: Take a break with struts users Did they come up with the official irc url for Struts/Friday? (this one did not work for me.) U R in trouble. Say: Ervis, and no booze: http://www.icebox.com/icebox/shows/show_54/viewer_frameset_ep1.html Mark Galbreath wrote: IRC your way to www.darkmyst.org 6667 #struts_users and relax for a while with your fellow developers. Mark - 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] - Lucene Intergration with Struts/Struts Jobs
It wasn't with Struts. But, Patagonia.com uses it for product searches. I worked on that. It was great! Brandon Goodin -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:11 PM To: [EMAIL PROTECTED] Subject: [OT] - Lucene Intergration with Struts/Struts Jobs Hey guys, I know its not really a struts question but is anyone out there using Jakarta Lucene with struts. I've started looking into it to enable full text searching of product catalogues rather than screwing around with SQL Like statements. Any Comments?? Anyone know where i might find some Struts work Contract/Permanent... theres not much of a demand here in Ireland for struts skills at the moment, just been laid off so its time to getting looking... any suggestions? I guess it all happening in the USA if its happening anywhere what's the chances of getting company visa sponsorship in the USA theses days? _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - 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: Loop In JSP Page
You can do this. c:set var=dropDownSize value=${myActionFormName.dropDownSize}/ c:forEach begin=1 end=${dropDownSize} var=current ... /c:forEach Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 1:12 PM To: 'Struts Users Mailing List' Subject: RE: Loop In JSP Page I think the original question implies that the integer can change, which would require something like c:foreach begin=1 end=%= n % var=current but I don't know JSTL (yet) and don't know if this is possible. Otherwise, the integer would have to captured in the associated Action class and a map passed back to the ActionForm based on the particular integer. Mark -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:52 PM To: Struts Users Mailing List Subject: RE: Loop In JSP Page or with JSTL c:foreach begin=1 end=20 var=current c:out value=current/ /c:foreach gives you 1 2 3 4 5 .. 20 Tim --- Josh Rayls [EMAIL PROTECTED] wrote: Create a Map in your action class, put it into the request, and then use the html:select tag. Specify the collection as the one you put into the request. -Josh -Original Message- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 7:11 AM To: Struts Users Mailing List Subject: Loop In JSP Page Hi, I have an integer variable in my ActionForm class whose value is say 20. Now in my JSP I would like to show a drop down with values 1 till 20. Question is how to run a loop in JSP using the struts. Anurag Garg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html - 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]
PHP version of Struts
Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PHP version of Struts
It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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: PHP version of Struts
Why would anyone want to use php in a jsp page? It sounds like Java is trying to be .NET. If someone is going to convert from PHP to a Java platform then it is not much effort to learn java constructs. If they can't do that, then they are probably a lousy progarmmer. IMNSHO I think that it makes things more convoluted and aimless when we are able to shove any 'ol scripting language we want into the mix. Why not ECMA, VB or Perl. Then again, if you don't want it... don't use it :-D Brandon Goodin -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 5:05 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts At JavaOne this week one of the announcements about future plans was for scripting language support, specifically in the context of web pages, that will focus initially on PHP support. It was suggested that an initial reference implementation of this would provide PHP support in a future release of Tomcat. This is at the early JSR stage now. So, it would not be of much use any time soon. Still, it seemed worth mentioning in the context of this discussion. The JSR for this is JSR-223, Scripting Pages in Java Web Applications: http://www.jcp.org/en/jsr/detail?id=223 FYI, Van Mike Van Riper mailto:[EMAIL PROTECTED] -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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]
[RETRACTION] PHP version of Struts
It would help to read the JSR. The JSR is defined standards for accessing Java Objects from a particular scripting language. So, php would still be php. It would just be used to access the java objects. Yet the php processor would still be the thing parsing the php page. Okay, makes sense. Disregard my foolish ramblings. Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:02 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts Why would anyone want to use php in a jsp page? It sounds like Java is trying to be .NET. If someone is going to convert from PHP to a Java platform then it is not much effort to learn java constructs. If they can't do that, then they are probably a lousy progarmmer. IMNSHO I think that it makes things more convoluted and aimless when we are able to shove any 'ol scripting language we want into the mix. Why not ECMA, VB or Perl. Then again, if you don't want it... don't use it :-D Brandon Goodin -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 5:05 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts At JavaOne this week one of the announcements about future plans was for scripting language support, specifically in the context of web pages, that will focus initially on PHP support. It was suggested that an initial reference implementation of this would provide PHP support in a future release of Tomcat. This is at the early JSR stage now. So, it would not be of much use any time soon. Still, it seemed worth mentioning in the context of this discussion. The JSR for this is JSR-223, Scripting Pages in Java Web Applications: http://www.jcp.org/en/jsr/detail?id=223 FYI, Van Mike Van Riper mailto:[EMAIL PROTECTED] -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [RETRACTION] PHP version of Struts
David, I agree. But, it would be nice to be able to access Java Objects from a scripting language. For example, If someone wanted to use Lucene to index their site, and the site already exists in php. Then it would be appropriate to be able to interact with the Lucene java objects and integrate that into the already existing system. I'm not saying that you should start a project thinking I'll build my web pages with php and my logic with java. That would be foolish. But, I can see where this would be handy in tightening the performance of legacy interaction as systems upgrade. Don't you think? Brandon Goodin -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:16 PM To: [EMAIL PROTECTED] Subject: Re: [RETRACTION] PHP version of Struts IMNSHO I think that it makes things more convoluted and aimless when we are able to shove any 'ol scripting language we want into the mix. Why not ECMA, VB or Perl. Then again, if you don't want it... don't use it :-D I disagree with your last statement. If you're coding a project yourself, you can make sure you stay away from what you consider bad style, confusing constructs, etc. When on a team, or inheriting an old project, it's much different. In my experience, when a language allows too much flexibility you end up with a real mess. One of the best features of Java is the limited amount of allowed language constructs and idioms which leads to easily understandable code. Learning the rules of Java is much easier than learning the rules of C++ or Perl. I realize everyone has their own favorite language but if I wanted to write scripts I wouldn't be using Java to begin with. David Brandon Goodin -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 5:05 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts At JavaOne this week one of the announcements about future plans was for scripting language support, specifically in the context of web pages, that will focus initially on PHP support. It was suggested that an initial reference implementation of this would provide PHP support in a future release of Tomcat. This is at the early JSR stage now. So, it would not be of much use any time soon. Still, it seemed worth mentioning in the context of this discussion. The JSR for this is JSR-223, Scripting Pages in Java Web Applications: http://www.jcp.org/en/jsr/detail?id=223 FYI, Van Mike Van Riper mailto:[EMAIL PROTECTED] -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus - 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]
[OT] [JOKE] So if Struts were to be ported to .NET...
So if Struts were to be ported to .NET, what would they call it? .NUTS? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PHP version of Struts
I'm with David on this one. Cheap=crap. JSP is simple to code. A PHP developer should have no problem learning it. Besides isn't the view supposed to be simplified. Isn't it the backend that is supposed to do the powerlifting. So, if you have a bunch of PHPers they are going to have to learn java anyways if they are going to code anything powerful. If you have page designers to train... then it is easier to teach them jstl than php. No? Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:27 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It may sound a little cynical, but 5 years is a long time in IT, and many companies can charge their customers by the hour to do that maintenance... (by which time, having had a cheap and dirty app in place to play with for that time the users might even be approaching the point where they have some kind of idea what their requirements really are!) -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 June 2003 13:16 To: [EMAIL PROTECTED] Subject: Re: PHP version of Struts The real advantage of PHP is the number of people that know PHP. The number of people that know jsp/velocity is dwarfed by those that know PHP, thus you can hire cheaper labor and the company saves money. In my experience, cheaper labor = higher cost because you have to rip out all of those scripts within 5 years and replace them with maintainable *applications*. David This technology may not solve any problems for the Java programmer however it would influence a companies decision to go with a Java solution over .Net. -james - Original Message - From: Igor Shabalov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:46 PM Subject: Re: PHP version of Struts Why PHP when I have Java? What real advanteges PHP have compared to Java? On Wed, 11 Jun 2003 16:04:31 -0700, Van Riper, Mike [EMAIL PROTECTED] wrote: At JavaOne this week one of the announcements about future plans was for scripting language support, specifically in the context of web pages, that will focus initially on PHP support. It was suggested that an initial reference implementation of this would provide PHP support in a future release of Tomcat. This is at the early JSR stage now. So, it would not be of much use any time soon. Still, it seemed worth mentioning in the context of this discussion. The JSR for this is JSR-223, Scripting Pages in Java Web Applications: http://www.jcp.org/en/jsr/detail?id=223 FYI, Van Mike Van Riper mailto:[EMAIL PROTECTED] -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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] -- Igor Shabalov Director of Engineering Exadel Inc. http://www.exadel.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] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - 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: PHP version of Struts
Oh, and here is a case in point. I have a PHP friend who has been coding PHP for years. I recently reintroduced him to Java. He had looked at Java back in the 1.1 days. When he began to see the potential and how much easier Java was than PHP he said, and I quote... It's like I've been asleep for a long time and I woke up in the Future. Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:52 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: PHP version of Struts I'm with David on this one. Cheap=crap. JSP is simple to code. A PHP developer should have no problem learning it. Besides isn't the view supposed to be simplified. Isn't it the backend that is supposed to do the powerlifting. So, if you have a bunch of PHPers they are going to have to learn java anyways if they are going to code anything powerful. If you have page designers to train... then it is easier to teach them jstl than php. No? Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:27 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It may sound a little cynical, but 5 years is a long time in IT, and many companies can charge their customers by the hour to do that maintenance... (by which time, having had a cheap and dirty app in place to play with for that time the users might even be approaching the point where they have some kind of idea what their requirements really are!) -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 June 2003 13:16 To: [EMAIL PROTECTED] Subject: Re: PHP version of Struts The real advantage of PHP is the number of people that know PHP. The number of people that know jsp/velocity is dwarfed by those that know PHP, thus you can hire cheaper labor and the company saves money. In my experience, cheaper labor = higher cost because you have to rip out all of those scripts within 5 years and replace them with maintainable *applications*. David This technology may not solve any problems for the Java programmer however it would influence a companies decision to go with a Java solution over .Net. -james - Original Message - From: Igor Shabalov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:46 PM Subject: Re: PHP version of Struts Why PHP when I have Java? What real advanteges PHP have compared to Java? On Wed, 11 Jun 2003 16:04:31 -0700, Van Riper, Mike [EMAIL PROTECTED] wrote: At JavaOne this week one of the announcements about future plans was for scripting language support, specifically in the context of web pages, that will focus initially on PHP support. It was suggested that an initial reference implementation of this would provide PHP support in a future release of Tomcat. This is at the early JSR stage now. So, it would not be of much use any time soon. Still, it seemed worth mentioning in the context of this discussion. The JSR for this is JSR-223, Scripting Pages in Java Web Applications: http://www.jcp.org/en/jsr/detail?id=223 FYI, Van Mike Van Riper mailto:[EMAIL PROTECTED] -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: PHP version of Struts It's PHP... what do you think? Brandon Goodin -Original Message- From: Lai, Kenny [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:22 PM To: 'Struts Users Mailing List' Subject: RE: PHP version of Struts the question is, is it as good as struts -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 6:22 PM To: Struts User List Subject: PHP version of Struts Would you use it? http://phrame.sourceforge.net/ Brandon Goodin - 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] -- Igor Shabalov Director of Engineering Exadel Inc. http://www.exadel.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e
RE: Virus warning
me too. Brandon Goodin -Original Message- From: Robert Kovacs [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 8:18 AM To: Struts Users Mailing List Subject: Re: Virus warning Yup me too ... a few secs ago. good ole NAV - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 4:02 PM Subject: Re: Virus warning I run in the same issues last weekend with BugBear virus and after passing Norton it removed me a trojan from the HD. Be careful. Adolfo. From: Kevin Robair [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Virus warning Date: Tue, 10 Jun 2003 06:59:14 -0700 (PDT) Hi all, FYI Looks like someone who was or is on this list has a virus/worm, as I just got the following email in my inbox (Sent to me, not struts-user) with an attached .xls file with the Bugbear virus (as scanned by Yahoo's Norton Anti-virus) BTW, I was not on this list April 01, and did not participate in the thread referenced below, so anyone could get this. I tried to email the originator privately, but it bounced. -Kevin Message content follows: -- From: [EMAIL PROTECTED] Subject: RE: [log4j] yup. no problems... -Original Message- From: Edited to protect the innocent Sent: April 01, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: [log4j] 4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - 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: Newbie Q: Cannot load JDBC driver class using Datasource Connection
I use mysql and I have my jdbc2_0-stdext.jar and mysql-connector-java.jar in $TOMCAT_HOME/commons/lib and nowhere else. I face no problems. Brandon Goodin -Original Message- From: Srilatha [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:09 AM To: Struts Users Mailing List Subject: RE: Newbie Q: Cannot load JDBC driver class using Datasource Connection I guess u need to put the jdbc2_0-stdext.jar IN THE LIB folder and if u r using mysql put the mysql-connector-java-3.0.6-stable-bin.jar also -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 11:29 PM To: [EMAIL PROTECTED] Subject: Newbie Q: Cannot load JDBC driver class using Datasource Connection Am I missing something here? Tomcat keeps on giving me the following exception about my JDBC connection driver not being loaded when I try to establish a datasource connection to a mysql database in struts : Initializing application data source org.apache.struts.action.DATA_SOURCE java.sql.SQLException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav a:529) at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:38 1) at org.apache.struts.action.ActionServlet.initApplicationDataSources(ActionServ let.java:942) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 4) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc essorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) My struts-config.xml looks like this : struts-config !--- other parameters -- !--- other parameters -- !-- == Data Source Configuration === -- data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=autoCommit value=false/ set-property property=description value=MyProject Database Datasource Connection/ set-property property=driverClassName value=com.mysql.jdbc.Driver/ set-property property=maxCount value=4/ set-property property=minCount value=2/ set-property property=password value=myPassword/ set-property property=url value=jdbc:mysql://localhost:3306/Mydatabase/ set-property property=user value=root/ /data-source /data-sources !--- other parameters -- !--- other parameters -- /struts-config Info: This driver , com.mysql.jdbc.Driver, does establish connection to this same database with no exception when I use it in a normal java class. Can someone tell me or atleast point me to where I can find further help/information. I could not find anything at http://jakarta.apache.org/struts/faqs/database.html and also in this list's archives. Thanks, robert - 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: classloading error in struts
Where is the exception being thrown from? Is it in an action? or during the request? Brandon Goodin -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 7:25 AM To: [EMAIL PROTECTED] Subject: RE: classloading error in struts The stryts jar is called struts.jar and is only in the webap/lib dir From: Sandeep Takhar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: classloading error in struts Date: Mon, 9 Jun 2003 05:58:54 -0700 (PDT) Weblogic 6.1 doesn't like having more than one 'decimal' in the name of jar files. could this be the problem?? sandeep --- Andrew Hill [EMAIL PROTECTED] wrote: Hmm... And Actions work? - just the ActionError class not found when using a JSP? Wierd. Cant think of anything else then Im afraid :-( -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] Sent: Monday, 9 June 2003 18:47 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: classloading error in struts Yep, checked both of these, the struts lib is in the webapp lib and is not no the classpath We're using 1.1 rc1 on WLS 6.1 From: Andrew Hill [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: classloading error in struts Date: Mon, 9 Jun 2003 18:45:18 +0800 Is your struts.jar in your webapps WEB-INF/lib? Do you have a struts.jar in a shared lib folder (problematic)? -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] Sent: Monday, 9 June 2003 18:38 To: [EMAIL PROTECTED] Subject: classloading error in struts I get the following error when requesting a page - any ideas or sugestions on the way forward very much apprec. 09-Jun-03 10:31:49 BST Error HTTP [WebAppServletContext(446862,SwanWebApp ,/ThisWebApp)] Root cause of ServletException java.lang.NoClassDefFoundError: org/apache/struts/action/ActionError at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10 _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger - 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] _ Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger - 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] __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger - 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: ActionErrors cannot be resolved
ActionErrors aes = (ActionErrors);-- where is the object you are casting? Where is your ActionErrors object? You're casting nothing to aes. Brandon Goodin -Original Message- From: Carlos Saraiva [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:22 PM To: Struts Users Mailing List Subject: ActionErrors cannot be resolved Would someone please tell me what I'm doing wrong here? This same code compiled well yesterday, and is giving me the error ActionErrors cannot be resolved today. .. %@ page import=org.apache.struts.action.*,java.util.*% .. % ActionErrors aes = (ActionErrors); if (aes != null) { .. Thanks in advance, -- Best regards, Carlos Saraiva Raleigh, NC - 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: Why is dbcp / pool removed?
It has been removed permanently. The dbcp/pool has several unresolved bugs that weren't getting fixed and in turn were impeding the release of rc2. Brandon Goodin -Original Message- From: Ka-Wai Chan [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:11 PM To: [EMAIL PROTECTED] Subject: Why is dbcp / pool removed? Hello Just wondering why dbcp/pool is removed from RC2, will they be back for the final release? I have lots of apps that use them and wanted to know what direction this is going. Thanks Ka-Wai - 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: Why is dbcp / pool removed?
DBCP. Brandon Goodin -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:58 PM To: Struts Users Mailing List Subject: Re: Why is dbcp / pool removed? im using tomcat. what is included in tomcat then? thanks. I recommend using the package distributed with either your container or your database. David - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 11:07 AM Subject: RE: Why is dbcp / pool removed? Struts 1.1 includes its trusty old GenericDataSource but you can always plugin DBCP if you want. Hold on a second... Isn't GenericDataSource deprecated? Yes, it will be removed in 1.2 but is included in 1.1 for backward compatibility. I just recently switched from using GenericDataSource in my struts-config.xml (by specifying no type=) to explicitly using type=org.apache.commons.dbcp.BasicDataSource because of the docs in GenericDataSource. Is this no longer the recommended approach? If DBCP works for you, then continue using it. It's just not included in the Struts distro anymore. In the future Struts won't distribute *any* connection pooling package, you will have to plug in your favorite implementation. Currently, I'm having some problems with pooling and idle connections which are closed by the db server actually being given back to my app (I suspect). Could this be related to the bugs in dbcp you are talking about? Maybe, this behavior is configurable in DBCP so it may or may not be trying to recover lost connections. Using 1.1RC2, what is the recommended way to acquire pooled db connections? I recommend using the package distributed with either your container or your database. David Matt Kruse _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - 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: Newbie Q: Cannot load JDBC driver class using Datasource Connection
If you have it in the $TOMCAT_HOME/common/lib, then remove it from you web-app. It is redundant. Also, are you using the Struts Datasource config or Tomcat JNDI? Brandon Goodin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: Re: Newbie Q: Cannot load JDBC driver class using Datasource Connection Yes, I have my JDBC driver both in my application's as well as in Tomcat's classpaths - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: newbiew Q: how to do redirect instead of forward
1) You need to set your forward redirect=(true|false) in your struts-config.xml for that particular action mapping. 2) The difference... a) redirect generates a whole new request by sending a header back to the client you lose all of your request scope data. b) forward continues with the same request and arrives at the view with request object intact. RequestDispatcher vs response.redirect(); Brandon Goodin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 2:37 PM To: Struts Users Mailing List Subject: Re: newbiew Q: how to do redirect instead of forward This is probably a silly question, but what's the difference between forward and redirect? Thanx, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Zhu He [EMAIL PROTECTED] on 06/05/2003 04:16:07 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: newbiew Q: how to do redirect instead of forward for forward we usually do execute() { ... return mapping.findForward(listing); } I tried to use redirect by execute() { ActionForward af = mapping.findForward(listing); af.setRedirect(true); return af; } but get exception javax.servlet.ServletException: Configuration is frozen at org.apache.struts.action.RequestProcessor.processException(RequestProcessor. java:541) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:482) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420) This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. - 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]
[FRIDAY] irc and yahoo
PLEASE. DO NOT RESPOND TO THIS ON THE LIST. IF YOU LIKE JUST EMAIL ME PRIVATELY WITH QUESTIONS. Forgive me this indulgence. But, I wanted to remind everyone of two sources where you can be [OT] as much as you like. Especially on Friday ;-) The truth is that I think everyone here pretty much enjoys each other. It's akin to getting together at the pub and being friends. Anyways, out of respect to our friends and the users of this list we have set up the following venues. irc channel: #struts-user immortal.se.eu.darkmyst.org Yahoo chat room: Computers Internet - User Rooms - Struts Room NOTE: Yahoo is less certain to be up and running. irc is more likely to be up 24x7. Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: OT FRIDAY: Is it Friday yet? Monkeys are cool.
Craig has put a vice on [OT] and [FRIDAY] posts. Too many have been popping up. Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: CMA and LoginAction
Wouldn't it be nice if the servlet spec supported this natively? It seems like one of the largest oversites that should have been dealt with in 2.4. But, oh well. I use securityfilter and it works excellent for my needs. Brandon Goodin -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 4:44 PM To: Struts Users Mailing List Subject: Re: CMA and LoginAction CMA does just-in-time authentication. You will only be authenticated on the way to viewing a protected resource. After your authentication succeeds, you will end up at the protected resource that you originally requested. This is very nice because logging in doesn't take the user off the course of what they were trying to achieve. But, it also means that you can't have users login at will, or issue an unsolicited login request by randomly posting to j_security_check. Actually, you can support this a bit by having the Login link take you to a protected resource, which will force the CMA to do the authentication routine along the way. Your protected resource might just redirect you back to the home page or something if that is what you want. You can't have a login form on every page, though, because the container won't know where to send them after they are logged in. This limitation also creates problems if users bookmark the login form page. This is one of the reasons I started the Security Filter project. It allows unsolicited login requests, and you can configure where users should be sent if they issue an unsolicited login request. It also supports just-in-time authentication like CMA, which is how it will work if Security Filter initates the authentication sequence in response to a request for a protected resource. http://securityfilter.sourceforge.net/ -Max looking for lots of securityfilter hits today ;-) - Original Message - From: Bailey, Shane C. [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, June 06, 2003 7:28 AM Subject: RE: CMA and LoginAction This makes me think of another question. I have put implementing my CMA on hold but I will need to know this soon: If you specify where to go prior to the CMA j_security_check call (by describing the login form in the web.xml) why don't you have to describe the success page (most likely an action) to go to as well? So where does a successful CMA auth take you? I am guessing it goes to the welcome page also described in the web.xml? Anyway, if that is the case can you have your welcome page be userInitialize.do ??? That would work right? BTW, we started using Objectivity and JRun has LoginModules provided for LDAP,Relational and XML storage and not oodb. I tried to write a custom LoginModule (not really a problem) and a customer User manager class and it hasn't worked. Anyone successful in such things? -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:15 AM To: 'Struts Users Mailing List' Subject: CMA and LoginAction Hi I would like to use role based authentication. That is CMA. Now I also want to call my Action class. The idea is to use logic:present role=name/ My Action class sets up user profiles based on the login ID etc. Is this possible ? 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] - 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] SEX SEX SEX
All sys-con sites run cold fusion. Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:39 PM To: 'Struts Users Mailing List' Subject: RE: [OT] SEX SEX SEX JDJ has a Cold Fusion site? What's up with that? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:06 PM http://www.sys-con.com/java/readerschoice2003/index.cfm - 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] Reach out and touch someone?
That is why I think the exchange of YahooIDs and the setup of an irc channel is appropriate. If we want to have free wheeling irrelevant discussions it is more appropriate in another venue. Perhaps, we should reduce our [FRIDAY] and [OT] post to a less profane invite to an irc channel or yahoo discussion. Craig, would you consider that appropriate? BTW. I was not flirting with Becky and besides that I wasn't clear as to how it was relevant to James initial post. I'm a happily married man :-) Brandon Goodin -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 11:03 PM To: Struts Users Mailing List Subject: RE: [OT] Reach out and touch someone? Mark (and others) OK guys ... I'm glad you've had your fun ... but an [OT] subject doesn't excuse the absolute and total garbage that has been going on the last few weeeks on this list. There is a line between having an open community that likes to have fun, and a mailing list where the amount of off-topic stuff (even if marked with [OT]) encourages people not to participate any longer. I believe that the struts-user list has gone over that line in the last month. And the trend line is that it's getting worse, not better. If people want to argue about what beer is good, or ribbing each other, or whining because you are still working late at night or on weekends, or ragging each other, or complaining about any other off-topic subject, that is fine ... but please do it elsewhere. I'm not interested. Neither are the vast majority of subscribers to this list. Please take the [OT] posts elsewhere. And, unless the [Friday] posts start to get at least semi-relavant to the Struts community, they are going to be reduced/restricted as well. Craig McClanahan On Wed, 4 Jun 2003, Mark Galbreath wrote: Date: Wed, 4 Jun 2003 23:46:40 -0400 From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [OT] Reach out and touch someone? reach out and touch somebody at irc.darkmyst.org 6667 and flame the hell out of me at #struts-user, you LISP fag. If you even know how to get around in a Unix environment on the Net. You are probably so full of Foster piss, you can't even type your way out of a virtual paper bag. Mark -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 11:35 PM To: Struts Users Mailing List Subject: RE: [OT] Reach out and touch someone? I dont drink fost.. oh! you mean Mark! ;- -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 01:43 To: Struts Users Mailing List Subject: RE: [OT] Reach out and touch someone? Well, don't be telling everyone ... or he'll turn into a bitter and cynical foster's beer drinking grouch like someone we all know! ;-) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 12:40 PM To: 'Struts Users Mailing List' Subject: [OT] Reach out and touch someone? heh heh...Brandon is flirting with Becky on irc.darkmyst.org 6667 right now -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:23 PM The quickest way to reach me is with AIM. - 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] - 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: Jobless in Montana
:-)) Montana has a zoo? ;-) No, Montana is a zoo. With no fences. And if there are developers around here, they aren't using a computer they are building shopping centers and banks for all the rich people that want to come here and NOT do business. Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 7:39 AM To: 'Struts Users Mailing List' Subject: [OT] RE: Jobless in Montana I heard the State zoo was looking for developers about a month ago. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 6:31 PM To: Struts Users Mailing List Subject: RE: DynaActionForm weekend? I'm not familiar with that term since I became self-employed. Things have gotten real thin here (Montana). I work 7 days a week. My work centers around small clients who aren't willing to pay more than $2000 for a website. Yet, they want Amazon.com. I've been looking for employment. But, I have not been successful. AH! The joys of being a self-employed Husband/Dad in a place where technology opportunities are thin. Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:19 PM To: Struts Users Mailing List Subject: Re: DynaActionForm its really none of my business.. but have you been working all through the weekend? On Sunday, Jun 1, 2003, at 22:37 Europe/London, Brandon Goodin wrote: :-)) I was hoping you would catch the humor :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 3:26 PM To: Struts Users Mailing List Subject: Re: DynaActionForm Note to self.. I must give clearer answers .. and not mess up my pronouns.. :o) On Sunday, Jun 1, 2003, at 20:50 Europe/London, Brandon Goodin wrote: Let me help mark... 1) You must have Struts 1.1 to use DynaActionForm. 2a) Go to the following link: http://www.apache.org/dist/jakarta/struts/binaries/ or 2b)Click one of the following: Windows: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1 - rc1.zi p *nix: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1 - rc1.ta r.gz 3)Unzip or Untar the binary distribution. 4)locate the /lib directory 5) In the lib directory exists a struts.jar. Replace your struts.jar with the lib/struts.jar. 6) Then you should have the functionality (DynaActionForm) you need :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: DynaActionForm in 1.1 On Sunday, Jun 1, 2003, at 20:03 Europe/London, Giovanni Di Lembo wrote: Where I should find DynaActionform, maybe packed in struts.jar ? It is not there ; where should I find it? cheers - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:17 PM Subject: Re: DynaActionForm I may find the Dyna form stuff wasn't part of struts 1.0 I'm not sure what version of 0.9 you must have been running to have all the dyna stuff running.. If you want to have your form bean generated without writing classes then i thing you'll have to move to a 1.1 distribution of struts. You could use a form bean class and have it map backed (see struts user guide docs for map backed forms or something). cheers mark On Sunday, Jun 1, 2003, at 16:55 Europe/London, Giovanni Di Lembo wrote: I'm using DynaActionForm. I've imported org.apache.struts.action.DynaActionForm in my Action and I'm usin Map map = ((DynaActionForm)form).getMap() to retrieve the values...but on compile time javac does not find org.apache.struts.action.DynaActionForm. I'm using struts 1.02.I've used it with struts 0.9 and it works fine.What's the problem§? --- - - 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] - 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: Struts IRC online
No! No! Don't stir the ugly pot. You don't want to see what's on the bottom!! =8-O Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 8:00 AM To: Struts Users Mailing List Subject: RE: [OT] RE: Struts IRC online english I say! steady on old boy - no need to be a pratt about it what!? /english -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 21:51 To: 'Struts Users Mailing List' Subject: [OT] RE: Struts IRC online Where the f*ck did this asshole come from? I hope you know Java better than you know English, pal. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 5:54 PM To: Struts Users Mailing List Subject: RE: Struts IRC online Hey It's a flame... should we prefix [FLAME] :-)) Brandon Goodin -Original Message- From: P Dunham [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 2:17 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online It's also there when used in that context. If you're going to be an ass about the whole thing, at least get it right first. -Philip -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 12:36 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online their -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:32 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online IRC servers talk to each other and propagate there channels to each other. It doesn't matter what server as long as the channel has been opened for the required time to propagate. Mark -Original Message- From: Chris Halverson [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:30 PM To: Struts Users Mailing List Subject: Re: Struts IRC online Mark Galbreath [EMAIL PROTECTED] writes: Just kidding - any IRC server should pick up a new channel within 45 minutes, but I logon to irc.darkmyst.org 6667 Well, any server on the same network, yes. Perhaps that's what he mean (ie. EFnet, DALNet, Openprojects.net, etc.). Therefore, I think the question still stands, but restated as which IRC network? cdh -- Chris D. Halverson http://www.halverson.org/ - 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] - 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: VIEW best pratice
... in a java.util.Vector for starters. why are you using Vector? use an ArrayList. which i want to format and display. For that i have an allTasks bean whose vector property (temporary name) contains an array of populated beans, that I'm trying to logic:iterate in the JSP, with no success... I would suggest using the nested or jstl taglib. If you do a search on the archives you will find plenty of info. Brandon Goodin -Original Message- From: José Moreira [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 8:21 AM To: [EMAIL PROTECTED] Subject: VIEW best pratice Hello what's the best practice of transporting data from the MODEL to the VIEW (in my case JSP) ? In my case, i to retrieve a list of beans (Task) in a java.util.Vector which i want to format and display. For that i have an allTasks bean whose vector property (temporary name) contains an array of populated beans, that I'm trying to logic:iterate in the JSP, with no success... Thanks... - 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: VIEW best pratice
Also, this notation should work. I think. logic:iterate id=myObject name=myObject.myArray bean:write name=myObject property=myProperty/ /logic:iterate Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 8:32 AM To: Struts Users Mailing List Subject: RE: VIEW best pratice ... in a java.util.Vector for starters. why are you using Vector? use an ArrayList. which i want to format and display. For that i have an allTasks bean whose vector property (temporary name) contains an array of populated beans, that I'm trying to logic:iterate in the JSP, with no success... I would suggest using the nested or jstl taglib. If you do a search on the archives you will find plenty of info. Brandon Goodin -Original Message- From: José Moreira [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 8:21 AM To: [EMAIL PROTECTED] Subject: VIEW best pratice Hello what's the best practice of transporting data from the MODEL to the VIEW (in my case JSP) ? In my case, i to retrieve a list of beans (Task) in a java.util.Vector which i want to format and display. For that i have an allTasks bean whose vector property (temporary name) contains an array of populated beans, that I'm trying to logic:iterate in the JSP, with no success... Thanks... - 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: Trouble decting which button is pressed | html:buttonhtml:submit
Are you getting any errors or what is your logging output? Brandon Goodin -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of sjones Sent: Monday, June 02, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: Trouble decting which button is pressed | html:buttonhtml:submit detecting which button is clicked. seems like the jsp page does not send anything to the form-bean for a html:button or an html:submit LogonOK.jsp - %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % html:html locale=true head title/title head %@ page language=java contentType=text/html; charset=ISO-8859-1 pageEncoding=ISO-8859-1 % META http-equiv=Content-Type content=text/html; charset=ISO-8859-1 META name=GENERATOR content=IBM WEBSPHERE STUDIO META http-equiv=Content-Style-Type content=text/css LINK href=theme/Master.css rel=stylesheet type=text/css body center TABLE bgcolor=yellow TRTD class=ypTitle Choose action/TD/TR /TABLE brbrbr h1bean:message key=login.success//h1 html:errors/ html:form method=post action=/logon.do html:submit property=clickedbean:message key=button.logonSearch/ /html:submithtml:submit property=clickedbean:message key=button.logonTickets/ /html:submit /html:form /center /body /html:html SubmitLoginOK.java - (form bean) --- package com.ubs.directory.yp.formbeans; import javax.servlet.http.HttpServletRequest; import com.ubs.directory.yp.core.*; import org.apache.struts.action.*; /** * Form bean for a Struts application. * Users may access 2 buttons on this form: * an onclick set the clicked field to the name of the button * that was last pressed. * ul * libutQuery - [your comment here] * libutTickets - [your comment here] * /ul * @version 1.0 * @author **/ public class SubmitLoginOK extends ActionForm { private String clicked; //protected HTMLbutton m_cancel = new HTMLbutton(); public SubmitLoginOK() { super(); } public void reset(ActionMapping mapping, HttpServletRequest request) { // Reset values are provided as samples only. Change as appropriate. clicked = ; } public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); // Validate the fields in your form, adding // adding each error to this.errors as found, e.g. // if ((field == null) || (field.length() == 0)) { // errors.add(field, new ActionError(error.field.required)); // } return errors; } //gets public String getClicked() { return clicked; } //sets public void setClicked(String butClicked) { this.clicked = clicked; } } LogonOKAction.java (action ) - package com.ubs.directory.yp.actions; import javax.servlet.http.*; import org.apache.struts.action.*; import com.ubs.directory.yp.core.*; import com.ubs.directory.yp.formbeans.SubmitLoginOK; /** * @version 1.0 * @author */ public class LoginOKAction extends Action { final int ypSearchYellowPages= 1; final int ypShowYellowPageTickets = 2; /** * Constructor */ public LoginOKAction() { super(); } public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ActionErrors errors = new ActionErrors(); ActionForward forward = new ActionForward(); // return value SubmitLoginOK submitLoginOK = (SubmitLoginOK) form; SubmitLoginOK f = submitLoginOK; try { // if (submitLoginOK.getButSearch().pressed()) { // forward = mapping.findForward(search); // System.err.println(Search button pressed); // // } else if (submitLoginOK.getButTickets().pressed()) { // forward = mapping.findForward(tickets); // System.err.println(Show tickets pressed); // System.err.println(get value of clicked:+ f.getClicked()); if (submitLoginOK.getClicked().equalsIgnoreCase(1)) { forward = mapping.findForward(search); System.err.println(Search button pressed); } else if (submitLoginOK.getClicked().equalsIgnoreCase(2)) { forward = mapping.findForward(tickets); System.err.println(Show tickets pressed); } else { System.err.println(No button pressed); } } catch (Exception e) { errors.add(name, new ActionError(id)); } if (!errors.empty()) { saveErrors(request, errors); } // Write logic determining how the user should be forwarded. forward = mapping.findForward(search); return (forward); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: [OT] slackers
Well, at least I have a window looking out upon a lush green forest in Montana. Brandon Goodin -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:16 AM To: 'Struts Users Mailing List' Subject: RE: [OT] slackers I have it worse. I am staring at our DBAs. -Tim -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:19 PM To: Struts Users Mailing List Subject: RE: [OT] slackers snip fjords is not a horse breed. Fjords are glacier-thingies in Norway. Actually they're more like rivers with cliffs on either side. snip More like like an ex-glacier, a glacier that has shuffled off its mortal coil, run down the curtain and joined the choir invisible... snip I thought he was referring to the local eye candy. /snip Ah well I wouldnt know anything about that mate. My desk is in a back room in the corner with no windows (apart from the sorry excuse for an OS on my computer), and Im usually chained to it till well past midnight most days... -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2003 00:08 To: Struts Users Mailing List Subject: Re: [OT] slackers Matthew Van Horn wrote: fjords is not a horse breed. Fjords are glacier-thingies in Norway. Actually they're more like rivers with cliffs on either side. Even dead parrots know that. At least dead Norwegian parrots. plumage = feathers Or were you joking? not sure... my bad day is continuing... but this list is worth a smile or two. I thought he was referring to the local eye candy. Erik - 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: first time action
It would be good to provide a more clear use case. Usually you don't have any methods in your ActionForm than the usual getter/setters, validate and reset. So, I'm not sure what you are asking. Please, be more specific about what you are trying to accomplish. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:19 AM To: 'Struts Users Mailing List' Subject: first time action Hello Everyone, I have some methods in my FormBean that I would want to call only the first time I go through the Action class (load the page). Any ideas? Mona * The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. * - 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: first time action
I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets the defaults again. It does not take the new values for the radio buttons(I have three parms in my page). Therefore, I thought there would be some kind of indication whether the page is loading first, in order to include the call for setPageDefaults in an if statement and keep my selections when I call the Action again. My Page looks something like this: ___ Select display: o By Contact o By Taxpayer Type: o All o Billing o Business o Contact o Delivery o Mailing A B C D E F G H I J K L M N O P Q R S T U V W X Y Z results (when letter A is chosen): Anderson, K. Arizona, B. ... etc ___ The user can select two values from the two radio buttons, and a letter, which is the param passed in href. How would I go about passing those three values to the Action class? Mona -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: first time action It would be good to provide a more clear use case. Usually you don't have any methods in your ActionForm than the usual getter/setters, validate and reset. So, I'm not sure what you are asking. Please, be more specific about what you are trying to accomplish. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:19 AM To: 'Struts Users Mailing List' Subject: first time action Hello Everyone, I have some methods in my FormBean that I would want to call only the first time I go through the Action class (load the page). Any ideas? Mona * The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. * - 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] * The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter
RE: first time action
Something sounds fairly wrong with your design. What you are doing is a common thing. You shouldn't have to do javascrtipt to accomplish it. Could you please post your code. It seems that you are confusing the function of the various classes. For example, FormBean and ActionForm are two terms for the same thing. Please post the jsp/Action/and ActionForm classes. I should be able to determine what you are doing from that. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:41 PM To: 'Struts Users Mailing List' Subject: RE: first time action Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets the defaults again. It does not take the new values for the radio buttons(I have three parms in my page). Therefore, I thought there would be some kind of indication whether the page is loading first, in order to include the call for setPageDefaults in an if statement and keep my selections when I call the Action again. My Page looks something like this: ___ Select display: o By Contact o By Taxpayer Type: o All o Billing o Business o Contact o Delivery o Mailing A B C D E F G H I J K L M N O P Q R S T U V W X Y Z results (when letter A is chosen): Anderson, K. Arizona, B. ... etc ___ The user can select two values from the two radio buttons, and a letter, which is the param passed in href. How would I go about passing those three values to the Action class? Mona -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: first time action It would be good to provide a more clear use case. Usually you don't have any methods in your ActionForm than the usual getter/setters, validate and reset. So, I'm not sure what you are asking. Please, be more specific about what you are trying to accomplish. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:19 AM To: 'Struts Users Mailing List' Subject: first time action Hello Everyone, I have some methods in my FormBean that I would want
RE: Struts vs. WebWork
This will tell you. http://www.waferproject.org Brandon Goodin -Original Message- From: Eric [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:49 PM To: [EMAIL PROTECTED] Subject: Struts vs. WebWork Does anyone know the different between Struts and WebWork? Eric - 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: first time action
FYI: A form instance is always created by the ActionServlet/RequestProcessor before the execute method is called (assuming your struts-config has one mapped). Hence, the reason why a Form is part of the execute signature in the Action class and why you are able to cast the Form. Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Something sounds fairly wrong with your design. What you are doing is a common thing. You shouldn't have to do javascrtipt to accomplish it. Could you please post your code. It seems that you are confusing the function of the various classes. For example, FormBean and ActionForm are two terms for the same thing. Please post the jsp/Action/and ActionForm classes. I should be able to determine what you are doing from that. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:41 PM To: 'Struts Users Mailing List' Subject: RE: first time action Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets the defaults again. It does not take the new values for the radio buttons(I have three parms in my page). Therefore, I thought there would be some kind of indication whether the page is loading first, in order to include the call for setPageDefaults in an if statement and keep my selections when I call the Action again. My Page looks something like this: ___ Select display: o By Contact o By Taxpayer Type: o All o Billing o Business o Contact o Delivery o Mailing A B C D E F G H I J K L M N O P Q R S T U V W X Y Z results (when letter A is chosen): Anderson, K. Arizona, B. ... etc ___ The user can select two values from the two radio buttons, and a letter, which is the param passed in href. How would I go about passing those three values to the Action class? Mona -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: first time action It would be good to provide a more clear use
RE: first time action
form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets the defaults again. It does not take the new values for the radio buttons(I have three parms in my page). Therefore, I thought there would be some kind of indication whether the page is loading first, in order to include the call for setPageDefaults in an if statement and keep my selections when I call the Action again. My Page looks something like this: ___ Select display: o By Contact o By Taxpayer Type: o All o Billing o Business o Contact o Delivery o Mailing A B C D E F G H I J K L M N O P Q R S T U V W X Y Z results (when letter A is chosen): Anderson, K. Arizona, B. ... etc ___ The user can select two values from the two
RE: Struts vs. WebWork
Thinlet is an applet. Struts is not. Therefore all of the inherent applet problems come along with thinlet. So the real comparison is Applet vs. J2EE. Brandon Goodin -Original Message- From: Kommana, Sridhar [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:56 PM To: Struts Users Mailing List Subject: RE: Struts vs. WebWork Does any one have experience with thinlet.How Struts is better than Thinlets. Performance-wise which one is best? - 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: first time action
I can already see what your problem is. You are not using the constructor. Instead of using the setPageDefaults from within your Action class you should be using the Constructof of your ActionForm. Give me a few minutes and I will send you the code with the adjustments. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:06 PM To: 'Struts Users Mailing List' Subject: RE: first time action This is what I am using as well. and I have this in my Action: HttpSession session = request.getSession(true); -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link
RE: first time action
No need to get your undies in a bind. I usually use the request and therefore specify it as such. Session scope causes potential problems because the values persist. Anyways, you are correct. My humblest of apologies. I just have never used default. -- code from request processor -- if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getAttribute(), instance); } else { HttpSession session = request.getSession(); session.setAttribute(mapping.getAttribute(), instance); } -- end -- Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets
RE: first time action
I noticed you are making SQL calls in your ActionForm. This is generally considered bad practice. You are tying you Business Logic to the Struts Framework. It is best to separate the two. Make you Action Form lightweight (setters/getters). If you are looking to populate dropdowns then do so in the Action and avoid validating on the ActionForm. It might be best for you to validate from within your Action class. However, that is a little beyond the scope of what I can show you right now. I would reccomend you pick up one or several of the struts books. Try the Struts Kickstart book. I'll send you code in just a couple minutes. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:13 PM To: 'Struts Users Mailing List' Subject: RE: first time action Thank you very much, Brandon. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:14 PM To: Struts Users Mailing List Subject: RE: first time action I can already see what your problem is. You are not using the constructor. Instead of using the setPageDefaults from within your Action class you should be using the Constructof of your ActionForm. Give me a few minutes and I will send you the code with the adjustments. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:06 PM To: 'Struts Users Mailing List' Subject: RE: first time action This is what I am using as well. and I have this in my Action: HttpSession session = request.getSession(true); -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using
RE: first time action
Mona, the undies comment was aimed at Tim. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:19 PM To: 'Struts Users Mailing List' Subject: RE: first time action I see. what does undies in a bind mean?? -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:19 PM To: Struts Users Mailing List Subject: RE: first time action No need to get your undies in a bind. I usually use the request and therefore specify it as such. Session scope causes potential problems because the values persist. Anyways, you are correct. My humblest of apologies. I just have never used default. -- code from request processor -- if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getAttribute(), instance); } else { HttpSession session = request.getSession(); session.setAttribute(mapping.getAttribute(), instance); } -- end -- Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time
RE: first time action
It's a figure of speech. If a person's underwear are on a little tight and they get bound up in their special spots, then they tend to get cranky. So, it simply means, Don't get cranky! :-D Hope that helps. Brandon Goodin -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:27 PM To: 'Struts Users Mailing List' Subject: RE: first time action It is a very uncomfortable predicament. -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:32 PM To: 'Struts Users Mailing List' Subject: RE: first time action yes... I realized. Just curious :o) -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:32 PM To: Struts Users Mailing List Subject: RE: first time action Mona, the undies comment was aimed at Tim. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:19 PM To: 'Struts Users Mailing List' Subject: RE: first time action I see. what does undies in a bind mean?? -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:19 PM To: Struts Users Mailing List Subject: RE: first time action No need to get your undies in a bind. I usually use the request and therefore specify it as such. Session scope causes potential problems because the values persist. Anyways, you are correct. My humblest of apologies. I just have never used default. -- code from request processor -- if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getAttribute(), instance); } else { HttpSession session = request.getSession(); session.setAttribute(mapping.getAttribute(), instance); } -- end -- Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your
RE: first time action
Potentially. But, not if you modify the value before it returns (i.e. call reset). It depends on what type of login you are doing. But, that is an entirely different subject. Brandon Goodin -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of sjones Sent: Monday, June 02, 2003 1:34 PM To: [EMAIL PROTECTED] Subject: Re: first time action so if i change the scope of my login form to session from request. does that mean if the login fails the user will see the login ID and password that was incorrect. ? Brandon Goodin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page, and sets the defaults again. It does not take the new values for the radio buttons(I have three parms in my page). Therefore, I thought there would be some kind of indication whether the page is loading first, in order to include the call for setPageDefaults in an if statement
RE: first time action
:-)) It's fun being crude isn't it!? :-)) Brandon Goodin -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:39 PM To: 'Struts Users Mailing List' Subject: RE: first time action I was trying to describe the situation without using terms like special spots. :-) -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:47 PM To: Struts Users Mailing List Subject: RE: first time action It's a figure of speech. If a person's underwear are on a little tight and they get bound up in their special spots, then they tend to get cranky. So, it simply means, Don't get cranky! :-D Hope that helps. Brandon Goodin -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:27 PM To: 'Struts Users Mailing List' Subject: RE: first time action It is a very uncomfortable predicament. -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:32 PM To: 'Struts Users Mailing List' Subject: RE: first time action yes... I realized. Just curious :o) -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:32 PM To: Struts Users Mailing List Subject: RE: first time action Mona, the undies comment was aimed at Tim. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:19 PM To: 'Struts Users Mailing List' Subject: RE: first time action I see. what does undies in a bind mean?? -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:19 PM To: Struts Users Mailing List Subject: RE: first time action No need to get your undies in a bind. I usually use the request and therefore specify it as such. Session scope causes potential problems because the values persist. Anyways, you are correct. My humblest of apologies. I just have never used default. -- code from request processor -- if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getAttribute(), instance); } else { HttpSession session = request.getSession(); session.setAttribute(mapping.getAttribute(), instance); } -- end -- Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:02 PM To: Struts Users Mailing List Subject: RE: first time action you probably not using the latest version of struts i'm using struts1.1 rc where the scope's default = session ! Tim --- Brandon Goodin [EMAIL PROTECTED] wrote: form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o
RE: first time action
or if you are using jstl c:out value=.../ or scriptlet%= ...% or Velocity or Fremarker or xsl or ... // what else? Otherwise, no. :-)) Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 1:49 PM To: Struts Users Mailing List Subject: Re: first time action if you use the struts-bean write tag for retrieving the username and password on the page == yes otherwise no --- sjones [EMAIL PROTECTED] wrote: so if i change the scope of my login form to session from request. does that mean if the login fails the user will see the login ID and password that was incorrect. ? Brandon Goodin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] form is stored in the session of the user Not so. By default it is in the request. It is only in the session if you specify it to be (i.e action scope=...). Ex. (see scope attribute of action element) action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=request forward name=auth path=admin.mainLayout redirect=false/ /action vs. action path=/admin parameter=submit type=ws.phase.core.actions.GenericAction name=genericForm validate=false scope=session forward name=auth path=admin.mainLayout redirect=false/ /action Brandon Goodin -Original Message- From: Tim Torbeyns [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:55 PM To: Struts Users Mailing List Subject: RE: first time action Hi you're probably missing something the default behaviour of an actionform is that the constructor is called only once (at the creation of the form) after it is created every form is stored in the session under the name you gave it in the form-bean tag of the struts-config file so when you have a jsp page with html-form name=action1 and you call this page the actionform1 is created, constructor of form will be called and the form is stored in the session of the user Tim --- Alawadhi, Mona [EMAIL PROTECTED] wrote: Brandon, The values are standard for all. I've tried including the call for setPageDefaults() in the constructor of the ActionForm class, but it didn't work. My guess is that the form is not created/passed yet since the 'execute' method comes after the constructor. I tried to create a FormBean object in the ActionForm constructor, but it didn't work. it doesn't recognize it. and, of course, I cannot include the setPageDefaults() in the FormBean constructor, since the FormBean object gets created every time the Action is called, so, it brings us back to the same problem. I'm thinking now to use a form.submit() method in javascript. I am not sure how to go about that, though, since I do not know javascript. Can you, or anyone from the group help me? I am to pass one hidden filed (which is the letter), and two other radio-button parameters from my form to the Action. Thank you :o) Mona -- JavaScript illiterate. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: first time action I am a little confused. I am not sure where you are getting your default values from. Are they set as a result of client preferences or are they standard for everyone. If they are standard for all, it might be best to define the default values for your ActionForm within the constructor of the ActionForm. That way upon first entry to the page you have the default values set in the ActionForm. After that any form values submitted will be set using the get/set of the ActionForm and replace the defaults. If, on the other hand, the default values are set via a dynamic process. You might consider writting two Actions that use the same ActionForm to accomplish this. Or you could do what I do and use the LookupDispatchAction/DispatchAction's uspecified method upon entry and another method of your choosing when submitting the updated form values. Brandon Goodin -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:52 AM To: 'Struts Users Mailing List' Subject: RE: first time action Hello Brandon, I call SetPageDefaults the first time my page loads. In my JSP, there are links for the Action : href=ActionClass.do?parameter=A so, the action gets called again and again. Also, I have different radio buttons along the page to be selected (the defaults are set for those buttons when the page loads first). The problem is that when I click on that link, it re-loads the page
RE: DynaActionForm
Let me help mark... 1) You must have Struts 1.1 to use DynaActionForm. 2a) Go to the following link: http://www.apache.org/dist/jakarta/struts/binaries/ or 2b)Click one of the following: Windows: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1-rc1.zi p *nix: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1-rc1.ta r.gz 3)Unzip or Untar the binary distribution. 4)locate the /lib directory 5) In the lib directory exists a struts.jar. Replace your struts.jar with the lib/struts.jar. 6) Then you should have the functionality (DynaActionForm) you need :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: DynaActionForm in 1.1 On Sunday, Jun 1, 2003, at 20:03 Europe/London, Giovanni Di Lembo wrote: Where I should find DynaActionform, maybe packed in struts.jar ? It is not there ; where should I find it? cheers - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:17 PM Subject: Re: DynaActionForm I may find the Dyna form stuff wasn't part of struts 1.0 I'm not sure what version of 0.9 you must have been running to have all the dyna stuff running.. If you want to have your form bean generated without writing classes then i thing you'll have to move to a 1.1 distribution of struts. You could use a form bean class and have it map backed (see struts user guide docs for map backed forms or something). cheers mark On Sunday, Jun 1, 2003, at 16:55 Europe/London, Giovanni Di Lembo wrote: I'm using DynaActionForm. I've imported org.apache.struts.action.DynaActionForm in my Action and I'm usin Map map = ((DynaActionForm)form).getMap() to retrieve the values...but on compile time javac does not find org.apache.struts.action.DynaActionForm. I'm using struts 1.02.I've used it with struts 0.9 and it works fine.What's the problem§? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: DynaActionForm
:-)) I was hoping you would catch the humor :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 3:26 PM To: Struts Users Mailing List Subject: Re: DynaActionForm Note to self.. I must give clearer answers .. and not mess up my pronouns.. :o) On Sunday, Jun 1, 2003, at 20:50 Europe/London, Brandon Goodin wrote: Let me help mark... 1) You must have Struts 1.1 to use DynaActionForm. 2a) Go to the following link: http://www.apache.org/dist/jakarta/struts/binaries/ or 2b)Click one of the following: Windows: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1- rc1.zi p *nix: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1- rc1.ta r.gz 3)Unzip or Untar the binary distribution. 4)locate the /lib directory 5) In the lib directory exists a struts.jar. Replace your struts.jar with the lib/struts.jar. 6) Then you should have the functionality (DynaActionForm) you need :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: DynaActionForm in 1.1 On Sunday, Jun 1, 2003, at 20:03 Europe/London, Giovanni Di Lembo wrote: Where I should find DynaActionform, maybe packed in struts.jar ? It is not there ; where should I find it? cheers - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:17 PM Subject: Re: DynaActionForm I may find the Dyna form stuff wasn't part of struts 1.0 I'm not sure what version of 0.9 you must have been running to have all the dyna stuff running.. If you want to have your form bean generated without writing classes then i thing you'll have to move to a 1.1 distribution of struts. You could use a form bean class and have it map backed (see struts user guide docs for map backed forms or something). cheers mark On Sunday, Jun 1, 2003, at 16:55 Europe/London, Giovanni Di Lembo wrote: I'm using DynaActionForm. I've imported org.apache.struts.action.DynaActionForm in my Action and I'm usin Map map = ((DynaActionForm)form).getMap() to retrieve the values...but on compile time javac does not find org.apache.struts.action.DynaActionForm. I'm using struts 1.02.I've used it with struts 0.9 and it works fine.What's the problem§? - 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] - 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: DynaActionForm
weekend? I'm not familiar with that term since I became self-employed. Things have gotten real thin here (Montana). I work 7 days a week. My work centers around small clients who aren't willing to pay more than $2000 for a website. Yet, they want Amazon.com. I've been looking for employment. But, I have not been successful. AH! The joys of being a self-employed Husband/Dad in a place where technology opportunities are thin. Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:19 PM To: Struts Users Mailing List Subject: Re: DynaActionForm its really none of my business.. but have you been working all through the weekend? On Sunday, Jun 1, 2003, at 22:37 Europe/London, Brandon Goodin wrote: :-)) I was hoping you would catch the humor :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 3:26 PM To: Struts Users Mailing List Subject: Re: DynaActionForm Note to self.. I must give clearer answers .. and not mess up my pronouns.. :o) On Sunday, Jun 1, 2003, at 20:50 Europe/London, Brandon Goodin wrote: Let me help mark... 1) You must have Struts 1.1 to use DynaActionForm. 2a) Go to the following link: http://www.apache.org/dist/jakarta/struts/binaries/ or 2b)Click one of the following: Windows: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1- rc1.zi p *nix: http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1- rc1.ta r.gz 3)Unzip or Untar the binary distribution. 4)locate the /lib directory 5) In the lib directory exists a struts.jar. Replace your struts.jar with the lib/struts.jar. 6) Then you should have the functionality (DynaActionForm) you need :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: DynaActionForm in 1.1 On Sunday, Jun 1, 2003, at 20:03 Europe/London, Giovanni Di Lembo wrote: Where I should find DynaActionform, maybe packed in struts.jar ? It is not there ; where should I find it? cheers - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:17 PM Subject: Re: DynaActionForm I may find the Dyna form stuff wasn't part of struts 1.0 I'm not sure what version of 0.9 you must have been running to have all the dyna stuff running.. If you want to have your form bean generated without writing classes then i thing you'll have to move to a 1.1 distribution of struts. You could use a form bean class and have it map backed (see struts user guide docs for map backed forms or something). cheers mark On Sunday, Jun 1, 2003, at 16:55 Europe/London, Giovanni Di Lembo wrote: I'm using DynaActionForm. I've imported org.apache.struts.action.DynaActionForm in my Action and I'm usin Map map = ((DynaActionForm)form).getMap() to retrieve the values...but on compile time javac does not find org.apache.struts.action.DynaActionForm. I'm using struts 1.02.I've used it with struts 0.9 and it works fine.What's the problem§? - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT]Hey, Vic Cekvenich
You sent me a private email. I responded. But, your email doesn't work. [EMAIL PROTECTED] returns a user unknown. Can you send me your email that works? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] slackers
I guess Montana and Tokyo have a lot in common. (i.e. job market sucks) :-)) If anyone knows where I can get work. I'm willing to go anywhere where my kids will be safe and get a quality education. :-)) BTW: All governments scare me! They are all out to get ME!!! :-)) Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:41 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Friday, May 30, 2003, at 10:37 AM, Mark Galbreath wrote: Struggling in Tokyo? That's like an oxymoron, isn't it? How the hell could any westerner be struggling in Geisha Town??? HAhahahahhahaha hmmm... Well, let's see... - I'm married, so there's a (stay-at-home) wife and two-year old son to feed - laid off, so no salary after June, - low-intermediate language skills - so job hunting is quite _interesting_, - two words popular in employment ads: Japanese Only - rainy season and summer just about here, so when it's not raining it will be 40 degrees C, with 99% humidity. - yes, the trains are that crowded but at least my visa is in order for the next 3 years, and there's always the joys of teaching English, or maybe bartending (no pesky tips to worry about here). But, damn, the girls here are pretty - esp. my wife. If anyone knows of any jobs anywhere, I'd be much obliged. Japan would be nice, Seattle, SF, or my hometown of NYC would be good too. (My government scares me, but I miss the pizza) 6 month contracts welcome. Sorry to sound bitter, just having an off day - Mondays and all that... -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:26 PM To: Struts Users Mailing List Subject: Re: [OT] slackers Not to mention those of us struggling along in Tokyo. - 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] slackers
Translation: Id recommend coming over to Singapore except that the job market here is also nailed to its perch [sucks] and pining [deeply desiring] for the fjords [a horse breed]. Beautiful plumage [flowers and plants] though. Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 9:44 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Oh I dunno. Sounds more valid than Hjoldens ;- -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 11:33 To: 'Struts Users Mailing List' Subject: RE: [OT] slackers stop sending posts that require a dictionary. fjords should not be a valid english word. -Tim -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:32 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Id recommend coming over to Singapore except that the job market here is also nailed to its perch and pining for the fjords. Beautiful plumage though. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 10:55 To: Struts Users Mailing List Subject: RE: [OT] slackers I guess Montana and Tokyo have a lot in common. (i.e. job market sucks) :-)) If anyone knows where I can get work. I'm willing to go anywhere where my kids will be safe and get a quality education. :-)) BTW: All governments scare me! They are all out to get ME!!! :-)) Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:41 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Friday, May 30, 2003, at 10:37 AM, Mark Galbreath wrote: Struggling in Tokyo? That's like an oxymoron, isn't it? How the hell could any westerner be struggling in Geisha Town??? HAhahahahhahaha hmmm... Well, let's see... - I'm married, so there's a (stay-at-home) wife and two-year old son to feed - laid off, so no salary after June, - low-intermediate language skills - so job hunting is quite _interesting_, - two words popular in employment ads: Japanese Only - rainy season and summer just about here, so when it's not raining it will be 40 degrees C, with 99% humidity. - yes, the trains are that crowded but at least my visa is in order for the next 3 years, and there's always the joys of teaching English, or maybe bartending (no pesky tips to worry about here). But, damn, the girls here are pretty - esp. my wife. If anyone knows of any jobs anywhere, I'd be much obliged. Japan would be nice, Seattle, SF, or my hometown of NYC would be good too. (My government scares me, but I miss the pizza) 6 month contracts welcome. Sorry to sound bitter, just having an off day - Mondays and all that... -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:26 PM To: Struts Users Mailing List Subject: Re: [OT] slackers Not to mention those of us struggling along in Tokyo. - 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] - 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] slackers
:-)) A mere display of how the English language has the propensity to convey various interpretations when read from the alternate dispositions of those of the language's own native moorings. It can be quite distressing and confusing. The English language is akin to VB (Visual Basic) in that it is structured just enough to be misused and misinterpreted by all who read it. Maybe this is true of other languages. But, I am a simple English speaking bufoon. :-D Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:18 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Monday, June 2, 2003, at 01:10 PM, Brandon Goodin wrote: Translation: Id recommend coming over to Singapore except that the job market here is also nailed to its perch [sucks] and pining [deeply desiring] for the fjords [a horse breed]. Beautiful plumage [flowers and plants] though. fjords is not a horse breed. Fjords are glacier-thingies in Norway. Even dead parrots know that. At least dead Norwegian parrots. plumage = feathers Or were you joking? not sure... my bad day is continuing... but this list is worth a smile or two. See also: http://www.google.com/ search?q=Monty+Python+parrot+sketchbtnG=Google+Search Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 9:44 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Oh I dunno. Sounds more valid than Hjoldens ;- -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 11:33 To: 'Struts Users Mailing List' Subject: RE: [OT] slackers stop sending posts that require a dictionary. fjords should not be a valid english word. -Tim -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:32 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Id recommend coming over to Singapore except that the job market here is also nailed to its perch and pining for the fjords. Beautiful plumage though. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 10:55 To: Struts Users Mailing List Subject: RE: [OT] slackers I guess Montana and Tokyo have a lot in common. (i.e. job market sucks) :-)) If anyone knows where I can get work. I'm willing to go anywhere where my kids will be safe and get a quality education. :-)) BTW: All governments scare me! They are all out to get ME!!! :-)) Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:41 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Friday, May 30, 2003, at 10:37 AM, Mark Galbreath wrote: Struggling in Tokyo? That's like an oxymoron, isn't it? How the hell could any westerner be struggling in Geisha Town??? HAhahahahhahaha hmmm... Well, let's see... - I'm married, so there's a (stay-at-home) wife and two-year old son to feed - laid off, so no salary after June, - low-intermediate language skills - so job hunting is quite _interesting_, - two words popular in employment ads: Japanese Only - rainy season and summer just about here, so when it's not raining it will be 40 degrees C, with 99% humidity. - yes, the trains are that crowded but at least my visa is in order for the next 3 years, and there's always the joys of teaching English, or maybe bartending (no pesky tips to worry about here). But, damn, the girls here are pretty - esp. my wife. If anyone knows of any jobs anywhere, I'd be much obliged. Japan would be nice, Seattle, SF, or my hometown of NYC would be good too. (My government scares me, but I miss the pizza) 6 month contracts welcome. Sorry to sound bitter, just having an off day - Mondays and all that... -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:26 PM To: Struts Users Mailing List Subject: Re: [OT] slackers Not to mention those of us struggling along in Tokyo. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: [OT] slackers
So? We have ridden since the snows of winter covered this land, through the kingdom of Mercia, through-- Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:40 PM To: Struts Users Mailing List Subject: RE: [OT] slackers :-)) A mere display of how the English language has the propensity to convey various interpretations when read from the alternate dispositions of those of the language's own native moorings. It can be quite distressing and confusing. The English language is akin to VB (Visual Basic) in that it is structured just enough to be misused and misinterpreted by all who read it. Maybe this is true of other languages. But, I am a simple English speaking bufoon. :-D Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:18 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Monday, June 2, 2003, at 01:10 PM, Brandon Goodin wrote: Translation: Id recommend coming over to Singapore except that the job market here is also nailed to its perch [sucks] and pining [deeply desiring] for the fjords [a horse breed]. Beautiful plumage [flowers and plants] though. fjords is not a horse breed. Fjords are glacier-thingies in Norway. Even dead parrots know that. At least dead Norwegian parrots. plumage = feathers Or were you joking? not sure... my bad day is continuing... but this list is worth a smile or two. See also: http://www.google.com/ search?q=Monty+Python+parrot+sketchbtnG=Google+Search Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 9:44 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Oh I dunno. Sounds more valid than Hjoldens ;- -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 11:33 To: 'Struts Users Mailing List' Subject: RE: [OT] slackers stop sending posts that require a dictionary. fjords should not be a valid english word. -Tim -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:32 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Id recommend coming over to Singapore except that the job market here is also nailed to its perch and pining for the fjords. Beautiful plumage though. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 10:55 To: Struts Users Mailing List Subject: RE: [OT] slackers I guess Montana and Tokyo have a lot in common. (i.e. job market sucks) :-)) If anyone knows where I can get work. I'm willing to go anywhere where my kids will be safe and get a quality education. :-)) BTW: All governments scare me! They are all out to get ME!!! :-)) Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 8:41 PM To: Struts Users Mailing List Subject: Re: [OT] slackers On Friday, May 30, 2003, at 10:37 AM, Mark Galbreath wrote: Struggling in Tokyo? That's like an oxymoron, isn't it? How the hell could any westerner be struggling in Geisha Town??? HAhahahahhahaha hmmm... Well, let's see... - I'm married, so there's a (stay-at-home) wife and two-year old son to feed - laid off, so no salary after June, - low-intermediate language skills - so job hunting is quite _interesting_, - two words popular in employment ads: Japanese Only - rainy season and summer just about here, so when it's not raining it will be 40 degrees C, with 99% humidity. - yes, the trains are that crowded but at least my visa is in order for the next 3 years, and there's always the joys of teaching English, or maybe bartending (no pesky tips to worry about here). But, damn, the girls here are pretty - esp. my wife. If anyone knows of any jobs anywhere, I'd be much obliged. Japan would be nice, Seattle, SF, or my hometown of NYC would be good too. (My government scares me, but I miss the pizza) 6 month contracts welcome. Sorry to sound bitter, just having an off day - Mondays and all that... -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:26 PM To: Struts Users Mailing List Subject: Re: [OT] slackers Not to mention those of us struggling along in Tokyo. - 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] slackers
Oh, yeah, an African swallow maybe, but not a European swallow. That's my point. Brandon Goodin -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:55 PM To: Struts Users Mailing List Subject: Re: [OT] slackers European or African? On Monday, June 2, 2003, at 02:53 PM, Andrew Hill wrote: I suppose ye could nail a parrot to em and it could fly em over, but it would be a bit heavy methinks. Hmmm... perhaps a swallow? - 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: [Friday]What is your yahoo?
I used IRC on my Win2k machine. It gives me the blue screen of death :-( I don't need that headache :-D Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 8:56 AM To: 'Struts Users Mailing List' 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: [Friday]What is your yahoo?
oh wait... that was icq that blue screened me :-D http://www.icq.com It is for mac and pc. But, no Linux. I'm going to install mIRC on my win2k and see how it runs. Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 9:06 AM To: Struts Users Mailing List Subject: RE: [Friday]What is your yahoo? I used IRC on my Win2k machine. It gives me the blue screen of death :-( I don't need that headache :-D Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 8:56 AM To: 'Struts Users Mailing List' 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Friday]What is your yahoo?
I'm checking out Klient( http://www.klient.com ) and Bersirc ( http://www.bersirc.com/ ). They look a little more attractive. After all, looks are everything... right? Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 9:20 AM To: 'Struts Users Mailing List' Subject: RE: [Friday]What is your yahoo? I use mIRC on XP and it runs fine. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 11:21 AM To: Struts Users Mailing List Subject: RE: [Friday]What is your yahoo? oh wait... that was icq that blue screened me :-D http://www.icq.com It is for mac and pc. But, no Linux. I'm going to install mIRC on my win2k and see how it runs. Brandon Goodin -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 9:06 AM To: Struts Users Mailing List Subject: RE: [Friday]What is your yahoo? I used IRC on my Win2k machine. It gives me the blue screen of death :-( I don't need that headache :-D Brandon Goodin -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 8:56 AM To: 'Struts Users Mailing List' 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] - 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: Struts IRC
So, in other words, you'll supply the bandwidth and hardware if someone else will gather the hordes and set up the agenda. Brandon Goodin -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 10:17 AM To: [EMAIL PROTECTED] Subject: Re: Struts IRC Maybe once a month, like 2nd friday of the month basebeans.com will sponsor/host a struts video conference, with voice/powerpoinst share (like a national Struts SIG) if I do not have to moderate it or do much. .V Mark Galbreath wrote: I have #struts-user going now and will see how long I can continuously keep it up (a question my wife freqently asks) before being ping!pong!'d. Here's something a little dated, but funny: http://www.irchelp.org/irchelp/misc/telnet.html Mark -- 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]
RE: Struts IRC online
Hey It's a flame... should we prefix [FLAME] :-)) Brandon Goodin -Original Message- From: P Dunham [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 2:17 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online It's also there when used in that context. If you're going to be an ass about the whole thing, at least get it right first. -Philip -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 12:36 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online their -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:32 PM To: 'Struts Users Mailing List' Subject: RE: Struts IRC online IRC servers talk to each other and propagate there channels to each other. It doesn't matter what server as long as the channel has been opened for the required time to propagate. Mark -Original Message- From: Chris Halverson [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:30 PM To: Struts Users Mailing List Subject: Re: Struts IRC online Mark Galbreath [EMAIL PROTECTED] writes: Just kidding - any IRC server should pick up a new channel within 45 minutes, but I logon to irc.darkmyst.org 6667 Well, any server on the same network, yes. Perhaps that's what he mean (ie. EFnet, DALNet, Openprojects.net, etc.). Therefore, I think the question still stands, but restated as which IRC network? cdh -- Chris D. Halverson http://www.halverson.org/ - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why do ActionForms allow non-string properties?
:-D I had to chime in. I use complex objects in my forms so extensively because it makes my life easier when it comes to communcating with my business logic layer. It actually cuts down on the amount of manual transalting I have to do from one layer to another. It also cuts down on the amount of code I am writing. I DON'T think we should make a huge statement about Strings only. Strings do no handle all the situations that exists out there and often can be inhibiting when working with nested objects. It's silly to create String only beans to use in your forms and then communicate with the other layers by providing conversions between your string beans (no pun intended) and complex beans. YUCK!!! How about 10X more code and more code means more potential errors. I think that we should emphasis both scenarios. We should provide a reccommended way for using forms with complex (nested) objects and using basic flat String based (non-nested) forms. Brandon Goodin -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:10 AM To: Struts Users Mailing List Subject: RE: Why do ActionForms allow non-string properties? Still, there's so much custom stuff (label taglib, javascript pop-up calendars) that I put into forms, I doubt this will ever be possible. It's called a code generator and its already been done in other environments. The trade-off is that you lose some of the really fine control that is so attractive to programmers. You have to believe before it can happen! Most of the programmers I know give up on the generators in the belief they can program it faster. They probably can. But then somebody has to test EVERY LINE OF CODE. At that point I passed them up. Just some food for thought. --- Raible, Matt [EMAIL PROTECTED] wrote: Though, there is still a ton maintenance going on here. We have the properties defined in the HTML form, and the struts-config, and in the validator.xml, and then in some type of corresponding property in the business bean, not to mention the actual data store. So to add a field, we have to update five (or more) components. In my XDoclet-enabled apps, if I had a new property, I only have to add it in two places - in my POJO and in my JSP. validation.xml is generated, as well as the ActionForm. Using Erik Hatcher's StrutsGen Tool, you can also generate a skeleton JSP from the generated ActionForm - but this is only logical to do the first time. I don't know if it'll ever be possible to eliminate the editing of the JSP - unless we add an XML file or something in the ActionForm that specifies field order, field type, etc. Still, there's so much custom stuff (label taglib, javascript pop-up calendars) that I put into forms, I doubt this will ever be possible. IMO, XDoclet is the best thing that's happened to Java Development since Ant. Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.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]
RE: Action Erros or Eros (kinda kinky)
Without seeing your code it is hard to say. But, my guess is that you aren't checking for an empty status before you display them. Check for empty and avoid the bean write if it is null. Brandon Goodin -Original Message- From: Jos Moreira [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:07 PM To: [EMAIL PROTECTED] Subject: Action Erros Hello, when i return the errors to my form i get a 'null' before and after each error message for each erroneous filled field... what seem to be the problem? thank you, good work -- Jos Moreira [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: [FRIDAY] Where's the dedication?
You guys Yahoo!? Brandon Goodin -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Where's the dedication? Settle? Now I'm hurt ... Mr. Out to Lunch for hours on his Yahoo IM status message! :-P -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:07 PM To: 'Struts Users Mailing List' Subject: [FRIDAY] Where's the dedication? You guys notice that as 1600 hours EST approaches we see little or no traffic on struts-user? And little or nothing until Monday AM. Do I have to settle with Andrew, Simon, and sometimes Chuck on the weekends? ALAS! What happened to the philosophy that nothing matters but the code? (I think I'll go start packing for the beach now) - 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]