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

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: 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

Problems with data-sources

2005-06-05 Thread peceka
Hi, My simple aplication: register1.jsp register.do: (from struts-config.xml): action path=/actions/register1 type=my.domain.RegisterAction1 forward name=success path=/WEB-INF/results/results1.jsp/ and results1.jsp It works. But

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

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 user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: Regarding All Date:

Re: Problems with data-sources

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: user@struts.apache.org Sent: Sunday, June 05, 2005 11:15 AM Subject: Problems with data-sources Hi, My

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: ul html:messages id=errmsgs libean:message name=errmsgs//li /html:messages /ul I should have used a bean:write name=errmsgs/ tag instead. I think the bean:mesage tag

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

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

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 !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN 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

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 bean:display but bean:message key=PutFullyQualfiedNameOfKeyHere

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: form name=userForm field property=email depends=email arg0 key=userForm.email/ /field /form which I've copied straight from the struts tutorial that validates an e-mail address.

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

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

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 c:forEach tag. Vijaya -Original Message- From: raja buddha [mailto:[EMAIL PROTECTED] Sent: Sunday, June 05, 2005 9:38 AM To:

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 user@struts.apache.org Sent: Friday, June 03, 2005 6:06 PM Subject: Re: Problem using indexed

select box with lot of options. Need help.

2005-06-05 Thread senthil Kumar
Hi all., I have a select box with lot of options. I want to add a selected options with another select 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