We are using an open source project called Quartz, available on source forge, for this
kind of thing. It has been working really well here. We register classes with a cron
style timer and at the given times the registered class is called back.
There is also mention in the documentation about
Yeah that is what we ended up doing, wrapping Quartz in a JMX bean. We had a
consultant come in and convert half our system into JMX beans. Wasn't too impressed at
first, but as time has gone by I'm becoming more and more impressed with it.
from:Nicholson, Robb [EMAIL PROTECTED]
date:
Try something along these lines:
String sql = UPDATE my_table SET some_column = ? WHERE key = ? ;
con = ds.getConnection();
ps = conn.prepareStatement(sql);
ps.setString(1, newColumValue);
ps.setInt(2, recordId);
ps.executeQuery(sql);
from:Manuel Lenz [EMAIL PROTECTED]
date:
Simple:
bean:write name=myBean property=date format=dd-MMM- /
Or taking the format from the application resources file:
bean:write name=myBean property=date formatkey=myFormat /
from:[EMAIL PROTECTED]
date:Thu, 02 Oct 2003 15:36:33
to: [EMAIL PROTECTED]
subject: Re:
If I'm not mistaken yahoo uses cookies as well to store your user information.
Therfore copying just the URL will not work.
Also using the CTRL-N thing is dependant upon the browser you use. I think that IE
will keep all the session infomation in the new window, but Netscape starts up a
What happens of the user disables javascript in their browser?
from:Madhu Nair [EMAIL PROTECTED]
date:Tue, 19 Aug 2003 07:05:01
to: [EMAIL PROTECTED]
subject: Re: Why would I want to use the ActionForm validate() method
Hi,
Why would I want to use the Struts
Can't you set the colours using a style sheet?
When we implemented out calendar one of the things we needed to do was make holiday
dates unchoosable. So I'm not allowd to make a booking on 25th Dec etc. It might be
worth thinking of some way in which you can pass in a collection of dates that
I would guess because there were bugs in SP1
try reading the release notes this will tell you!
http://edocs.bea.com/wls/docs61/notes/new.html#1078404
from:message message [EMAIL PROTECTED]
date:Fri, 08 Aug 2003 14:27:38
to: [EMAIL PROTECTED]
subject: Re: Weblogic 6 SP
Yeah, we found this too. When using WebLogic 6.1 our reset functions set all values to
null, which then left them blank on the JSP. When upgrading to WebLogic 7.0 then
suddenly were all output as null and not a blank field. Upon investigation this is
the way it should be done and was a bug
Good afternoon people!
I have been hunting through the struts documentation with out luck and was hoping that
someone could point me in the right direction?
In the back end of my system I have built a list of hash maps which I'm displaying on
the JSP using the iterate tag something like:
OK, sorry to have troubled you all, but I have got it running now. All I needed to do
was to look at the bean:write tag and learn from there! When I included:
tdhtml:checkbox name=item property=secondValue valueY//td
it all worked great!
Thanks for your time
IV
from:[EMAIL PROTECTED]
As part of the struts distribution there is a war file called struts-upload.war which
explains just this!
from:=?iso-8859-1?q?bhanu=20sistla?= [EMAIL PROTECTED]
date:Wed, 30 Jul 2003 13:10:56
to: [EMAIL PROTECTED]
subject: Re: Uploading a file to server using struts
Hi
Good afternoon,
I have just changed one of my forms to use the DynaValidatorForm and I'm not convinced
of the benifits of it!
I remove the Form with the getX() and setX() methods and also validate() and reset(),
so I have less classes floating about. But now I don't have the reset method
Sorry if this is a stupid question, but any help is much appreciated!
I have some drop down lists that I populate in my action class, which means I call
myPage.do each time. This was working nicely, until I tried adding some validation. If
this fails the action class is not called and then when
OK, another stupid question then! How do I ensure I use the same request? (Sorry my
servlet programming isn't as good as it should be! Infact all my programming isn't!)
Thanks
IV
from:Nagendra Kumar O V S [EMAIL PROTECTED]
date:Tue, 15 Jul 2003 11:19:10
to: [EMAIL
When using the client side validation, there is always a javascript pop up box that
says something along the lines of 'Your a thick b*stard, fill in xxx!' Our client
requirement is that we produce a list of errors at the top of the page, (the red UL
kinda thing), which rules out the use of
No the answer is far simpler than that! Who knows an honest salesman?
from:Simon Kelly [EMAIL PROTECTED]
date:Fri, 04 Jul 2003 09:55:35
to: [EMAIL PROTECTED]
subject: Re: Virtual [FRIDAY]
I beleive with salemen, it's all down to the strength of their grip!
Usually
Hi Brian,
I had a problem like that when I ommited the following values from my
ApplicationResources file:
errors.header = ul
errors.footer = /ul
errors.prefix = li
errors.suffix =
Once I added them it worked fine.
Regards
IV
from:Brian McSweeney [EMAIL PROTECTED]
date:
Brian,
You want to have the message key in your ActionError and struts will resolve it from
the ApplicationResources file for you. It is not something you manually need to do.
However last time I tried to return a value which was not in the ApplicationResources
file I got an exception thrown
The way I would do this would be to have a Data Access Object (DAO) class that does
your database access. The method would return a collection of Value Object. This
collection can be passed back to your page, then you can use the iterator tag to work
through the list.
from:Mark
Check this out:
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg08457.html
from:Adolfo Miguelez [EMAIL PROTECTED]
date:Thu, 05 Dec 2002 12:13:00
to: [EMAIL PROTECTED]
subject: Re: Java Server Faces stage?
Hi All,
last days I have seen, the availability of
Not sure what you mean by generate, but you could look into teh xDoclet project on
SourceForge.net
from:Juan [EMAIL PROTECTED]
date:Tue, 03 Dec 2002 09:31:09
to: [EMAIL PROTECTED]
subject: Re: Code Generator
Hello,
Is there any good code generator that generates
Haha!
This whole idea of J2EE where we have seperation of roles hasn't quite happened has
it. The idea that there are business process programmers, database programmers, front
end guys etc. In the end it's always the same person fulfilling all the roles.
On the projects that I have been on
I don't think management of a development staff was a goal
of J2EE :o)
It is separation of process and/or skill sets that Struts/MVC
provides for. Whether this happens or not is up to people,
not software... yes?
Indeed the seperation of the tasks in your project is up to
the people
Hello Struts friends,
I'm sorry that I'm going to sound stupid here, so please forgive me. I have
looked though the example and searched the archives but not found the help I
needed.
I have a form that I'm posting back to. I want to display an error message
when something goes wrong. The errors
Hmmm lets see, would this be of any use?
http://jakarta.apache.org/struts/resources/tutorials.html
theserverside.com have just put up an artice too entitled Fast Track to
Struts at:
http://www2.theserverside.com/resources/article.jsp?l=StrutsFastTrack
Have fun boys and girls!
IV
Should JRun be used at all?
IMHO, NO, NO, NO!
from:Shreyas, Kumar [EMAIL PROTECTED]
date:Tue, 08 Oct 2002 12:57:28
to: [EMAIL PROTECTED]
subject: RE: [OT] Container Wars
Should JRun be used for large projects?
-Original Message-
From: [EMAIL
At one of the companies I worked for in the past we used JRun 3 for development, then
tried to run our applications on WebLogic for deployment. One of them things to prove
that the application truely is J2EE and portable. It worked ok on JRun, but then the
number of things that needed to be
how much does it cost to hire a consultant for a day? That is where the big
money goes when projects are happening, people.
-Original Message-
From: micael [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2002 02:20
To: Struts Users Mailing List
Subject: RE: [OT] Container Wars
I am
Hi,
What do you mean my personalised? Does it say welcome user when they log in on the
home page? Or do you display messages in the users own language? Or does each user
just get a different colour scheme? Or do they see different functionality depending
upon their role? Or do they see
Isn't the answer to reconfigure you mail program to pick up the responsible headers
like [tiles] and throw the rest into the trash?
from:Michael [EMAIL PROTECTED]
date:Fri, 30 Aug 2002 15:11:04
to: [EMAIL PROTECTED]
subject: RE : RE : [FRIDAY] Official DTD Special Offer
Afternoon chaps!
My problem with starting these [topic] subject headers for our emails is that every
time a new person posts to the list you'll be going through the same hell telling them
how to format their headers correctly, (as well as how to search the archive, how to
phrase questions . .
But what do you do each time you add a new language, say German? you need to
update the database structure adding a new column? Surely any solution
should be generic enough not to need that.
Unfortunately you would need the table to look something more like:
key language value
JBuilder is just s#!*
I have been using it to build my EJB projects and it keeps on loosing information,
deleting stuff and all sorts of fun and games! I've just given up. My company makes us
develop with JBuilder as they have spent a fortune on the licenses, but all the
building is done
However, databases are generally a lot more efficient at joining tables on
integer columns than they are with VarChars. So once the user has been
looked up in the database once using the VarChar all the joins can be done
with the integer IDs easing the load on the database.
-Original
Hello again!
Another quick question on this subject, does the reset I mentioned in step 4 get
called whatever the scope of the page? I was assuming that if the page is session
scoped it will only be called the first time, but it looks to be called every time the
form is submitted?
Thanks for
Hello everybody,
I have a problem with the way in which one of my JSP pages is behaving and think that
it is down to the way we have coded the Struts Form and Action classes. So I'm trying
to sort out in my mind the sequence in which events happen when I submit a form. I
think that it follows
Why reinvent the wheel? If it has been done for you, why not use it and let
someone else have all the problems of maintaining it?
I've reecently started to use struts. I was a bit sceptical about it to
begin with, but it has proved tot be really useful. Definatley recomend
usinig it.
there is a good tutorial at;
http://rzserv2.fhnon.de/~lg002556/struts/Doku.html
if you can put aside a day or maybe two, you can get the basics all susseed
off this
-Original Message-
From: neal [mailto:[EMAIL PROTECTED]]
Sent: 19 August 2002 00:08
To: Struts Users Mailing List
You could try to look at the xDoclet project from
sourceforge.net(http://xdoclet.sourceforge.net/).
Others will be in a better position to evaluate it, as I've only been playing with it
for a few days now and found it really cool.
When developing EJB's you only need to create the Bean file.
40 matches
Mail list logo