Re: Tiles definition file

2004-09-30 Thread brenmcguire
For my experience, usually this is due to some problem in Struts application loading, even things that have nothing to do with Tiles, such as a wrong DataSource configuration. If something goes wrong in the struts-config.xml, the Tiles definitions would not be loaded at all. Take a look at the log

RE: validator for radio button does not work

2004-09-30 Thread David G. Friedman
Jayaraman, The problem you wrote about sounds like an old bug in the commons-validator.jar which was fixed back in March 2004. http://issues.apache.org/bugzilla/show_bug.cgi?id=30872 A corrected version of the commons-validator.jar is v1.1.3 and is used by the latest stable Struts v1.2.4 release.

Re: File Upload Limits

2004-09-30 Thread struts Dude
Hi David, Let me get this straight. By using the way you described, if the file to upload exceeds maximum allowable size, then no upload will be proceeded right? I only know how to upload the stupid way, i.e. upload the whole file and abort if file size exceeds maximum. Thanks - Original Messag

Re: timeouts

2004-09-30 Thread James Mitchell
What timeout? Database timeouts? The max time that a browser will wait to the request to return? What are we talking about? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Lucero, Dennis M" <[EMAIL PROT

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Frank W. Zammetti
Thank you Niall. I'll be sure to have a look in a little while. Although I worked out a solution I can live with, it does feel like a tad more than it should be. Thanks again! Niall Pemberton wrote: Rather than answer you here, I've set up a wiki page showing three different options for "lazy

Indexed Properties and Lazy List behaviour

2004-09-30 Thread Niall Pemberton
I've set up this wiki page showing how to use indexed properties and implement lazy list behaviour in an ActionForm. http://wiki.apache.org/struts/StrutsCatalogLazyList There are three possible solutions to lazy list beviour on that page - but since I'm only using LazyDynaBeans myself, I would ap

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
Rather than answer you here, I've set up a wiki page showing three different options for "lazy list" type behaviour http://wiki.apache.org/struts/StrutsCatalogLazyList I understand you wanting to only use "released" stuff - actually if you look at LazyValidatorForm, theres not much too it - mos

Re: Error Message for Struts Validation

2004-09-30 Thread Matt Bathje
I've never used the attribute myself, but I think when you do, you need to specify the key, and a name attribute for which validation the message applies to. So in your case it would be: You may also need to specify a bundle and resource attribute, but I don't think so in your case. The erro

Forms and Building Generic logic to control focus

2004-09-30 Thread Sifuentes, Ben
Example of retrieving the configuration of the form. OutStanding questions are: 1.) Is the order of the array returned from findFormPropertyConfigs() call the order defined in the tag of the struts-config.xml file? 2.) From the server side. If one wished to determined if the fieldname was requi

Re: [NEWBIE] Local forward with html:link?

2004-09-30 Thread Adam Hardy
You can take 2 approaches. You can split the page into tiles, one tile contains the form input elements and is nested inside the other tile which contains the form and the buttons. Then you re-use the first tile and swop the second tile depending on your mapping. Alternatively you can have a di

Re: Setting values of nested collection

2004-09-30 Thread Adam Hardy
Hi Danielle, are you sure you instantiated the appropriate hierarchy for struts to save the form properties into on submit? You can build it yourself, keep it in the session or use LazyBeans (not sure about the last one - might be called LazyNested or similar). Adam On 09/30/2004 07:33 AM Danie

Re: Deploying struts

2004-09-30 Thread Adam Hardy
Hi there, you should put it in the WEB-INF/lib directory. However the struts-documentation should run straight out of the box. I suspect you have a configuration failure somewhere. On 09/29/2004 08:39 PM Sanghamitra Roy wrote: I have Tomcat 3.3.1. I have downloaded the struts 1.2.2 and unzipped

RE: timeouts

2004-09-30 Thread Lucero, Dennis M
Ugh , not session timeouts but connection timeouts. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:17 PM To: Struts Users Mailing List Subject: Re: timeouts No, Struts does not control session timeouts -- James Mitchell Software

Re: Validator

2004-09-30 Thread Daniel H. F. e Silva
Hi Gabriel, When posting to the struts-users list, please, don't use any language other than english. It is unpolite as just a few dudes here understand portuguese. If you and all other Struts dudes (hey, i'm brazilian too) need help with Struts, join the funkiest irc channel ever: #funkyco

RE: How to handle multiploe unknown form fields

2004-09-30 Thread David Suarez
I didn't realize that Struts could actually pass a pre-filled ArrayList. That's pretty cool.The way that I've done index properties in Struts call this method in my version: Myproperty(int index, String value); In that method, you can recreate whatever you want however you prefer. This is a g

RE: RE: Struts and Quartz Scheduler

2004-09-30 Thread Wiebe de Jong
If you've not had any problems, that is good. Tomcat is probably taking care of the threads for you and stopping them. Using the plugin is still better because instead of relying on the app server to do your cleanup, you can take charge of it yourself. Wiebe -Original Message- From: Thoma

RE: Struts and Quartz Scheduler

2004-09-30 Thread Barnett, Brian W.
Thanks Wiebe. I saw your name on a post or two in the Quartz forum and was hoping you'd respond to this here. I really appreciate it! Brian Barnett -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:28 PM To: 'Struts Users Mailing List'

Error Message for Struts Validation

2004-09-30 Thread Caroline Jen
I use the validation.xml to validate the properties in my form bean. The validation works; but, the error messages do not work as I expected. While I have customized error messages prepared, the error message displayed in the browser window for my intentional violation are like: . null is require

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
In fact it did help because it answered some question for me. I spent the last hour searching for the RIGHT answer... This looked like it, but for whatever reason it would never work for me when I tried to do the exact same thing in my own project. So, I went ahead and hacked together my own s

Tiles definition file

2004-09-30 Thread kevin_gutch
Has anyone run across this issue? org.apache.jasper.JasperException: Can't get definitions factory from context. I realize the app can not locate the tiles-defs.xml but nit sure why. I have never really had this problem before. My Struts-Config.xml plug-in section looks like

Re: Validator

2004-09-30 Thread Gabriel França Campolina
Olá Vinicius, Poste o seu mapeamento de suas action no struts-config, e o mapeamento dos seus form, para que eu possa analizar? Verifique o log gerado pelo seu container web(Tomcat, JBoss etc), em geral eles listam a maioria dos problemas da sua aplicação. Gabriel F Campolina Analista desenvolved

AW: RE: Struts and Quartz Scheduler

2004-09-30 Thread Thomas Vogt
Hmm never had any of the problems you mentioned with my app and I do WAR HOT reload quite often. I never experienced the behaviour you mentioned on my Tomcat 5 but maybe thats different for JBoss. But since you mentioned it I will change it in my app too, so it is compatible with JBoss too. Thanks

RE: timeouts

2004-09-30 Thread David Suarez
Web.xml has a timeout value you may want to make sure is not there. I believe the webapp takes precedence over the server settings if they are set. Regards...djsuarez -Original Message- From: Lucero, Dennis M [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:26 PM To: [E

RE: Validator

2004-09-30 Thread Charles . Gouin-Vallerand
Do you have an error in server console when you validate ? I already had a problem like that and the validation was not complete. Do you use the server side validation or the client side ? I have never use the client side validation, so I cannot help you with it. Charle

validator for radio button does not work

2004-09-30 Thread Jayaraman . Dorai
the client side validator for radio button does not work for required validation. The validation rules check for field.type==radio, but the field.type is 'undefined' when I tried an alert. But field[0].type returned radio. The validation_rules.xml has field.type==radio check all over. Has anyone s

Page refresh results in multiple calls to form bean?

2004-09-30 Thread Tom McCobb
I have a templated page. In a detail display section (in Detail.jsp), after an update, I forward back to the main page (call it Master.jsp). I also have a search section (Search.jsp) on the page. I put a log statement in a getter on the Form Bean behind Search.jsp. I notice that when I do somet

RE: Struts and Quartz Scheduler

2004-09-30 Thread Wiebe de Jong
Starting Quartz from a servlet is not a good idea, use a Plugin instead. Reason: I am running on the JBoss application server, and the threads that Quartz creates on startup are attached to the app server when using the servlet method. Everything works fine, but when your webapp is shutdown, the

Re: Validator

2004-09-30 Thread Vinicius Carvalho
[EMAIL PROTECTED] wrote: Hi Vinicius, An easy question, have you put the right attribute in the struts-config.xml in the actionMapping ? You need to put the xml attribute validate="true" and an input for the page you want to return if the validation throw an error. An exemple :

Re: timeouts

2004-09-30 Thread James Mitchell
No, Struts does not control session timeouts -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Lucero, Dennis M" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 1:26 PM Subje

Re: Using WildCards

2004-09-30 Thread Don Brown
Unfortunately, set-property is processed at config parsing time, rather than runtime, so it is not possible to use wildcard replacement in it. Don On Thu, 30 Sep 2004 14:59:17 -0300 (ART), Jose Alecio Carvalho <[EMAIL PROTECTED]> wrote: > Hi! I'm having some troubles using WildCards. I have > a

Re: How to handle multiploe unknown form fields

2004-09-30 Thread bmf5
Frank, Will this help? http://www.reumann.net/struts/nested.do You didn't say anything about JSTL. Just today I'm working on populating a checkbox field in an object that's contained in a list. Oops. I just remembered I'm using html-el too. I haven't tried it with with plain html. This

Using WildCards

2004-09-30 Thread Jose Alecio Carvalho
Hi! I'm having some troubles using WildCards. I have a Action declaration like this: The WildCard for this declaration works fine with all the items, except the one which is into the : "" It doesn't replace the flag. How can i do such a thing? thanks! Alecio

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
That will take care of the presentation side, true enough. But the problem I'm still trying to solve is how to deal with all the parameters when the form submission happens. For instance, let's say I dynamically construct names for each drop-down along the lines of "dropdown" where is

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
I understand the JSP side of this eqation as you wrote it, although I should have said I was looking for a solution that doesn't use Struts taglibs because I try to avoid them at all costs, but that aside... I'm still unclear however on what the ActionForm does... Using this concept, do I HAVE

RE: Validator

2004-09-30 Thread Charles . Gouin-Vallerand
Hi Vinicius, An easy question, have you put the right attribute in the struts-config.xml in the actionMapping ? You need to put the xml attribute validate="true" and an input for the page you want to return if the validation throw an error. An exemple :

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
You simply need a property in your ActionForm that returns a collection of "skill" beans and used the "indexed" attribute on the tags. The "isssue" that most people have problems with is when using a "Request" scope ActionForm you need to populate your collection with the right number of skill bea

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Bill Siggelkow
Frank, Couldn't you create your elements within ? You would need to dynamically generate the name attribute using an a RTEXPR (or using html-el tags). Also, LazyActionForm might help here ... [EMAIL PROTECTED] wrote: I have an interesting situation, one that has never come up before, and I'm un

Validator

2004-09-30 Thread Vinicius Carvalho
Hi there! I've been using Struts for quite sometime, but haven't used the validator yet. So I followed the receipt provided by Struts in Action, but got no success at all. Here's what I've done Struts-config is configured for the right plugin My ActionForm extends ValidatorForm and has no valida

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Well, certainly it it works, that's what counts :) But the path should be the path that is in your struts-config file, the physical path shouldn't matter, i.e., if your JSP in in the directory structure /my/app/jsp/part1, where /my is the root of the webapp, and you submit a form to /some/bogus

timeouts

2004-09-30 Thread Lucero, Dennis M
I am setting connection timeouts in server.xml but these settings do not seem to be working. Does struts have a timeout function? I am he, as you are he, as you are me, and we are all together.

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Well. If I say document.forms[0].action="/registration/deleteRegistration.do"; it doesn't recognize as "registration" is the context root of my app and the url was resolved as http://localhost:9080/deleteRegistration.do That is why it was giving me webGroup not found error. But when I set it t

Re: Visual editors for JSP's with Struts tags

2004-09-30 Thread DGraham
Sun Java Studio Creator http://wwws.sun.com/software/products/jscreator/ M7 NitroX http://www.m7.com/topten.do Dennis "Adam Lipscombe" <[EMAIL PROTECTED]> 09/30/2004 12:36 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "'Struts Users Mailing List'" <[EMAIL

RE: Reusing methods across actions classes

2004-09-30 Thread fzlists
Writing your own Action class that extends Action and then extending that to make each class is an option. Depending on the nature of your shared code, it might be easier to just make an "ActionHelpers" class that contains a bunch of methods, maybe a bunch of static methods even, depending on

Re: J2EE versions and Struts

2004-09-30 Thread Vic Cekvenich
Servlet 2.2; ex: Tomcat 3. .V Brent Vaughn wrote: What versions of J2EE are compliant with the newest release of Struts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reusing methods across actions classes

2004-09-30 Thread Sean Schofield
It may also depend on what kind of code you are trying to reuse. If its something that is action-related (populating a form, etc.) then I would agree with Danilo's answer. If on the other hand, the code is related to business logic that is really independent of the struts portion, then I would

How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
I have an interesting situation, one that has never come up before, and I'm unsure how to deal with it... Imagine you have some records from a database representing various skills (i.e., HTML, Javascript, J2EE, etc.). Each has a SkillID associated with it. You create a JSP that lists each skil

RE: Reusing methods across actions classes

2004-09-30 Thread Danilo Gurovich
Why don't you just create an abstract action and extend it? Danilo Gurovich Manager, Web Development LowerMyBills.com [EMAIL PROTECTED] 2401 Colorado Ave., 2nd Floor Santa Monica, CA 90404 (310) 998-6412 -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread Boukovska, Danielle
I am trying to edit property "foo" below -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 5:50 PM To: [EMAIL PROTECTED] Subject: Re: Help! Iterating through nested hashmap and setting properties boukovska wrote: > Hi all > I have a problem

Re: Visual editors for JSP's with Struts tags

2004-09-30 Thread Rogue Chameleon
have a look at the myeclipse (www.myeclipseide.com) add-on to eclipse (www.eclipse.org). On Thu, 30 Sep 2004 17:36:52 +0100, Adam Lipscombe <[EMAIL PROTECTED]> wrote: > Folks, > > My graphic designer is having difficulties with the design view in > DreamWeaver looking at JSp's with struts tags.

Re: Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread Jeff Beal
boukovska wrote: Hi all I have a problem with setting the values on a hierarchy of nested properties. I have an ActionForm which has a property A of type HashMap. A is keyed on Strings, and each value of A is a Collection (ArrayList). This collection contains objects of type B. I am trying to itera

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
You shouldn't need to put the full path in, just setting the action to "deleteRegistration.do" should be sufficient (assuming it's a root path, meaning not something like "/my/app/deleteRegistration". Not sure why it wouldn't work, looking at my own code that's what I have (i.e., NOT the full p

Visual editors for JSP's with Struts tags

2004-09-30 Thread Adam Lipscombe
Folks, My graphic designer is having difficulties with the design view in DreamWeaver looking at JSp's with struts tags. We have the fwasi struts tag plugs-ins for DW. Basically it seems DW design view support for JSP/Struts is rudimentary at best, and in our case mostly doesn't work. I think

Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread boukovska
Hi all I have a problem with setting the values on a hierarchy of nested properties. I have an ActionForm which has a property A of type HashMap. A is keyed on Strings, and each value of A is a Collection (ArrayList). This collection contains objects of type B. I am trying to iterate through the ke

RE: Struts and Quartz Scheduler

2004-09-30 Thread Mick.Knutson
This works for me: web.xml QuartzInitializer com.baselogic.yoursos.scheduler.QuartzInitializerServlet 1 quartz-config.xml:

Re: J2EE versions and Struts

2004-09-30 Thread Craig McClanahan
Struts 1.2.4 remains compatible with J2EE 1.2 or later (Servlet 2.2 or later, and JSP 1.1 or later). That is unlikely to be the case for Struts 1.3, however. Craig On Thu, 30 Sep 2004 09:44:13 -0500, Brent Vaughn <[EMAIL PROTECTED]> wrote: > What versions of J2EE are compliant with the newest r

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Never mind.. I think I am really being impatient..:) I found it, its the path to the action in the JS function. Had to set it to full path..it works now Thanks anyways -Original Message- From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 11:34 AM To

RE: html error handling

2004-09-30 Thread Barnett, Brian W.
Can you show us your jsp code? -Original Message- From: Shahin Hadjikuliev [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:32 AM To: [EMAIL PROTECTED] Subject: html error handling Hi, I have jsp with tag, if an error accures its displaying only error message , I want to

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Dohh!! that was silly of me :) Thanks Frank. Nice eye. I got rid of that JS problem now but it still wouldn't recognize my action on submit. I get the following error on my console. [9/30/04 11:27:48:550 EDT] 3324009f OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/

Re: jstl and the brink of madness

2004-09-30 Thread andy wix
Hi, Thanks - requestScope.create works. I was copying from page 12 of Core JSTL - can't belive all you read! Cheers, Andy _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/ ---

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Thank you very much. I appreciate all your inputs. Nadia -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:41 AM To: [EMAIL PROTECTED] Subject: RE: Validate() vs JavaScript where is the advantage? While absolutely agree with the pre

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Found the problem! Note that you have a submit button with the NAME "submit"... This is confusing the call to the submit() method in your JS function. Change the name of the button to submit1 or something and it'll work. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Techno

Re: jstl and the brink of madness

2004-09-30 Thread Fredrik Sundberg
Try ${empty create} instead. Regards, /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: with multiple bundles?

2004-09-30 Thread Niall Pemberton
There are outstanding enhacement requests for this kind of feature: http://issues.apache.org/bugzilla/show_bug.cgi?id=7892 http://issues.apache.org/bugzilla/show_bug.cgi?id=30401 Niall - Original Message - From: "Woodchuck" <[EMAIL PROTECTED]> To: "struts" <[EMAIL PROTECTED]> Sent: Thur

Re: jstl and the brink of madness

2004-09-30 Thread Luis Urueña Frías
Hi, be careful!! Not is the same a HTTP parameter (arrives in the HTTP header or content of the HTTP procotol) like an Attribute, which is an object attached to the request, context or session Java implementation. Only parameter haven´t Java dependence If you want yor code rules try:

Re: jstl and the brink of madness

2004-09-30 Thread Duncan Mills
Shouldn't your test be: hello goodbye As you've set this as a Request attribute Regards Duncan Mills andy wix wrote: Hi, The following expression always evaluates to true even though I can see the create parameter in the request. <%@ taglib uri="jstl/c" prefix="c" %> hello goodbye I set the

RE: jstl and the brink of madness

2004-09-30 Thread Paul McCulloch
I don't think scoped attributes & parameters are the same thing. Try http://somehost/app/mypage.jsp?create=something to set a parameter. Paul > -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 30, 2004 3:59 PM > To: [EMAIL PROTECTED] > Subject: jst

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread fzlists
No argument here. Even though I've broken the rule on numerous occassion, that doesn't mean I don't agree with it :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, September 30, 2004 10:52 am, Brantley Hobbs said: > In limited, ver

jstl and the brink of madness

2004-09-30 Thread andy wix
Hi, The following expression always evaluates to true even though I can see the create parameter in the request. <%@ taglib uri="jstl/c" prefix="c" %> hello goodbye I set the parameter up in the previous action with: request.setAttribute("create","create"); Any ideas? Thanks, Andy ___

RE: with multiple bundles?

2004-09-30 Thread Woodchuck
that is a great idea! i will work with Ant to do that right away. thanks, Paul!! woodchuck --- Paul McCulloch <[EMAIL PROTECTED]> wrote: > A simple solution would be to change your build process to combine > the base > properties and the applications properties into one resource file. >

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Oops, I sent it as an attachment. I guess the mailing list doesn't take it. Anyways, below is the rendered html code from my JSP. When I click the DELETE button, the JS error comes on line 38 i.e, as marked below..Let me know if you find anything Thanks for your help http://localho

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Brantley Hobbs
In limited, very controlled environments, I can see the advantages of client-side validation, but even then I would still validate server side because all it takes is one disgruntled employee and all of a sudden your nice controlled environment is blown apart. The only way you can guarantee a secu

Struts ans JSR 168

2004-09-30 Thread Xavier Lawrence
Hi all, I am looking for a working example of a struts application where its views would be seen in JSR-168 portlets. I would like to make my struts-portlets application work on Tomcat, with pluto for example. Can anybody give me a link of a working example, or even send me some source code

J2EE versions and Struts

2004-09-30 Thread Brent Vaughn
What versions of J2EE are compliant with the newest release of Struts?

J2EE versions and Struts

2004-09-30 Thread Brent Vaughn
What versions of J2EE are compliant with the newest release of Struts?

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread fzlists
While absolutely agree with the premise that you shouldn't trust what the client sends you, I think this reponse is a little too rigid. You need to take into account the environment your working in. If your talking about a situation where your clients are captive (i.e., an internal-only applic

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Did you forget to post it? I'm not seeing it here... Remember, it's the HTML as rendered on the browser, NOT what's in your JSP. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, September 30, 2004 10:27 am, Shabada, Gnaneshwer said:

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Luis Urueña Frías
Hi! JavaScript is one more technology added to the HTTP world. This protocol was origannly designed to transmit formatted data, so Javascript is fully optional. There is only one methos to check the validity of data, by means of server validation (struts or not). Javascript validation helps be

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
OK. Here is the html code from the JSP. Let me know if I am missing anything. Thanks for your help -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 5:05 PM To: Struts Users Mailing List Subject: Re: FW: R: Detecting the previous JSP

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Brantley Hobbs
Performance is likely to be the last thing you'll be worried about if someone sneaks malicious input past your validation. Client-side form validation is just plain /wrong/! Never trust input you get back from a client. Never. Brantley > -Original Message- > From: Nadia Kunkov [mailto:

Thank you

2004-09-30 Thread fzlists
I'm not actually a new user to the list, but unfortunately from work I am forced to use a webmail client, but even more unfortunately there is a bug in the client that causes my messages to not get through to the list. So, I had to throw together a quick eMail client myself just to be able to p

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Emmanouil Batsis
There is no real validate() VS javascript question. Ideally, you have to use both. You make sure your input is valid with serverside validation and you avoid meaningless submissions and server resources with javascript. Nadia Kunkov wrote: Thanks for the replies. Have you ever noticed a performa

Re: The best pratice to developer a login system

2004-09-30 Thread Luis Urueña Frías
Hi! Most of web application´s security depends of the contanier. If you're using Tomcat exists some authentication - autoritation methods. Form based authetication is the most easy, and cliente certificate I think is very powerful. This security features (security constraints) where configure

Test

2004-09-30 Thread fzlists
Please ignore, just testing my ability to post to the list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: with multiple bundles?

2004-09-30 Thread Paul McCulloch
A simple solution would be to change your build process to combine the base properties and the applications properties into one resource file. Paul > -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 30, 2004 2:23 PM > To: struts > Subject: with m

Re: The best pratice to developer a login system

2004-09-30 Thread Sean Schofield
J2EE provides some good security options out of the box. I would look into security constraints. Sun has a nice tutorial: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security.html Sean Gabriel França Campolina wrote: Hi folks, I never developed a login system,and I'm need developer this now w

Re: ImageButtonBean & LookupDispatchAction

2004-09-30 Thread Carlos Cajina - Hotmail
Hi Ben. I see that Mike McGrady already pointed you in the right direction :^) I've tried the solution he proposes with execelent results... if you have any further questions or doubts I'll be glad to help. Regards, Carlos "Premature optimization is the root of all evil." Donald E. Knut

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Hi Adam Glad it worked out. The ActionForm is the "Struts way" of interacting with HTML forms. It is a kkey concept of the Struts framework. So, what basically happens here is that an Action CAN be tied to a FormBean, and the FormBean serves as a "layer" between your HTML form and the action. So,

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Thanks for the replies. Have you ever noticed a performance difference though? Is it significant? Nadia -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Jeff Beal Sent: Thursday, September 30, 2004 9:14 AM To: [EMAIL PROTECTED] Subject: Re: Validate() vs JavaScript wher

The best pratice to developer a login system

2004-09-30 Thread Gabriel França Campolina
Hi folks, I never developed a login system,and I'm need developer this now with autheticantion and perfis of the user, I'd like know if exists anything developed or how created a system with secury in the Struts Sorry my english, I´m Braziliam. Thanks, -- Gabriel França Campolina Tel: 920

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Vic Cekvenich
Validattor generates Javascript! (it also automaticaly does server side as an add on) .V Nadia Kunkov wrote: Hi, I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized appl

RE: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
Hi Henrik Yes that's it. I tried what you suggest and it works. Many thanks. What I was trying to avoid was storing the params in the LoginForm actionform. It seems like this approach uses the LoginForm ActionForm as a forwarding mechanism for params passed into Login.jsp. What I tried was this

with multiple bundles?

2004-09-30 Thread Woodchuck
hihi, has anyone a good way to handle displaying multiple messages that come from multiple bundles (resource files) on the jsp? how can i make my jsp handle messages that can come from more than one bundle? the reason why i need to do this is because we made a "base" application that all project

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Sachin Bhutada
Nadia, By using struts and validator framework u can show internationalized java script error messages as well. sachin -Original Message- From: Nadia Kunkov [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:35 PM To: Struts help (E-mail) Subject: Validate() vs JavaScri

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Sachin Bhutada
hi Nadia, What if the client who is accessing ur application disables the java script and keeps on hitting the server contineous ? Secondly, Using javascript its little difficult to modify the html pages. But using validate method andu can lay out ur error messages properl

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Hi Adam I might be overwhelmed by the lack of sleep, but... I can simply don't get it.. So please confirm' 1 ) You have a login.jsp and a LoginAction 2) When the submit button (or whatever) is pressed on the rendered (by login.jsp) HTML page, LoginAction is called. 3) In LoginAction, you can get

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Jeff Beal
Nadia Kunkov wrote: Hi, I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized application, but otherwise why would I have an overhead of going back to the server when I can

Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Hi, I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized application, but otherwise why would I have an overhead of going back to the server when I can do the validation

Validation of Forms in a DispatchAction ???

2004-09-30 Thread Charles . Gouin-Vallerand
Hi all, I got a problem, I want to validate several Form in a DispatchAction. But, this Action is called after a validation of an other type of form. I got a Null Exception Pointer when I validate through my DispatchAction. Somebody has an idea, how I can validate without problem. Here an e

Re: The Original Web Page Cannot Be Found (HTTP 404) After Validation is Turned On

2004-09-30 Thread Caroline Jen
I have tried /ContentMgmt.do I got the same HTTP 404 file not found error. --- Gabriel França Campolina <[EMAIL PROTECTED]> wrote: > Try put the /ContentMgmt.do > > > > > On Wed, 29 Sep 2004 12:00:31 -0700 (PDT), Caroline > Jen > <[EMAIL PROTECTED]> wrote: > > I have action mapping in the str

Re: ImageButtonBean & LookupDispatchAction

2004-09-30 Thread Michael McGrady
Michael McGrady wrote: Note, Ben, that in LookupDispatchAction we do the following: Used the mapping attirbute parameter "method" to find "Delete It" in the request object name/value parameter pair "method='Delete It'". Created a reverse map of all the keys in the application resource property

  1   2   >