What problems are you facing Luis ?
Luis Antonio Martinez Cuevas wrote:
hi can some one help me to change this code to Struts pelase :)
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" pr
For the sake of clarity, I'm crossposting this one message, but otherwise only
respond to this thread on the dev list. People interested in this sort of thing
should subscribe to the dev list. (Please, please, do.)
On Thu, 18 Nov 2004 11:52:07 -0800, Dakota Jack wrote:
> My discussion of Struts
Hi all,
I am sorry if this has been answered before, but the
search functionality on the mailing list is down. So
here it goes:
Does the validator plugin have support for handheld
browsers such as PocketPC or Palm? AFAIK, pocketPC
only supports JScript so this may be a problem since
all the fil
I've been quiet on this thread until now, but perhaps it's time to chime in.
First off, I have great respect for Craig and his opinions, and I think that
it's obvious that Jack also has that respect.
Secondly, I have greatly appreciated this discussion taking place on the user
list rather than
I know this is totally off-topic but I wanted to ask people who would
probably know. I am looking for an open-source personal firewall for
Windows 2000. Please do not tell me not to use Win 2K, I realize there
are much more secure OS's out there but this is what I'm going to run
for the time being.
noise: document was recived? wtf?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Return Receipt
Your help to changer a code to Struts
document
:
Return Receipt
Your examples of struts 1.2
document
:
Return Receipt
Your help to changer a code to Struts
document:
Return Receipt
Your hemlp with tags
document:
Return Receipt
Your examples of struts 1.2
document:
hi, some one has or know where to get examples of struts 1.2?
hi, can i get a value from a select tag?
hi can some one help me to change this code to Struts pelase :)
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefi
You can't use the == operator with doubles reliably. The values are
often imprecise. Due to rounding, you may be comparing
0.001 to 0, and those are not equal.
Change
if (res == 0)
to
if (Math.abs(res) <= 0.1)
You can probably just declare res as an int, also:
int res
Guillaume Cottenceau bluewin.ch> writes:
>
> Morgan writes:
>
...
> This is not a thread-safe HttpClient. Any chance the code is
> called by several threads at the same time or something?
>
It's possible that many people are hitting this Action at the same time, but if
even one gets through
Sorry this is not a struts question..more anlytical..
I have this simple program where I want to check
whether the division operation returns a whole number
or not...For this purpose I am actually checking
whether the remainder is zero..which fails for a
particular case..
Here is my program below
Hello Bryan,
this is what I did in the first place. Any chance that my changes
didn't have any effect?
Peter.
unless you download the compat package it will not run under jre less than 1.5/5
--b
On Thu, 18 Nov 2004 09:59:01 -0600, Vic <[EMAIL PROTECTED]> wrote:
5.5 needs JDK1.5 Afaik.
.V
Peter
No, couldn't find it there. But I suppose if I put my application.xml
there it will serve the same purpose, right ?
it's in conf/Catalina/localhost/ROOT.xml
but this is probably OT by now :-)
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 09:47
To:
Why is struts generating a days[10] when there are only 6 days in my
collection? Better still, why is the days index tied to the
employeeAppointments index?
<%@ page language="java"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bea
I'm sure Paul is correct here however just in case you are content to submit
the form when the checkbox is checked . you could then conditionalise the
text input field by wrapping it in c:if or logic:equals tags in which you test
the value of some form bean property to determine whether to e
At 10:14 AM -0500 11/19/04, [EMAIL PROTECTED] wrote:
I've tried this but take javascript errors saying that the static function
is undefined. Apparently, the staticJavascript.jsp is not being
compiled/seen. All my jsp's are in /WEB-INF/jsp/*.
I've tried using every combination I can think of on t
[EMAIL PROTECTED] wrote:
I've tried this but take javascript errors saying that the static function
is undefined. Apparently, the staticJavascript.jsp is not being
compiled/seen. All my jsp's are in /WEB-INF/jsp/*.
I've tried using every combination I can think of on the src= of the script
tag b
Thanks Colm
-Original Message-
From: McDonnell, Colm (MLIM) [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 16:38
To: Struts Users Mailing List
Subject: RE: Refreshing a page
So you want this "displayHelp" round trip to be available in all of your
action classes with the behaviour in ea
So you want this "displayHelp" round trip to be available in all of your
action classes with the behaviour in each case being identical, namely
set a flag and return to a named forward. If this accurately describes
your scenario then creating a BaseAction would certainly help. The
Struts wiki has a
I've tried this but take javascript errors saying that the static function
is undefined. Apparently, the staticJavascript.jsp is not being
compiled/seen. All my jsp's are in /WEB-INF/jsp/*.
I've tried using every combination I can think of on the src= of the script
tag but can't get a resolu
What you are suggesting will only work if the form is submitted after the
checkbox is checked - probably not what you or the user would expect to
happen.
I'd try and use JavaScript to achieve the same functionality on the client -
the relevant event on the checkbox field could modify the disabled
Hi,
that's something interesting. would like to know the design intent a bit more:
beside supporting scripting, what are the other use cases ?
dynamically change the functionality of an action class at run time ?
li xin
On Fri, 19 Nov 2004 12:04:46 +0100, Mario Neè <[EMAIL PROTECTED]> wrote:
>
Hi All,
I want to disable a text input if a certain checkbox input has been
checked (meaning, in the following example, that the name input need not
be filled in). My jsp code looks like this:
I an using a DynaActionForm as my form bean. Ideally I suppose I would
use an expression like:
for
Hi Colm
Yes, this is what I was thinking too but I was hoping add this functionality
to every page in our app. Doing this would involve modifing each and every
action class.
Can this be done any other way? Coudl I subclass the Action class and use
that instead of Action in all my forms?
Thanks
marc,
You might want to read
http://struts.apache.org/userGuide/configuration.html#module_config-switching
marc wrote:
Sorry for the late reply, but got sick.
But yes that is just what I what to do. And just to get the module admin
to work. Can't see admin module at all.
I only need to put some
Your button should submit the form, thereby sending you to its
associated action class.
In the action class set your flag, in the session (as per your
suggestion) or preferably in the form bean, then forward back to where
you came from.
-Original Message-
From: Donie Kelly [mailto:[EMAIL
Hi all
I'm a struts newbie and I want to add a graphic button on a page (which is
done) which, when pressed, will refresh the page and display some help for
various items.
I know how to add the help uisng logic tags etc but what I need to figure
out (I already tried searching the archives)
Mark, you can't just forward to a "module"; you have to forward to a
specific action(URL) within that module.
marc wrote:
Sorry for the late reply, but got sick.
But yes that is just what I what to do. And just to get the module admin
to work. Can't see admin module at all.
I only need to put s
Anyone can update the wiki. Sounds like it would be good if you documented
the grief you had on that page so that others could benefit.
Niall
- Original Message -
From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November
You shouldn't be calling an Action from an Action.
Action chaining is not recommended and is considered
poor practice. Action classes are an implementation of
Command pattern and as such should delegate to reusable
business components.
I would refactor your business logic embedded in Action classes
unless you download the compat package it will not run under jre less than 1.5/5
--b
On Thu, 18 Nov 2004 09:59:01 -0600, Vic <[EMAIL PROTECTED]> wrote:
> 5.5 needs JDK1.5 Afaik.
> .V
>
>
>
> Peter Neu wrote:
> > Hello everybody,
> >
> > I just switched to Tomcat 5.5 while still using the old
Need a little more information here...
Is this a Struts question?
Is this a general web application question?
Is this a Tomcat question?
Is this an application server question?
robert
> -Original Message-
> From: Nishant [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 19, 2004 7:33 AM
> Could not get the wiki's example of
>
> public class SkillActionForm extends ActionForm {
> protected List skills = new ArrayList();
>
> public List getSkills() {
> return skills;
> }
>
> public void setSkills(List skills) {
> this.skills = skills;
>
Hello David,
You are a very observant and helpful man. Your analysis of the problem was
exact and consice. I changed the DTD for the struts-config.xml and updated the
method call, and all is running as expected.
I was circumscribed by a lack of experience with Struts, but have now learned a
la
Could not get the wiki's example of
public class SkillActionForm extends ActionForm {
protected List skills = new ArrayList();
public List getSkills() {
return skills;
}
public void setSkills(List skills) {
this.skills = skills;
}
public S
Sorry for the late reply, but got sick.
But yes that is just what I what to do. And just to get the module admin
to work. Can't see admin module at all.
I only need to put something in the default modul right??
And what??
Bill Siggelkow wrote:
Well, what exactly are you trying to do? I assumed yo
You shouldn't be calling an Action from an Action.
Action chaining is not recommended and is considered
poor practice. Action classes are an implementation of
Command pattern and as such should delegate to reusable
business components.
I would refactor your business logic embedded in Action class
hi to all,
i am getting an errors as
" There is no web application configured to service your request"
while acessing my index page...
with this error index page is also coming...
thus i am confused from where this error is coming ..
Regards
Nishant Patil
Software Engineer
Cybage Softwares Pvt
Hi
I have a system with some action classes that i need to call from my action
class.
I do not have the source code of the action classes that needs to be called
and I
can not change them but I know how the actionform is suppose to look and I
want
to this serverside.
So, I have actioclass A and
[ANNOUNCE] Struts xmoon 0.6.1
http://www.xmoon.org
Download Now:
http://www.xmoon.org/download.php
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's in conf/Catalina/localhost/ROOT.xml
but this is probably OT by now :-)
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: 19 November 2004 09:47
> To: Struts Users Mailing List
> Subject: Re: URL Customization
>
>
> Do you know where to find this entry in T
Do you know where to find this entry in Tomcat 5.x ? Could not find it
in server.xml.
Just looked for it but could no find it...
Peter.
Richard schrieb:
Thanks to all. I think I can go with just transfering my webapp to the
ROOT folder. I have asked on the Tomcat User Mailing list just to
confi
Thanks to all. I think I can go with just transfering my webapp to the
ROOT folder. I have asked on the Tomcat User Mailing list just to
confirm it. Thanks again.
On Fri, 19 Nov 2004 09:25:07 -, Simon Matic Langford
<[EMAIL PROTECTED]> wrote:
> AFAIK the only way is to change you web contai
AFAIK the only way is to change you web container config to ensure your
webapp is in the root context, ie in Tomcat 4.1:
in the server.xml
if you point docBase to the directory your war unpacked to, then it
should
work fine. I don't know how it works for other containers...
simon
>
Actually you are right - it is a typo, but only in the email (in the real
files I have other names, and there are spelled right).
At 21:53 18.11.2004, you wrote:
Maybe this is just a typo but shouldn't you be using
'bundle="mymodulekey"' instead of 'bundle="mymodule"'?
Radu Badita wrote:
Hello
51 matches
Mail list logo