debugging in struts

2003-06-10 Thread ashwani . kalra
hi, I am not talking of any debugging tools but is there any way in which struts api is more verbose. Like some configuration param For eg I was usingit was not printing any errors, even though validation framework was returning the errors. I found that the the value of msg attribute for va

Varying number of field

2003-06-10 Thread Nadja Senoucci
Hello everyone, and again I have a question. ;) I want to create a highly flexible search form. To achieve this I want to include a button that will reload the form with more fields. Now creating this form as such won't be too difficult. However, since I haven't yet found a way to create a Action

RE: Varying number of field

2003-06-10 Thread Andrew Hill
Check out the nested form stuff. See: http://www.keyboardmonkey.com/pilotlight/index.jsp -Original Message- From: Nadja Senoucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 June 2003 15:06 To: [EMAIL PROTECTED] Subject: Varying number of field Hello everyone, and again I have a question

Re: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

2003-06-10 Thread Jason Lea
The wrong commons logging jar was included in RC2. Mentioned in a previous message (subject Re: commons-logging problem in 1.1 RC2) which clarifies the situation: My apologies. Commons Logging now comes as two separate jars, and I bundled the wrong one. I've fixed the problem on the main Apache

commons-fileupload.jar problem with rc2

2003-06-10 Thread Ben Sion
Is anyone else having this problem? I have just updgraded to rc2 and got this problem. When I replaced the commons-fileupload.jar with the version from rc1, everything works like magic. cheers Ben output from servlet log === Jun 10 19:09:02 2003: Servlet action: unable to s

Re: debugging in struts

2003-06-10 Thread Nagendra Kumar O V S
hi, u have two init params(debug & detail) defined in the web.xml which defines the debug and detail level of logging. these logs the file using log4j configuration i am not sure , if ur kind of detailed errors come here, try out by giving a high "detai

RE: debugging in struts

2003-06-10 Thread J, Sadhasivam (Cognizant)
U can specify debug attribute in your web.xml as a init param to the ActionServlet. but i don;t how far it will work out.. if u could give the correct context then i can suggest some thing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 1

Re: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

2003-06-10 Thread Bjorn T Johansen
Yes, I know that. But since I downloaded rc2 after the fixed version of rc2 had been uploaded, I assumed that this was fixed. But when I copy the rc1 version of commons-logging back, the logging works again... BTJ > The wrong commons logging jar was included in RC2. Mentioned in a > previous me

RE: debugging in struts

2003-06-10 Thread Hariharan
Hi ashwin , Even I was looking for somethign like this, I wanted to check internal working of struts I have configured log4j with a configuration file and init servlet and I shoould tell you outcome was very good,, I get to see every thing srtuts does in my server console. download log4j and con

Checkbox problem?

2003-06-10 Thread Bjorn T Johansen
I use checkboxes to input some variables in a form and as long as I insert new records, i.e. the checkbox variable gets set to false in the form's reset method, it works fine. But when I, say, edit the same record (and propagate the values of the form in the reset method), I never can uncheck the c

RE: Call action from link

2003-06-10 Thread Steve Raeburn
You have defined your action as /inventory. This path is a context relative path so you should be linking to it with something like ... What you have done to link to /mycontext/CSSMasters/inventory.do because you've used a link relative to your page. That's why it can't be found. To avoid having

RE: log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

2003-06-10 Thread Steve Raeburn
As Martin mentioned, it may take a while for the mirror sites to get the update. You can download the latest commons-logging release yourself from http://jakarta.apache.org/site/binindex.cgi. Make sure you use the correct jar ;-) Steve > -Original Message- > From: Bjorn T Johansen [mailt

RE: [OT] dom - createElement("textarea") cannot invoke javascript

2003-06-10 Thread Vijay Pawar
Hi Andrew Thank you very much for your help. It worked ! your are marvelous :0)~ well now i wish to pass some parameters to the function. ie instead of invoking alert i wish to invoke my function :- function show_text_win(obj, title){ myobj=obj; qstr= escape(obj.value);

RE: Varying number of field

2003-06-10 Thread Nadja Senoucci
> Check out the nested form stuff. > See: http://www.keyboardmonkey.com/pilotlight/index.jsp Thanks, that is kind of a sweet tutorial - but unfortunately it didn't really answer my question (I think it doesn't anyway, might be that I just don't see it). My problem is not display the form but writi

Re: Varying number of field

2003-06-10 Thread Nadja Senoucci
Hello again, concerning this problem: Do you need to define all your fields as parameters in the strits-config.xml with Dynaforms? Otherwise I might just be able to overwrite the set-method - if that can be done and I can find out how the set-method is actually called in Dynaforms... ;) The parame

Re: Problem with Logic:Iterate

2003-06-10 Thread Alen Ribic
I know that this is an old post, but I had a same problem last night, so I thought I feedback on what my problem was. in my action class... ... request.setAttribute("productList", productList); // bean list ... in my Logic:Iterate, I got a "javax.servlet.ServletException: No bean found..." It wa

Struts / JSF

2003-06-10 Thread Alen Ribic
Hi all Do you see future in JSF over frameworks such as Struts? How different are the two in reality? --Alen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Java Server Faces source code

2003-06-10 Thread Rahul
Does any one has a clue if the source code for Java Server Faces available for download ? TIA, ~rahul

Problem with ExpressionEvaluatorManager in a custom jstl tag

2003-06-10 Thread Dom
Hi I've created a tag using rt expression without trouble. I 've created the same tag using jstl : in doEndTag(), I call ExpressionEvaluatorManager.evaluate with the right parameters, but running it, i get (in a try catch): 2003-06-10 11:19:59,963 ERROR [org.jboss.web.localhost.Engine] Applicati

need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Hi All, Greetings!!! I am the newest member on this list. I am trying to setup the Struts (ver 1.0.1) using Tomcat 3.2.4 and following the tutorial at address: http://javaboutique.internet.com/tutorials/Struts/ I am facing the following issue: On clicking submit on my JSP(submit.jsp), i am gett

Errata: need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Please note that the SubmitAction is in the package package hansen.playground; thus the class should be : Start-- package hansen.playground; import javax.servlet.http.*; import org.apache.struts.action.*; public final class SubmitAction extends Action { publi

RE: Errata: need help.. "no action instance" issue

2003-06-10 Thread Kazda Juraj
Hi. If you cut&paste your struts-config.xml, you have a typo in the element where the full class name has "playgound" instead of "playground"... -j. -Original Message- From: Rajat Nayer [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 11:50 AM To: Struts Users Mailing List Sub

RE: Errata: need help.. "no action instance" issue

2003-06-10 Thread Rajat Nayer
Hi Kazda, Thanks a ton !! I just couldnt see that one there. it works now as it should. -R --- Kazda Juraj <[EMAIL PROTECTED]> wrote: > Hi. > > If you cut&paste your struts-config.xml, you have a > typo in the ... type="..."> element where the full class name > has "playgound" > instead of "pla

RE: Struts / JSF

2003-06-10 Thread Robert Taylor
Alen, this topic has been discussed quite a bit on the list. The short answer is that they are complementary frameworks. You can probably find what your looking for by searching the archives. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ robert > -Original Message- > From:

Bean:message & logic:present

2003-06-10 Thread Le Goff, Yoann
Title: Message I cannot use logic:present or logic:equal tags  to test bean:message content ...Do you have any idea ?Y. Ce message, ainsi que tous les fichiers joints est destiné aux seules personnes dont le nom est

Re: Struts / JSF

2003-06-10 Thread Alen Ribic
thanks Robert I will look through the mailing list archive. --Alen - Original Message - From: "Robert Taylor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 12:59 PM Subject: RE: Struts / JSF > Alen, this topic has been discussed qui

Struts help

2003-06-10 Thread bhanu sistla
HI all, I am totally news to struts. can i get good examples. i want examples based on html.tld, bean.tld etc Thanks in advance Bhanu - Yahoo! Plus - For a better Internet experience

and

2003-06-10 Thread Nadja Senoucci
Hello again, I am currently testing around with the above named tags (in order to get around my earlier discribed problem sooner or later) and I don't think I quite understand what happens when you set indexed=true for text fields. I have this little bit of code in my .jsp: And it seem

Re: Struts help

2003-06-10 Thread Paul Curren
Howdy, For the level of information you are after, you need look no further than the struts-example web app that comes with the Struts download. Cheers, Paul C bhanu sistla wrote: HI all, I am totally news to struts. can i get good examples. i want examples based on html.tld, bean.tld etc...

Re: Problem with ExpressionEvaluatorManager in a custom jstl tag

2003-06-10 Thread Vic Cekvenich
Please post on another mail list, JSPTags or JSP. .V Dom wrote: Hi I've created a tag using rt expression without trouble. I 've created the same tag using jstl : in doEndTag(), I call ExpressionEvaluatorManager.evaluate with the right parameters, but running it, i get (in a try catch): 2003-06-

RE: Problem with ExpressionEvaluatorManager in a custom jstl tag

2003-06-10 Thread Menke, John
Did you implement the tag by following the EL examples in the struts-contrib source code? -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 7:33 AM To: [EMAIL PROTECTED] Subject: Re: Problem with ExpressionEvaluatorManager in a custom jstl tag

RE: and

2003-06-10 Thread shirishchandra.sakhare
Try using name="element" in html:text along with indexed tag.. I think you have to make available the element bean to html:text tag... -Original Message- From: Nadja Senoucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 1:23 PM To: [EMAIL PROTECTED] Subject: and Hello again,

RE: and

2003-06-10 Thread Nadja Senoucci
> Try using name="element" in html:text along with indexed tag.. > > I think you have to make available the element bean to html:text tag... If I do that (tried it out) I will have to create a whole bean around this because it is asking for get-/set-methods in that bean now. And I still don't know

Antwort: Checkbox problem?

2003-06-10 Thread Manuel Lenz
The reset-method is called if you are submitting from a jsp-page. You must check the browser request, if a value exists. If a value is missing, the user has unchecked the box, so you can set the record to false. Cheers, Manuel |-+> | |

RE: Why is dbcp / pool removed?

2003-06-10 Thread Ed Yu
Actually, the recommended way is to use JNDI to accquire a data source from the container. Most container supports it. -Original Message- From: Kruse, Matt [mailto:[EMAIL PROTECTED] Sent: Tue 06/10/2003 0:49 To: '[EMAIL PROTECTED] ' Cc:

Populating Drop-down

2003-06-10 Thread Sinclair, Mark
I am a newbie to struts. This is a simple question and is not totally specific to Struts but is related to the best way to use struts. I am trying to find out what is the recommended approach for populate drop-downs, lists etc? For example say from a simple Logon page I forward to a Supplier Li

Re: Checkbox problem?

2003-06-10 Thread James Mitchell
Can you describe what's going on in more detail? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Bjorn T Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 4:26 AM Subject: Checkbox problem?

RE: [OT] Java Server Faces source code

2003-06-10 Thread James Holmes
The source code is not available to my knowledge, but there was a thread on the JavaServer Faces forum about decompiling the classes to get the source. You can find a link to the forum on my JavaServer Faces page: http://www.jamesholmes.com/JavaServerFaces/ -James Struts Console http://www.james

RE: Populating Drop-down

2003-06-10 Thread shirishchandra.sakhare
This is what I have found works best. On the form have a ArrayList of the dropDown elements you want. And in the action, when preparing the data, get THE list from DB and populate it in form.There is something called LabelValueBean in stuts or Scaffold packaage if you want to use label value app

Re: Populating Drop-down

2003-06-10 Thread ian_d_stewart
I don't know if it's a best practice or not, but what I do is have the link to the edit screen actually point to an action, which is responsible for initializing any related collections and storing them in session-scoped attributes. A related approach would be to use the tag to check for the co

RE: Struts / JSF

2003-06-10 Thread James Holmes
There's been a fair amount of discussion of this lately on the Struts dev thread. I believe the thread was called "Struts What's Next" or something similar. If you're not subscribed to the dev list you can view the messages with one of the archives: http://nagoya.apache.org/eyebrowse/SummarizeLis

html link and popup

2003-06-10 Thread meissa . Sakho
hi all, My html link tag below works perfectly. But I would like this result page to be opened in a popup window. Has someone tried to do something like that ? thanks in advance Meissa L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre ten

RE: html link and popup

2003-06-10 Thread Mike Jasnowski
Setting the target attribute to "_blank" will open a link in a new window. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 8:56 AM To: [EMAIL PROTECTED] Subject: html link and popup hi all, My html link tag below works perfectly. But

Re: Struts / JSF

2003-06-10 Thread Alen Ribic
thanks James for your reply. I have visited your resource, links, for JSF on your site. (Very helpful, thx) I'll search through the dev mail list archive for the post you mentioned. --Alen - Original Message - From: "James Holmes" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[

Re: Bean:message & logic:present

2003-06-10 Thread James Mitchell
I'm not sure what the use case for this is. The only thing I can come up with is site customization where something is displayed only IF some key was set in the bundle. I would recommend you test for that in your action and set some flag on the form bean. Unless I'm wrong, there isn't really a c

Re: need help.. "no action instance" issue

2003-06-10 Thread James Mitchell
The minimum support for the Tomcat container is 3.3. Is there a reason you chose 3.2? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Rajat Nayer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 5:

Re: commons-fileupload.jar problem with rc2

2003-06-10 Thread Martin Cooper
It's possible that your container has its own copy of FileUpload, and that it uses an older version than the one bundles with Struts 1.1-rc2. That version may be being picked up instead of the later one. Check your webapp classpath, and make sure your own webapp is picking up the Struts one, and no

RE: [OT] Tomcat 4.0 and JSP page over 64k

2003-06-10 Thread Mark Galbreath
I broke a very complex form into constituent parts and used s to incorporate them into the final output and it works fine. Mark -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:24 PM To: Struts Users Mailing List Subject: [OT] Tomcat 4.0 and JS

Logic:iterate

2003-06-10 Thread Sashi Ravipati
i have the following code in my .jsp in my action form I have private String[] FirstName={}; private String[] iterator={"",""}; // For testing i initialised to 2 values public String[] getFirst

RE: Why is dbcp / pool removed?

2003-06-10 Thread David Graham
>Isn't GenericDataSource deprecated? >Yes, it will be removed in 1.2 but is included in >1.1 for backward compatibility. The one included is not the same as what is in RC1, though, correct? I'm just trying to figure out exactly what is changed and what I need to start experimenting with... I'm not

Re: Logic:iterate

2003-06-10 Thread James Mitchell
This is because "row" is defined on the page as a String. (getIterator() returns an array of String) Based on the jsp snippet you've provided, I'm not understanding what you are trying to do. Can you explain further? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlan

RE: Checkbox problem?

2003-06-10 Thread Kandi Potter
I would suggest not doing the propagate in the reset. Just use it for the original values. The values entered on the form are automatically propagated by struts after the reset by the setters and getters. Just put in some logging or print statements in those methods and you will see when t

RE: Why is dbcp / pool removed?

2003-06-10 Thread Bradley M. Handy
I use a data persistence library called "Hibernate" (http://hibernate.bluemars.net). Hibernate comes with two connection pooling libraries: (1) DBCP, which I haven't used, because I didn't want to do the extra configuration, and (2) it's own home grown pooling library called c3p0. I've just

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
I have a situation of MULTIPLE HTML ELEMENTS WITH THE SAME NAME. So I would like to know is how to repopulate multiple html elements which have the same name. Also I am not aware of the count of HTML elements I will have as it can be 1 or many. In the code I sent I took an example of one HTML

RE: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released

2003-06-10 Thread Mike Ash
I agree, thanks for making our lives easier. Go have a beer or something! -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 6:45 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released Of course: Thanks ver

passing parameters in a popup function via html link

2003-06-10 Thread meissa . Sakho
When I call a popup fucntion in the onclick attribute from the html link tag. I see a blank page. here is my code : below the editUrl scriplet <% String editUrl="/editArticle.do?codeArticle="+code; %> the popup functio

Reasonable to use EJBs for validation in ActionForm validate method?

2003-06-10 Thread Aaron Robinson
For validation that can only be done against the database, should this go in the validate method or in the execute method? For example checking that a customer doesn't alerady exist before inserting it, or checking that a user has entered a valid address before the execute method is called to t

RE: Populating Drop-down

2003-06-10 Thread Poon, Johnny
Mark, I'm glad you asked the question, caz' I was wondering about the same thing. I'm using label/value. This is what I'm doing. I'm populating a form bean with a vector of label/value option pairs within an Action and store in the request. I then forward it to the targeted JSP, and the and t

Virus warning

2003-06-10 Thread Kevin Robair
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 pa

Re: Virus warning

2003-06-10 Thread Adolfo Miguelez
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 Ju

RE: On failed validation, trouble with form

2003-06-10 Thread Kandi Potter
I have done something similar but in the case of failed validation I return to the same form for error correction. My drop-downs are populated in the doGet in the Action class. After getting the values from the business class, I save them in the session, just to avoid going back to the db eac

Re: Reasonable to use EJBs for validation in ActionForm validate method?

2003-06-10 Thread David Graham
For validation that can only be done against the database, should this go in the validate method or in the execute method? I usually do it in execute() and keep basic validations in the Validator framework. For example checking that a customer doesn't alerady exist before inserting it, or check

Re: Virus warning

2003-06-10 Thread Robert Kovacs
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

RE: Populating Drop-down

2003-06-10 Thread Kandi Potter
Hi Johnny, I'm also using label/value vectors.I don't hard-code the form-name. Here are some code snippets: ... action class just uses the formbean passed as a parameter. Struts will

RE: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released

2003-06-10 Thread Kandi Potter
+1 -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:50 AM To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released I agree, thanks for making our lives easier. Go have a beer or something! -Origin

RE: Virus warning

2003-06-10 Thread Brandon Goodin
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" <[EMA

RE: Checkbox problem?

2003-06-10 Thread Kamholz, Keith (corp-staff) USX
I had some issues with the methods, so I came up with something else that works very nicely. In the JSP, right after the code for the checkbox, use: This allows the form submission to work correctly, without any messy code. However, I am no expert with this stuff, so if there is any reason not t

Another problem with logic:iterate

2003-06-10 Thread Nadja Senoucci
Hello, this seems to be my day of problems. ;) Anyway, I have this code in my .jsp: And I keep getting the following error: Generated servlet error: suchen$jsp.java:231: Variable 'fields' is already defined in this method. java.util.ArrayList fields = null; But I am not declaring t

access ResultList object - helper bean - downstream (ARTIMUS)

2003-06-10 Thread douglas reames
Morning all, I am attempting to extend ARTIMUS to see how I might 'architect' a struts app that gives the user output alternatives: wap, excel spreadsheet, pdf... The ActionMapping (comes straight from the ARTIMUS mapping for RenderRss) IS: [1] How do I save a helper

RE: Why is dbcp / pool removed?

2003-06-10 Thread Jerry Jalenak
Is there a list of the problems that DBCP has? I've started using the BasicDataSource in some of my applications, and am wondering if some of the really wierd behaviour I'm seeing is due to the problems that DBCP has Thanks. Jerry Jalenak Team Lead, Web Publishing LabOne, Inc. 10101 Renner B

Re: Another problem with logic:iterate

2003-06-10 Thread James Mitchell
On Tuesday 10 June 2003 10:42, Nadja Senoucci wrote: > Hello, > > this seems to be my day of problems. ;) Anyway, I have this code in my > .jsp: > > > type="java.util.ArrayList"/> > type="java.util.ArrayList"/> > > > > > > > > > > > And I keep getting the following error: > > Generated

RE: Virus warning

2003-06-10 Thread David Bolsover
Moral: Keep you AV software up to date! db -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: 10 June 2003 15:45 To: Struts Users Mailing List Subject: RE: Virus warning me too. Brandon Goodin -Original Message- From: Robert Kovacs [mailto:[EMAIL PROTECTED

Re: [ANNOUNCEMENT] Struts 1.1 Release Candidate 2 released

2003-06-10 Thread Tim Shadel
Well said. Great work you guys. We appreciate using such an excellent product. Enjoy the praises for this at JavaOne! :-) Tim -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 6:45 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] Struts 1

RE: Problem Statement for some standard e-Biz requirmentsf

2003-06-10 Thread Navjot Singh
hi sadhas, I am not a kind of geek but i guess i understand what you intend to do. May be me views are totally wrong but this is what i think i.e simple. 1. For intercepting uris with customer format and then forward If we don't underestimate the power of FilterServlet, Can't we use them? 2.

RE: Populating Drop-down

2003-06-10 Thread Poon, Johnny
Hi Kandi, Thanks for the post. I'm pretty new to actually using strut, I understand you mentioned Struts will look for the bean in request scope and use it if it exists, but I guess I'm not sure if I get where you actually do the dropdown form population and which part is actually putting the pop

RE: Problem with ExpressionEvaluatorManager in a custom jstl tag

2003-06-10 Thread Karr, David
First of all, you'll get better luck asking this on the "taglibs-user" list. I'm assuming you have the call to EEM in a try/catch, and you're not seeing an exception there, which would indicate that EEM is throwing a RuntimeException subclass. You might temporarily add a catch for that so you c

RE: formtag error

2003-06-10 Thread Karr, David
Try adding the "load-on-startup" element to your "22ban" servlet (this is normally called "action", by convention). > -Original Message- > From: Richard Raquepo [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 11:05 PM > To: Struts Users Mailing List > Subject: Re: formtag error >

RE: Why is dbcp / pool removed?

2003-06-10 Thread David Graham
Is there a list of the problems that DBCP has? I've started using the BasicDataSource in some of my applications, and am wondering if some of the really wierd behaviour I'm seeing is due to the problems that DBCP has Search bugzilla for open problem tickets. David Thanks. Jerry Jalenak Team

RE: Virus warning

2003-06-10 Thread Paananen, Tero
> Moral: Keep you AV software up to date! Moral: Avoid using buggy MS products -TPP <- hypocrite (posts with Outlook) - This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention,

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
This is similar to what I am trying to accomplish http://www.scioworks.net/devnews/strutsDistilled/updates/update-030401/indexedAttr.html Thanks >>> [EMAIL PROTECTED] 06/10/03 09:43AM >>> This is because "row" is defined on the page as a String. (getIterator() returns an array of String) Based

RE: multiple HTML form elements with the same name

2003-06-10 Thread Sashi Ravipati
This is similar to what I am trying to accomplish http://www.scioworks.net/devnews/strutsDistilled/updates/update-030401/indexedAttr.html In here he talk abt indexed properties . Could not understand what he is trying to do here You form bean class will look like this: public class MyFormBean ex

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
In here he talk abt indexed properties . Could not understand You form bean class will look like this: public class MyFormBean extends ActionForm { private List fPersonList; public List getPersonList() { ... } public void getPerson(int index) { ... } } Thanks >>> [EMAIL PROTECTED] 06/10/

RE: Why is dbcp / pool removed?

2003-06-10 Thread Kruse, Matt
> >The one included is not the same as what is in RC1, though, > >correct? > I'm not sure what Ted changed but you may be correct that > it's not exactly > the same. You can still use DBCP, Struts just won't > distribute it any more. If I move away from DBCP and try to use just the features

RC2 requiredif validation rule syntax change

2003-06-10 Thread Kevin Robair
FYI: While testing my app with RC2, I noticed this: In RC1, the requiredif validator rule used these tags: field-test[n] field-value[n] field-join[n] In RC2, it uses: fieldValue[n] fieldTest[n] fieldJoin[n] If you are getting a reflection error / null pointer exception, this is why. -Kevin

What are "indexed" struts-html tags and how to use them?

2003-06-10 Thread Sashi Ravipati
Can somebody explain how these work, or is there any example of this. Thanks

RE: Why is dbcp / pool removed?

2003-06-10 Thread Ed Yu
You are better off using JNDI lookup to get the datasource. This is suppose to be universal (Tomcat and Jrun seems to work identical) although I've found a couple of differences among containers. ^^ Ed Yu, Senior Solutions Archit

Null value

2003-06-10 Thread Jason Meredith
Chaps In my form actions I validate a number of fields, when an error message is returned the words "null" appear along side the error message i.e Null "Please enter your name" Null Regards Jason Meredith *** The e-mail and an

RE: Populating Drop-down

2003-06-10 Thread Kandi Potter
I'm also pretty new to struts and java servlet programming; but you know what they say, do it, make it work, and then finetune it. Here is a sample of how I did the dropdowns. I didn't worry too much about the background stuff that struts did as long as I got the results. I was happy to h

RE: What are "indexed" struts-html tags and how to use them?

2003-06-10 Thread Karr, David
I wrote a long FAQ description in the documentation about this, and I'm still not sure I can adequately answer this question, as it can be somewhat confusing. You could read that at < http://jakarta.apache.org/struts/faqs/index.html>. Select the "indexed properties" link. Basically, you use inde

RE: Null value

2003-06-10 Thread Kandi Potter
put these 2 lines in your properties file: errors.header = errors.footer = -Original Message- From: Jason Meredith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 11:44 AM To: Struts Users Mailing List Subject: Null value Chaps In my form actions I validate a number of fields, w

RE: What are "indexed" struts-html tags and how to use them?

2003-06-10 Thread Sashi Ravipati
I want to accomplish something which is similar to what is shown in the example http://www.scioworks.net/devnews/strutsDistilled/updates/update-030401/indexedAttr.html In here he talk abt indexed properties . Could not understand what he is trying to do here You form bean class will look like th

RE: Null value

2003-06-10 Thread Jason Meredith
Kandi Excellent, thank you very much. Regards Jason Meredith |+--> || "Kandi Potter" | || <[EMAIL PROTECTED]| || GSC.GC.CA> | || | || 10/06/2003 16:51| |

Validating search box's

2003-06-10 Thread Jason Meredith
I have a search facility that returns records from a database. There are 9 fields to search from, at least one field has to pass a value in order to return records, but it can be anyone of them. How would I create an Action Error for this scenario? I need to throw an error to alert the user that

Re: Why is dbcp / pool removed?

2003-06-10 Thread Erik Price
Ed Yu wrote: You are better off using JNDI lookup to get the datasource. This is suppose to be universal (Tomcat and Jrun seems to work identical) although I've found a couple of differences among containers. Do you know of a decent how-to document on designs to use this method rather than direc

Best practive for presenting a search result to a user

2003-06-10 Thread Marc BEGUIGNEAU
Hello, I would like to know what is for you the best practice to present to a user the result of a db query (a ResultSet variable)? If, you can take some example of your suggestion, it will help me to understand... thank you in advance regards Marc

Re: Best practive for presenting a search result to a user

2003-06-10 Thread Dan Tran
http://edhill.its.uiowa.edu/display/ ? - Original Message - From: "Marc BEGUIGNEAU" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:14 AM Subject: Best practive for presenting a search result to a user > Hello, > > I would like to know what is for you the best

Re: Call action from link

2003-06-10 Thread Darrell
I am not sure the syntax of this html:link is correct, because it does not allow me to click the image as though it's a hyperlink? What am I missing?? Steve Raeburn wrote: You have defined your action as /inventory. This path is a context relative path so you should be linking to it with so

Re: Why is dbcp / pool removed?

2003-06-10 Thread David Graham
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html David Ed Yu wrote: You are better off using JNDI lookup to get the datasource. This is suppose to be universal (Tomcat and Jrun seems to work identical) although I've found a couple of differences among containers

Tiles and web.xml error-page declarations

2003-06-10 Thread Aaron Robinson
I want to set my webapp up to send all http errors and IO, Servlet and RuntimeExceptions to a generic error handling servlet. Are there any implication when using Tiles with this approach? _ It's fast, it's easy and it's free. Get M

[OT] Application Security

2003-06-10 Thread Denis Avdic
Hello, This is really off topic, but since everyone is working in similar conditions I though I'd ask you all a question. How is everyone handling security in your applications? More specifically, we have a site where someone violated our acceptable use policy and basically tried to retrieve a

  1   2   >