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
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
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
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
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
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
---
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=
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
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
--
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
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
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
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
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,
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
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
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
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:
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:
19 matches
Mail list logo