struts-user@jakarta.apache.org

2002-08-20 Thread Fabian Sommer
Ok, next try with correct subject... Sorry for posting this twice! Hi Thomas! Here some links I found very useful for me to get familiar with struts within less than 2 weeks: http://javaboutique.internet.com/tutorials/Struts/ http://rzserv2.fhnon.de/~lg002556/struts/Doku.html Both are very g

struts-user@jakarta.apache.org

2002-08-20 Thread Fabian Sommer
Hi Thomas! Here some links I found very useful for me to get familiar with struts within less than 2 weeks: http://javaboutique.internet.com/tutorials/Struts/ http://rzserv2.fhnon.de/~lg002556/struts/Doku.html Both are very good sites with examples I could follow better than the ones shipped

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Tiago Nodari
Me... I took a look at the current XML and the format is really easy to pick up, I was accuatly thinking the documentation was in DocBook Format... Drop me a message and lets divide the work :) At 11:59 PM 8/19/2002 -0600, you wrote: >So who is officially chiming in to gathe

Struts event cycle

2002-08-20 Thread vellosa
Hello everybody, I have a problem with the way in which one of my JSP pages is behaving and think that it is down to the way we have coded the Struts Form and Action classes. So I'm trying to sort out in my mind the sequence in which events happen when I submit a form. I think that it follows

RE: newbie:way to avoid restarting tomcat

2002-08-20 Thread Lito Ang
Cool! This solves my problem perfectly since tomcat is on another machine. Thanks a lot! :) -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 3:51 PM To: Struts Users Mailing List Subject: Re: newbie:way to avoid restarting tomcat This may

Re: [ANN] Struts Q&A Distilled, Vol#1

2002-08-20 Thread Tiago Nodari
Thankx for the nice effort! At 02:54 PM 8/20/2002 +0800, you wrote: >"Struts Q&A Distilled" is a catalogue of question-and-answers distilled >from Struts mailing lists and other sources. The catalogue is organized in >topics. New entries are added to the catalogue periodically in bat

Re: newbie:way to avoid restarting tomcat

2002-08-20 Thread John Yu
This may help: http://www.scioworks.net/devnews/strutsDistilled/topics/general.html#reload At 11:04 am 21-08-2002, you wrote: >Hi! > >I'm a struts newbie :) > >I find it very time-consuming to change >my bean codes, recompile it and reload tomcat >to test the changes... and go over the same

Struts Console as a Web Application

2002-08-20 Thread Jeff Caddel
Does anybody know of a web application with functionality similar to that of the Struts Console 2.1 James Holmes wrote? Basically a web interface for managing the various struts xml config files similar to the way the "admin" webapp manages the Tomcat server.xml file. TIA!!! -- To unsubscri

newbie:way to avoid restarting tomcat

2002-08-20 Thread Lito Ang
Hi! I'm a struts newbie :) I find it very time-consuming to change my bean codes, recompile it and reload tomcat to test the changes... and go over the same process again and again. Does any of you have ideas on how to shorten this cycle? Or is there a way to avoid restarting tomcat everytim

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Andrew Hill
I rather view that as a positive reason to using it, but thats probably just cos Im a mean b*d ;-) Actually Id be far more inclined to write it as: err = (ae != null); I guess non programmers might have trouble with this, but to me it seems perfectly natural! Really, HTML folk shouldnt be mo

RE: Cookies in IE 4

2002-08-20 Thread Andrew Hill
IE4. hehe I remember that one... Oh to be young again! -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 01:52 To: 'A mailing list for discussion about Sun Microsystem's Java Servlet API Technology.' Cc: Struts (E-mail) Subject: RE: Cooki

Re: Problem with Proxy Pass

2002-08-20 Thread Adrian Brown
Hi Billy, This might not be optimal for you, but try altering the org.apache.struts.taglib.html.BaseTag to generate the altered server name, this is one way to get it to work. You might want to control it using a properties lookup of some sort. If you want more details, let me know. Adrian ---

Re: Why failed?

2002-08-20 Thread Rosdi bin Kasim
Thanks for sending word documents as attachment First of all, that message fits nicely in a text file, so you really dont need to send it in word format Second.. what makes you think everyone would be able to open that propietary formatted file?? Third, I am using 56K modem... guess how

RE: Why failed?

2002-08-20 Thread Van Riper, Mike
I had this same symptom when trying to use client-side validation with deprecated form of plug-in specification for the Validator plug-in. If you are using separate property elements to specify multiple xml files for your validator plugin, you need to use a single set-property with plural pr

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Thanks Mark. I have it working by using : HomAction.java session.setAttribute(PAGE_MEMORY, req.getServletPath()); return mapping.findForward("logon"); LogonAction.java if (lastPage != null) { session.removeAttribute(PAGE_MEMORY); RedirectingActionForward forwardConfi

Losing my sanity: 1.1b & Validator problems

2002-08-20 Thread Andrew Shirk
I upgraded to Struts 1.1b last week (and to Tomcat 4.1.9 - which is great great stuff) and everything seemed to go fine. However, today, I was demonstrating my app to a friend when I noticed Validator validations were not being performed. I checked the logs and the validation configuration fil

Re: Servlet RequestDispatcher and browser URL refresh

2002-08-20 Thread Chris Wall
This is a greater issue then not. Servlet to servlet forwards are not recognized in the browser's address indicator. Not only is it confusing to the user, but a nightmare to program for. Most notable pain is that if the browser is refeshed/reloaded, the reload is not of the current view but of

RE: "Log4JCategoryLog does not implement Log" after upgrade to St ruts 1.1-b2

2002-08-20 Thread Anthony Martin
Yep, that's what it was. Thanks. -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:09 AM To: Struts Users Mailing List Subject: RE: "Log4JCategoryLog does not implement Log" after upgrade to St ruts 1.1-b2 Check the archives and the struts

Re: Beating the REFRESH button.

2002-08-20 Thread ajTreece
I tried this on my web app using Struts v1.1b with tiles, but I get the following error: [20/Aug/2002:17:24:06] warning (25350): for host 129.147.152.87 trying to GET /sunsentinel/home.page, send-file reports: can't find /sunsentinel/home.page (File not found) Here is the struts-config.xml l

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
actually, contextRelative should probably be false in your case. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 6:10 PM To: 'Struts Users Mailing List' Subject: RE: ActionForward bug and Struts 1.1-b2 Try this before redirecting: Forw

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
Try this before redirecting: ForwardConfig forwardConfig = new ForwardConfig(); forwardConfig.setContextRelative( true); Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:40 PM Mark, In my case, I woud like to use the complete p

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Mark, In my case, I woud like to use the complete path to build the ActionForward. When a user access a part of the site that requires login, I first save the current page path in the session using something like: HomAction.java session.setAttribute(PAGE_MEMORY, "" + req.getRequestURL()); r

Any idea why Weblogic throw this: java.lang.NoSuchMethodError .. On my ActionServlet?

2002-08-20 Thread Trieu, Danny
<101018> <[ServletContext(id=8303299,name=onlinebanking,context-path=/onlin ebanking)] Servlet failed with ServletException javax.servlet.ServletException: [ServletContext(id=8303299,name=onlinebanking,context-path=/onlinebanking)]: Servlet cla ss org.apache.struts.action.ActionServlet for serv

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
RedirectingActionForward redirect = new RedirectingActionForward("home.do"); return redirect; ? Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:22 PM In my action class, when I create an ActionForward object using an absolute pat

Re: validator plugin

2002-08-20 Thread Michael Delamere
Hi, unbelievable! I´ve just come back from a 4 day vacation and found an answer to my thread in the middle of over 260 new mails :-) ! Thanks for your reply. I will try it out later. Regards, Michael - Original Message - From: "Van Riper, Mike" <[EMAIL PROTECTED]> To: "Struts Users

ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Hi All, In my action class, when I create an ActionForward object using an absolute path, Struts does not forward to the proper page. The following code is working in Struts 1.1-b1: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse

RE: not displaying message?

2002-08-20 Thread Robert Taylor
Are the following properties in your properties file? errors.header= errors.footer= robert > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 3:23 PM > To: 'Struts Users Mailing List' > Subject: RE: not displaying message? > > > Check

RE: Advice Learning Struts

2002-08-20 Thread Dan Cancro
Get a decent service pack for WL 5.1. I think sp8 is a good one. sp6 is not. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 1:04 PM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Advice Learning Struts >

RE: Advice Learning Struts

2002-08-20 Thread jsadove
There is also Wellington L. S. da Silva's book "JSP and Tag LIbraries for Web Development". It has a number of errors in the examples, though, that can make you waste time if you are not first a careful reader of the Struts documentation. Otherwise, there is a wealth of pointers in the Resources

RE: Why failed?

2002-08-20 Thread Kwang-Shi Shu
I am running the "struts-validator/jsRegistration.jsp" from Tomcat 4.0.4 with Struts 1.1-b1 on IE5 from Windows XP. The screen shows the "// End -->" on the bottom of the page. (I really like to include the screen dump here. However, it was rejected by the mail server.) When I click

RE: Advice Learning Struts

2002-08-20 Thread wbchmura
Yes, I love this list... All I did was start small, keep refactoring the first project until you have a lot of best practices going, read everything you can find. of course now there is chucks book on theserverside.com... Sigh... when I was a kid there were no books on struts... -O

Advice Learning Struts

2002-08-20 Thread James . Thomas
Hi, This group is very active which is a good thing. I'd like to familiarize myself with the usage of struts. I have background in Java and JSP etc, I also have access to BEA Weblogic 5.1 currently. Just need a tip as to the best way to get started with them. Any recommendations for a si

RE: not displaying message?

2002-08-20 Thread wbchmura
I am not sure how all of that works, but I have a feeling that its okay that way. When I had the problem it was showing the same thing. Are you ABSOLUTELY sure the properties file is named right and is in your classes directory (not in your source if you have one)? Can you put a copy in

iPlanet Web Server 6.0 SP2 and Struts 1.02 Instructions

2002-08-20 Thread Jason Muse
Getting your application to run under iPlanet Web Server 6.0 SP2 Step by Step. *Notice this is just something I type up as I went along to get one little sample application I created to run LOCALLY in iPlanet Web Server 6.0 SP2. I made it a little more generic for posting but basically these are

RE: not displaying message?

2002-08-20 Thread Jerry Jalenak
I agree, it appears that the key is not being found. The ActionForm adds the message like this: errors.add("userID", new ActionError("error.bad.userid")); In my ApplicationResources.properties, I have errors.header= errors.footer= errors.prefix= errors.

RE: not displaying message?

2002-08-20 Thread wbchmura
The ?? Show that its not being found - within the ?? is the kjey its looking for... -Original Message- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:44 PM To: struts-user Subject: RE: not displaying message? The question marks MIGHT be displayed because

RE: not displaying message?

2002-08-20 Thread wbchmura
I've never specified locale... I did get the ?en_US**? When it could not find my entry or my entire properties file... -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:36 PM To: struts-user Subject: RE: not displaying message? We

RE: not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
The question marks MIGHT be displayed because you don't have errors.prefix or errors.suffix defined. I think the errors tag uses those when you're displaying errors by property. I'm not sure though, so hopefully one of the guru's will chime in and tell us how stupid we are, hahaha. ~ Keith http

RE: not displaying message?

2002-08-20 Thread Jerry Jalenak
Well, that's just it. I don't remember either, and can't see to find it in the DTD (old age / bad eyes?). I tried Sri's suggestion of using but it didn't seem to help (I don't usually use the tags). I mean, this is so basic its embarassing, but I can't seem to get the da*n error message to d

RE: not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
Would it go in the message-resources tag in your struts-config.xml? I haven't done it, but i think i remember seeing that on this list. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To:

Master-Detail - design strategy

2002-08-20 Thread marcio . miranda
Hi, I´ve just discovered Struts and I am finding it great. We've developed a framework of our own in my company and now I'm trying to map how to migrate things to Struts. One of the things we have that works great (in terms of productivity) is a class that simply calls a serie of "services" obje

RE: not displaying message?

2002-08-20 Thread Sri Sankaran
You mean ? -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To: 'Struts Users Mailing List' Subject: RE: not displaying message? Checked. it's there. I seem to remember a post sometime ago about having to specify locale=

RE: Anything terrible happen over the past week?

2002-08-20 Thread Galbreath, Mark
Huh? It's a FEATURE! -Original Message- From: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:28 PM Dare I ask if there is a patch for this? -Original Message- From: Galbreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:12 PM Yep. I came back from vacation

RE: not displaying message?

2002-08-20 Thread Jerry Jalenak
Checked. it's there. I seem to remember a post sometime ago about having to specify locale= , but can't seem to remember where it needs to be coded. I went to check the archives about an hour ago and couldn't get into 'em. Anybody else remember something about this? Jerry > -Original

RE: Anything terrible happen over the past week?

2002-08-20 Thread wbchmura
Dare I ask if there is a patch for this? -Original Message- From: Galbreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:12 PM To: struts-user Subject: RE: Anything terrible happen over the past week? Yep. I came back from vacation and resubscribed. Mark -Original

RE: not displaying message?

2002-08-20 Thread wbchmura
Could just not be finding your properties file... Should be in: /classes/com/labone/Messages/ApplicationResources.properties -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:02 PM To: struts-user Subject: RE: not displaying message?

RE: Anything terrible happen over the past week?

2002-08-20 Thread Galbreath, Mark
Yep. I came back from vacation and resubscribed. Mark -Original Message- From: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 2:24 PM I've been out moving for the past week. I can catch up on the full archive over the next week, but has anything terrible been discovered and / or f

RE: not displaying message?

2002-08-20 Thread Jerry Jalenak
OK, should've caught that one. Also had a finger-check in the ActionForm where I'm setting the error message. Fixed 'em both. Now I'm getting a message on the logon.jsp, but it looks like this: ???en_US.error.bad.userid??? I'm guessing it has something to do with localization

RE: iPlanet and Struts 1.02 problem - last try.

2002-08-20 Thread Rajesh Kalluri
Jason, did you deploy this as a web-application if what is the web-app context i dont see you mention that any where in your mail. Rajesh. -Original Message- From: Jason Muse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: iPlanet and Str

RE: not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
For your tag, don't specify the name attribute. Specify the property attribute instead. It would look like: I hope this helps ya out. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:41 PM T

RE: Validating nested:text fields in an iterate block

2002-08-20 Thread Padma Ginnaram
I did not use the nested tag but you should be able to validate indexed fields by specifying indexedProperty and indexedListProperty (the version of the struts validator framework I use never uses the indexedProperty). http://home.earthlink.net/~dwinterfeldt/revision.html for changes made on 9/25

not displaying message?

2002-08-20 Thread Jerry Jalenak
I'm putting together a very basic, sample application for some training purposes using Struts 1.1b2. In testing the app, I cannot seem to get an error message from an ActionForm to display on the jsp. Can someone see what the heck I'm doing wrong? struts-config.xml http://jakarta.apache.org/s

RE: Anything terrible happen over the past week?

2002-08-20 Thread James Mitchell
Yes, apparently Mark Galbreath is back from vacation. I don't remember reading that in the release notes ;) James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From

RE: How to put things in the ServletContext

2002-08-20 Thread Jonas Bjornerstedt
Given the recent discussion of Struts and connection pooling, it might be a good idea to include a connection pool example as an application. Jonas > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: den 20 augusti 2002 20:24 > To: Struts Users Mailing Lis

Cannot create iterator (newbie)

2002-08-20 Thread Silva, Alejandro
Hi! Intro: First of all, I'm new to Struts :) Well, I'm running Struts with Tomcat 3.2.4. I have a Vector as part of an ActionForm then I'm sending this ActionForm to a JSP file and trying to use the Vector to create a "select" element using the and . But, (there is always a "but") I'm gettin

Problem with Proxy Pass

2002-08-20 Thread Billy Ng
Hi folks, I use the proxy pass in Apache to translate the url from http://www.myDomian.com:8080/myApp to http://www.myDomian.com In the tag, it looks like, However, you will notice Struts will add the app name in the action path if you view the html This will break the url. Would anyb

RE: How to put things in the ServletContext

2002-08-20 Thread Craig R. McClanahan
On Tue, 20 Aug 2002, Robert Taylor wrote: > Date: Tue, 20 Aug 2002 05:33:09 -0400 > From: Robert Taylor <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: How to put things in the ServletContext > > Ad

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Galbreath, Mark
Simply for code readability - we have HTML people who would be confused running into a trinary operator. Good refactoring, though! Mark -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:49 PM I don't understand the need for the boolean err = f

RE: Stupid email filters [WAS: DAO -> DTO business object to view beans]

2002-08-20 Thread James Mitchell
Trend SMEX Content Filter has detected sensitive content. Place = Struts Users Mailing List; ; ; Struts Users Mailing List Sender = Mark Galbreath Subject = RE: Stupid email filters [WAS: DAO -> DTO business object to view beans] Delivery Time = August 20, 2002 (Tuesday) 13:35:22 Policy

RE: Cookies in IE 4

2002-08-20 Thread Galbreath, Mark
I'm curious as to why you are using IE 4.x? Our recent deployment of the public ecommerce sites for VoiceStream/T-Mobile (using Struts) had an IE 4.x compatibility requirement and I refused to implement it. Are there really that many projects requiring compatibility with an obsolete browser? sh

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread micael
I don't understand the need for the boolean err = false; if(ae!= null) { err = true; } in the code below. Why not use merely: <% ActionErrors ae = (ActionErrors)request.getAttribute(Action.ERROR_KEY); %> Then, wherever you want something to occur on the page: <% if(ae == null ? true : false

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Dan Cancro
Hmm, I'll think about it some more. If I can figure out a way to do it, I'd like to add rollover popup boxes to explain the finer points. I'm hoping to get around to creating similar diagrams for the other frameworks out there so it's easier to compare apples to apples. So, as much as possible,

RE: DAO -> DTO business object to view beans

2002-08-20 Thread Raffy_Lata
I tried to read chapter 7 and the discussion on DTOs does not flow smoothly into the ActionForm discussion so it's a bit confusing as to how the big picture looks. It is also mentioned that DTOs are part of the model and ActionForms are part of the view. If BOs delegate persistence to DAOs, do w

RE: Stupid email filters [WAS: DAO -> DTO business object to view beans]

2002-08-20 Thread Alex Birch
I get a bad filter message for every post I send to struts-user! I hope it's not my name "birch" which looks like 'bitch'!?!! what about Birch trees? sorry all to make you receive annoying filters Alex --- "Galbreath, Mark" <[EMAIL PROTECTED]> wrote: > Heh heh...happens to me all the time: >

FW: ScanMail Message: To Sender, sensitive content found and action taken.

2002-08-20 Thread Galbreath, Mark
Touche. -Original Message- From: System Attendant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 12:41 PM Trend SMEX Content Filter has detected sensitive content. Place = 'Struts Users Mailing List'; ; ; Struts Users Mailing List Sender = Galbreath, Mark Subject = RE: Stupid

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
sorry to be pedantic but I wasn't sure about wizard or operation :) I don't quite know how to categorize its 'number of implementations' multiplicity - I've thought about it a fair bit too! the only thing I could think of was another colour altogether and call it: "One per form or collection o

RE: Stupid email filters [WAS: DAO -> DTO business object to view beans]

2002-08-20 Thread Galbreath, Mark
Heh heh...happens to me all the time: Your name cannot be "Dick." Your dog cannot be a "bitch." Your cat cannot be a "pussy." A fastener cannot be a "screw." A lubrication nozzle cannot be a "tit" or a "nipple." A mule cannot be an "ass." Something strange cannot be "queer." A cigarette ca

Jcrontab and Struts

2002-08-20 Thread Jan Fetyko
Hi all, I was wondering if anybody has some experience implementing Jcrontab into struts. Jf -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
Oops, sorry about that - I missed the whole color key for the interior of the boxes. I guess I was concentrating on the exterior border color. Didn't mean to rant on about how ActionForms are created :) Jason -Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

query string with more then one param in struts-config.xml

2002-08-20 Thread Sriram Nookala
I have the following forward within an action in struts-config.xml: However tomcat doesn't seem to like it, so I changed it to: This however doesn't seem to do the right forward. How do I have a query string with more than param in struts-config.xml? thanks, sriram -- To unsubscribe, e

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
-Original Message- From: Dan Cancro [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 9:24 AM To: 'Struts Users Mailing List' Subject: RE: Struts Community is going crazy! :-)) I'm so happy you found it useful. Good catch about the ActionForm. I thought about that and added "

How to use DynaValidatorForm?

2002-08-20 Thread A C
Hello I am trying to use the DynaValidatorForm in the following way. In the struts-config file I have How to write the LoginAction class, should it extend DynaAction like public class LoginAction extends Action { public ActionForward execute(

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Dan Cancro
I'm so happy you found it useful. Good catch about the ActionForm. I thought about that and added "(in general)" after "Number of implementations" because you are right that there could be one ActionForm implementation for a whole wizard composed of several pages. I'll add a new background colo

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
Yes...sorry I don't think I made myself quite clear... I am aware that ActionForms are created on a per-request basis... what I was pointing out was that the "one per screen" colour that is associated with the ActionForm comes under the "Number of Implementations (in general)" legend. This woul

Stupid email filters [WAS: DAO -> DTO business object to view beans]

2002-08-20 Thread Andrew Hill
Ok whats wrong with this thread? Seems it offended someones highly touchy content filter. duh! Trend SMEX Content Filter has detected sensitive content. Place = Struts Users Mailing List; ; ; Struts Users Mailing List Sender = Andrew Hill Subject = RE: DAO -> DTO business object to view beans

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Jason Rosen
Dan's diagram actually (and correctly) denotes that there is one ActionForm instantiated per request or session (depending on the scope it is configured for in the ActionMapping). The same ActionForm class can be configured for multiple Actions via the ActionMapping, as you stated, but the Action

RE: DAO -> DTO business object to view beans

2002-08-20 Thread Andrew Hill
Have to agree. My ActionForms started out looking very like the objects I use to access the data from the j2ee side, but the speed at which they diverged over just a few iterations was quite surprising -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent: Tuesda

RE: Escaping HTML in

2002-08-20 Thread Robert Taylor
User error. I wasn't aware that the body of the was rendered as the value of html check box value attribute. Thanks Sri. robert > -Original Message- > From: Sri Sankaran [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 11:10 AM > To: Struts Users Mailing List > Subject: RE:

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
You are most welcome. I am glad it helped. Regards, Stephen. -Original Message- From: Leslie Bertels (Synergetic) [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 16:47 To: Struts Users Mailing List Subject: Re: Problem deploying ejb combined with struts Stephen, thanks alot man! I m

Re: Problem deploying ejb combined with struts

2002-08-20 Thread Leslie Bertels \(Synergetic\)
Stephen, thanks alot man! I managed to get things working. Not exactly as you discribed below but that's ok. Regards, Les. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 4:21 PM Subject: RE: Problem deploying ejb combined with strut

RE: How to put things in the ServletContext

2002-08-20 Thread Karr, David
> -Original Message- > From: Adam Connors [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 2:16 AM > To: [EMAIL PROTECTED] > Subject: How to put things in the ServletContext > > Hello, > > Apologies if this is an obvious one I've missed, (I'm a > newbie and a bit bewildered b

RE: [ANNOUNCE] Struts Console v2.1

2002-08-20 Thread Narayana Reddy
Thank you Thanks & regards, Narayana Reddy PM, IRDI, India Telnet:847-1987 Work: 91-80-2051987 Home: 91-80-3541057 Mobile: 91-98451-62251 -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 7:18 PM To: Struts Users Mailing List; [EMAIL PROTE

Something fundamentally wrong

2002-08-20 Thread Stephen . Chambers
All, I think I am doing something fundamentally wrong with a small pop up window that I have, but I don't understand what. When I click the add button, i.e. html:submit, the jsp is supposed to forward back to itself, which it does rather successfully. But in the request, when it forwards back t

iPlanet and Struts 1.02 problem - last try.

2002-08-20 Thread Jason Muse
One more try at this issue Problem with an extra slash "/" being added to the front of my form action and links, examples from little app i wrote and struts-example app: Example 1: http://do/PanelForm"; Server: iPlanet Web Server 6.0 SP2 Struts: 1.02 binary release Not sure where to go f

Re: Servlet Validation

2002-08-20 Thread John Owen
An acronym a day keeps the Project Manager at bay. - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 10:17 AM Subject: RE: Servlet Validation > TAMTOWTDI! > > Mark -- To unsubscribe, e

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
James, The structure I have described below works fine on an embedded Tomcat 4.0.3 with JBoss 3.0.0. Regards, Stephen. -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 16:01 To: Struts Users Mailing List Subject: RE: Problem deploying ejb com

RE: Servlet Validation

2002-08-20 Thread Galbreath, Mark
TAMTOWTDI! Mark -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:13 AM Thanks, I thought of a better variation of that technique though. The w3c recommends not using the meta refresh because of accessibilty and browser variation. I'l

RE: Servlet Validation

2002-08-20 Thread David Graham
Thanks, I thought of a better variation of that technique though. The w3c recommends not using the meta refresh because of accessibilty and browser variation. I'll put an index.jsp with a single redirect statement in it to index.do. This way, it's using actual http header redirects instead o

RE: DAO -> DTO business object to view beans

2002-08-20 Thread James Higginbotham
In my past experience, projects tend to start out with the DTOs matching the BOs 1-to-1 but as a project grows and matures, UI changes will require a DTO to change in such a way that they don't match the BOs anymore. So, do the right thing and have both BO and DTO, even if they are matching. This

RE: Escaping HTML in

2002-08-20 Thread Sri Sankaran
Robert: I think the only way to achieve dynamism in the value attribute is to use a JSP scriptlet such as: What is it that you are trying to achieve? I have used multibox in an iteration (complete with pre-selected check-boxes) as follows: It renders as: Hope that helps Sri

RE: Non-Struts related : input one text field then show description in another field

2002-08-20 Thread Galbreath, Mark
Works fine with NN 6.2. Mark -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:00 AM To: Struts Users Mailing List Subject: RE: Non-Struts related : input one text field then show description in another field Sounds like you're saying that you wa

RE: Problem deploying ejb combined with struts

2002-08-20 Thread James Higginbotham
Search the Jboss archives for classloading under Jboss 3.0.. I believe you have to wrap the war into a single .ear with the EJBS, and remove the libs from the war and put them in the ear *only* if you are using embedded Tomcat with JBoss. Something about how the classloaders work under the new Ser

RE: Help - xml to pdf using struts

2002-08-20 Thread mike . witt
Yes. The problem with IE is that it doesn't show the file and you get a blank page. This note at the fop site says: "Some browsers have problems handling the PDF result sent back to the browser. IE is particularly bad and different versions behave differently. Having a ".pdf" on the end of the

Validating nested:text fields in an iterate block

2002-08-20 Thread Jon.Ridgway
Hi All, Is is possible to use the struts validator to validate a nested:text field within an iterate block. I can't see a way to do this; validation.xml wants the name of a property on the form; but within an iterate block the field names are made on the fly - ie address[0].street. Is it possibl

Re: upload question

2002-08-20 Thread Alex Birch
I'm not sure if I understand you right, but is it because the upload example simply displays the contents of the files you upload directly to the browser (using out.print)? Because the image is a binary file it won't display nor would any other binary file... I haven't had any troubles uploadin

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
Dan, that is a fantastic diagram (so much information so easily accessible in such a small place)! I have one question though to do with the ActionForm... Your colouring infers that there is one 'ActionForm per screen'. I know that an ActionForm instance is created (and filled with the form i

RE: Problem deploying ejb combined with struts

2002-08-20 Thread Stephen . Thompson
Hello Les, Lets see In my WAR file I have the following *.JSP WEB-INF\ struts-*.tld tiles.tld web.xml struts-config.xml jboss-web.xml classes\ All of the action, form etc classes that are part of my application. lib\ struts.jar commons-*.j

RE: Servlet Validation

2002-08-20 Thread Galbreath, Mark
Create a blank index.html page in the /host/account directory that redirects to index.jsp in a META tag with the URL /do/index and the user will be directed to any path and bean defined for that path in struts-config. Mark -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]]

DAO -> DTO business object to view beans

2002-08-20 Thread Alex Birch
Hi, I am building a medium size struts application (40-60 jsp pages) in a team. my question is to do with mapping business objects to view beans... By view beans I mean DTO (data transfer objects mentioned by Chuck Caveness in chapter 7 his upcoming O'Reilly struts book) If my understanding i

Re: Problem deploying ejb combined with struts

2002-08-20 Thread Leslie Bertels \(Synergetic\)
I tried that, but maybe the structure of my ear file (or war file) is not correct!! Could you send my that structure please ??? Thx. Les. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 4:05 PM Subject: RE: Problem deploying ejb com

  1   2   >