RE: how about some clarification vs saying things are ludicrous [partially OT]

2004-09-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
> > I tested the code -- not that I needed to do so, but still. > > I'm sure you didn't need to test it "Oh almighty coding God." Maybe I deserved that one. :) > > Here's an index.jsp that I've ran in Tomcat 5.x: > > > > > > > > > > > > function swapAction( formName, action) { > >

RE: how about some clarification vs saying things are ludicrous [partially OT]

2004-09-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
uts Users Mailing List > Subject: Re: how about some clarification vs saying things are ludicrous [partially OT] > > Durham David R Jr Contr 805 CSPTS/SCE wrote the following on 9/15/2004 > 9:58 AM: > > > > If we may take a more civil tone, do you still feel this way? Why don

RE: how about some clarification vs saying things are ludicrous [partially OT]

2004-09-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
> > Ok, let me see if I've got it. > > > > In a JSP, you have exactly this code (along with other unimportant stuff > > before it and after it): > > > > function swapAction( formName, action) { > > formAction = document.getElementById( formName ).action; > > newAction = ''; > >

RE: how about some clarification vs saying things are ludicrous [partially OT]

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Are you sure you have that javascript snippet on a JSP with the import > of the html taglib declared correctly on the top of the page (ie <%@ > taglib prefix="html" uri="http://struts.apache.org/tags-html"; %> ) ? Yes. I get a null pointer. Here's the stack trace: java.lang.NullPointerExcepti

RE: ActionErrors

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Does anybody know what to do with ActionErrors now that it is deprecated? I > want to be able to list the errors in the same as way with the html:errors > tag. Someone correct me if I'm wrong, but you can still use the "addErrors" method within your action, but you pass it an ActionMessages obje

RE: Redirecting a Request With params

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
> From: El Toro [mailto:[EMAIL PROTECTED] > > I have an action class which needs to redirect a > request to an application outside of the current > context. I also need to pass some parameters to the > outside application. One of these parameters is too > big to include on the URL/QueryString.

RE: Redirecting a Request With params

2004-09-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
s within the context of > struts. I did read the mailing list and there was a > similar example but it was not relevant to what I > need. I need a method to POST params to an external > site within a sruts action class...without using any > other external libraries. > > Th

Dyna Forms

2004-09-20 Thread Durham David R Jr Contr 805 CSPTS/SCE
Is there a way to create a form-bean dynamically? I'd like to have a form dynamically created and populated with the request parameters. Right now, I won't be using validation. - Dave

RE: Dyna Forms

2004-09-20 Thread Durham David R Jr Contr 805 CSPTS/SCE
ActionForm: > > http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean > > or even just a straight LazyDynaBean > >type="org.apache.commons.beanutils.LazyDynaBean"/> > > > For both of these, you need Struts 1.2.4 and BeanUtils 1.7.0 > >

[OT] More gmail invites

2004-09-21 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've got quite a few. Send an e-mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] and I'll send an invite to not necessarily the first requests. - Dave

RE: Struts Bloat: Framework

2004-09-21 Thread Durham David R Jr Contr 805 CSPTS/SCE
> James Mitchell wrote: > > >Please do not cross post to both lists. Most of us on dev are also on user. > >If I choose to reply or ignore you on dev, I'll do the same on user. > > > >Thanks. > > I explained my reasons for doing it in the post\. I think what he's saying is that you'll never need

RE: Struts Bloat: Framework

2004-09-21 Thread Durham David R Jr Contr 805 CSPTS/SCE
> >I think what he's saying is that you'll never need to cross post. As > >in, there isn't a single good reason to cross post to 'user' and 'dev'. > > > > > Yah, Dave, I got dat. And, I tink his reasons were gut. I have to > admit that I blew it and did not tink about most dev people being on >

RE: Forward to a file on hard drive

2004-09-22 Thread Durham David R Jr Contr 805 CSPTS/SCE
> clugee (sp) http://dictionary.reference.com/search?r=2&q=kludgy I'm good for something. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
> If the uploaded files do not have to be protected (any > user can access them), where is the proper location to > store them? In this case, it looks like anywhere in your app except WEB-INF. Keep in mind that if your deployment process involves deleting your web-app and reconstructing (such as

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
irectory under WEB-INF which holds all content > types with their separate directories by extention, e.g. > > WEB-INF >resources > gif > jpeg > jpg > pdf > ttf > > > And so on. > > Michael McGra

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
> If they're inside of WEB-INF, then they aren't accessible via a URL -- > something she wants, I think. I should rephrase this. If the files are stored inside of the WEB-INF, they aren't *directly* accessible via a URL. I personally opt to store uploaded files outside of the web-app's file-syst

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Wendy said that "If you're talking about run-time file > creation or uploads... keep in mind that a webapp can > run unexploded from a .war file... in that case you > can't write to a directory within your webapp, because > it doesn't exist." > > I do upload files from clients' PC and store thos

RE: Sanity check: Struts 1.2.4/Tomcat config

2004-10-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Try /welcome.do - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've solved this problem a couple of different ways. 1) Turn off validation in the struts-config and handle it within your action method. Something like: ActionErrors errors = form.validate(mapping, request); if (errors != null && !errors.isEmpty()) { saveErrors(request, errors);

RE: struts and oracle

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> I was wondering why Oracle Application Server/JDeveloper is not > supported by Struts 1.2.4. Struts 1.2.4 works within Oracle A.S. as well as JDeveloper. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: input form

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Hello, > > I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), and > an action (CreateMessageAction.java). > > Currently, the user inputs their info into create.jsp, hits 'submit', > and the action gets the info from the form-bean and does stuff with > it. Instead, I would like

RE: multiple submit buttons on a form

2004-10-05 Thread Durham David R Jr Contr 805 CSPTS/SCE
> http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions Mike, why not link directly to the Struts related stuff from the wiki. Or are you trying to drum up business for your flash skills? ;) - Dave - To unsubscribe,

[OT] RE: multiple submit buttons on a form

2004-10-05 Thread Durham David R Jr Contr 805 CSPTS/SCE
> The reason is that I may want to change this page > without having to go to every place it is linked > to do so. Does that qualify as a "splash" screen? HA HA - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[OT] Site map generator

2004-10-07 Thread Durham David R Jr Contr 805 CSPTS/SCE
I'm looking for something that dynamically generates a site map. Simply spidering pages is not going to work. Basically, I'm looking for something that uses a configuration to generate HTML/CSS or and Image/Map combination. Obviously free would be preferred, but something that costs money is als

RE: validation question

2004-10-18 Thread Durham David R Jr Contr 805 CSPTS/SCE
> The validation works fine however, when I just type the http://localhost:8080/login.do > in my browser (no submit), the validation error will show up at once. > I understand that it's just like I submit a form to login.do action without any > parameter. My question is, do struts provide any sim

RE: single redirect.

2004-10-18 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Basically I would like to temporarily set redirect on a given forward, > is this possible? The ActionServlet "freezes" the configuration of Forwards in ActionServlet.init(), so you're better off creating 2 forwards, IMO. - Dave -

HTML Form

2005-04-12 Thread Durham David R Jr Contr 805 CSPTS/SCE
I recall reading something about the HTML tags not receiving any developer attention and new project are encouraged not to use them. My question is what is the alternative to them? JSTL? Is there a guide or wiki page regarding the issues of migrating from the HTML tags to whatever the recommenda

RE: HTML Form

2005-04-12 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Its not true that the HTML tags are receiving no developer > attention. Ok, my mistake. Thanks for clearing that up. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Plug for Geary's JSF book

2004-11-24 Thread Durham David R Jr Contr 805 CSPTS/SCE
> go to your bookstore or favorite online store and pick up Core > Java Server Faces by David Geary and Cay Horstmann. Since we're plugging, I'll mention that http://search.safaribooksonline.com/ has this book. - Dave ---

RE: Trouble with my first DynaActionForm

2004-11-24 Thread Durham David R Jr Contr 805 CSPTS/SCE
What does your look like? - Dave > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 24, 2004 1:21 PM > To: Struts Users Mailing List > Subject: Trouble with my first DynaActionForm > > > > > > I am using Struts 1.1. I added my fi

RE: Trouble with my first DynaActionForm

2004-11-24 Thread Durham David R Jr Contr 805 CSPTS/SCE
> form-property name="message" type="java.lang.String" Should this be ? Notice that you did not include the enclosing less-than and greater-than signs. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
> so what's the stupidest thing a company has ever done to YOU? Read the last paragraph on this page: http://www.techdoctors.com/custom.htm - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
> > So the stupidest thing they did was what? > > a) Make you WRITE that? (kidding) Well, I don't work for that company anymore, but yeah, writing the site was basically wasteful. > > b) Upgraded you with illiterate computer technicians like > > the ones who wrote that paragraph? Hah! What ma

RE: Preventing concurrent execution of an Action

2004-12-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
You might be able to get away with simply adding 'synchronized' to the execute method's signature. synchronized public ActionForward execute(...) { updateXml(); } private void updateXml() { ... } The lock/key threading techniques have to do with, I think, a more complex th

RE: Struts and JDK 1.4.2_06

2004-12-17 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Are there any thoughts on how a form bean property name could conflict > with a JDK release? Did you recompile the entire project with the new JDK? I wouldn't think that should matter, but perhaps it does in your case. - To u

RE: [OT] I need to configure logs on my virtual hosting

2004-12-28 Thread Durham David R Jr Contr 805 CSPTS/SCE
> I need to configure logs on my virtual hosting. > How can I do it? Till Since this is OT, first a few words about "till" from Dictionary.com: Usage Note: Till and until are generally interchangeable in both writing and speech, though as the first word in a sentence until is usually preferred:

RE: 2005

2005-01-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> i want to know what is bc4j exactly?and how to > use that ... Download JDeveloper and pull up a wizard. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: cache problem

2005-01-07 Thread Durham David R Jr Contr 805 CSPTS/SCE
> hi > i put below code in my jsp and solved problem.however > i use html-meta tags it doesnot work.when i use this > method it works. but i dont understand why this occurs > like this > > sincerely Any answer would likely be speculation, but I'm glad to hear it's working for you. > <% response

RE: Struts 1.3 Snapshots ?

2005-01-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
> If you're really daring, check out > http://wiki.apache.org/struts/StrutsChain > http://www.apache.org/~germuska/struts-1.3.0-dev/ This is a bit off topic, but the switch to SVN has made it easier for users like me (behind a proxy) to checkout the source. How would I checkout the StrutsChain co

RE: Dispatch action and java script?

2005-01-11 Thread Durham David R Jr Contr 805 CSPTS/SCE
> The problem could be that you aren't returning anything. Try doing something like this: onclick="return validate();" Then: function validate() { if (...) // fails return false; } // else return true; } So, you return a Boolean from the validate fun

RE: [OT - Friday] (was: Action Chaining)

2005-01-14 Thread Durham David R Jr Contr 805 CSPTS/SCE
> I gather than by "grok" you mean the traditional "to drink" or > (metaphorically) "to profoundly appreciate or understand" in Martian > in "Grokking the GIMP" by Carey Bunks? I agree when you talk about > "dispatch actons" but disagree completely when you talk about "lookup > dispatch actions"