Re: box with lot of . Need help.

2005-06-05 Thread Nitesh
Looks like a Javascript problem... try this script... hope it helps. function addMapping(objSourceElement, objTargetElement) { if (objSourceElement.selectedIndex == -1) { alert("Please select the tasks from the Available Tasks"); return; } var objectsToRemove = new Array(); f

box with lot of . Need help.

2005-06-05 Thread senthil Kumar
Hi all., I have a box with lot of . I want to add a selected with another box once click a add button. Now i can add one by one.But once i selected more than one options, still it is adding one, remaining all are deleted. I want add to another select box once selected more than one opti

Re: Problem using indexed properties and validator framework (fixed)

2005-06-05 Thread Nitesh
Thanks for all the help John. I could work it out tweaking on your solution. Regards, Nitesh - Original Message - From: "John Fitzpatrick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem using indexed properties and validato

RE: Regarding All

2005-06-05 Thread Vijaya S
In your action, store the result set in a bean of request or session scope depending on your requirement. Use the bean in your jsp to display the results using tag. Vijaya -Original Message- From: raja buddha [mailto:[EMAIL PROTECTED] Sent: Sunday, June 05, 2005 9:38 AM To: user@struts.a

RE: Problems with tiles

2005-06-05 Thread David G. Friedman
Luke, Your settings look normal. I've checked the 1.2.4 code relating to your error and somehow the struts initialization isn't loading or loading correctly. Have you turned on any sort of debugging and can show the webapp startup messages? Have you done any logging in your class to prove it i

Re: Validator html:errors returns null for {0}

2005-06-05 Thread Titus Barik
Titus Barik wrote: But when I type an invalid e-mail address, in html:errors I always get: null is an invalid e-mail address. Figured it out. arg0 key refers to the key in the Properties file. -- Titus Barik ([EMAIL PROTECTED]) http://www.barik.net ---

Validator html:errors returns null for {0}

2005-06-05 Thread Titus Barik
Hi all, I'm trying to use the ValidatorForm feature of struts. I have a validation.xml: which I've copied straight from the struts tutorial that validates an e-mail address. I have a JSP page: <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib uri=

Re: help with messages using bean on jsp

2005-06-05 Thread Martin Gainty
Tony- This is ok if you dont want to use locale-specific resource strings (you just want to display the non-locale specific string) If you do want to use locale-specific resource strings (from your resource bundle) I would not use key="PutFullyQualfiedNameOfKeyHere" /> All the same I'm glad the

Re: What does it mean?

2005-06-05 Thread Martin Gainty
Andy- More than likely the DTD you are using is messed up (in your web.xml) try http://java.sun.com/dtd/web-app_2_2.dtd";> feel free to email offline as this is decidedly 'off-topic' (altho its sunday and most folks arent working we should still be respectful of being on topic) HTH- Martin --

Re: What does it mean?

2005-06-05 Thread Adam Hardy
It means you're on the wrong mailing list ;) Taking a wild guess, I'd say you have a problem with the tag library definitions for JSTL (tld's). Depending on what version of tomcat (or rather, what servlet spec), you may have to put entries in your web.xml. Or you may be having problems accessi

Re: Avoiding attacking server

2005-06-05 Thread Adam Hardy
If you really want to do it programmatically in your app you would have to write a filter which caches the IP addresses of the incoming requests. Check out any example filter you can find (they're normally quite basic) and configure it according to the docs on the tomcat site - it's standard j2

Re: help with messages using bean on jsp

2005-06-05 Thread Tony Dahbura
All: Figured out the problem: My JSP page was trying to display the messages using the following code: I should have used a tag instead. I think the tag was trying to lookup the message as the key to a message rather than just displaying the message? Thanks, Ton

Re: Problems with

2005-06-05 Thread Martin Gainty
Peceka Looks like something simple like localhost isnt defined in your hosts file What do the tomcat logs say?? Martin- - Original Message - From: "peceka" <[EMAIL PROTECTED]> To: Sent: Sunday, June 05, 2005 11:15 AM Subject: Problems with Hi, My simple aplication: register1.jsp re

Re: Regarding All

2005-06-05 Thread raja buddha
HI Deepak, If you have code can you please send me. It will be great help for me Thanks in advance Prem From: Kumar deepak <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Regarding All Date: Sat, 4 Jun 2005 22:30:02 -0700 (PDT) Hi,

What does it mean?

2005-06-05 Thread lk
Hi, I got the following error: Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/tlds/sql.tld: (line 3, col 8): Document is invalid: no grammar found. I'm using MyEclipseIde 3.8.4 on Eclipse 3.0.2 (linux). I get that exception many times during the running of my appl

Problems with

2005-06-05 Thread peceka
Hi, My simple aplication: register1.jsp register.do: (from struts-config.xml): and results1.jsp It works. But when i add to my struts-config.xml: My application doesn't work. With my brwoser I go to register1.jsp then submit my form and

RE: Avoiding attacking server

2005-06-05 Thread Mark Benussi
Is it possible to set this in any other way as I don't have access to my httpd.conf with my current hosts. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 05 June 2005 14:58 To: Struts Users Mailing List Subject: Re: Avoiding attacking server set your MaxClients di

Re: Avoiding attacking server

2005-06-05 Thread Martin Gainty
set your MaxClients directive (max number of simultaneously connected clients) in your httpd.conf Take a look at http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-apache-config.html Anyone else ??? Martin- - Original Message - From: "John Plate" <[EMAIL PROTECTED]> To:

Re: Problems with tiles

2005-06-05 Thread lk
David G. Friedman wrote: Luke, Can you include some of the code for your TilesRequestProcessor subclass as well as how you initialize it in your struts-config.xml (or modules) ? Regards, David -Original Message- Sure! The CustomRequestProcessor is taken from a book by Mike Robinson: