You could 'roll your own' using the TimerTask class.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 16 February 2005 05:54
To: Struts Users Mailing List
Subject: Re: automatic periodic execution of code
I think Quartz has been the general consensus most times this
Hi all,
I'm looking for tutorial about security in Struts, plz help me to find them
quickly ...
thanks for advance
Anh Tuan
I tried many way, tried to change the method name but whenever i submit i
always get the error but o/p is ok
Why this is so ? Pls can anybody give me clue ? Any other workaround, i really
need it
regards
manisha
Manisha Sathe [EMAIL PROTECTED] wrote:
I am having a form with 2 submit
Thanks for the Quartz project, I'll try it. for the moment I've got my own
Thread Management system but using standard is for me a better thing.
I hope that whan I'll stop tomcat Quatrz will shutdown too in a short time.
Thx,
Cedric
- Original Message -
From: Andrew Hill [EMAIL
Hello,
I know it is not the right place but does someone make Quartz works with
Websphere???
I'm trying this since two days and I'm unable to make it worksand I
haven't find a Quartz mailing list...
If somebody has experience and can help me...TIA...
Gaet
- Original Message -
From:
I have defined the property in a second ApplicationResources.properties
file.
createTemplateKeywordsStage1Form.name.required = The name for the template
keywords is required
This file sits under a folder cm_module within the WEB-INF classes folder.
This is referenced in my
The html:javascript tag dynamically generates the function for you - you
should find that somewhere on the JSP page.
http://struts.apache.org/userGuide/struts-html.html#javascript
Niall
- Original Message -
From: Jonathan M Z [EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 11:55 PM
Hai iam doing dbcp in struts and iam getting following error
Can anyone tell what the exact error is
Bye
vijay
java.lang.ClassNotFoundException:
org.apache.struts.taglib.html.MessagesTei
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1332)
at
Hello
I've been using struts for a while now and more then once came over a
inconvenience of the bean:message tag.
As documented, the jstl (which I prefer not to use) representation is
something like
fmt:message key=my.msg.key fmt:param value=replacement text/
/fmt:message
I am particularly
A short comment:
bean:message bundle=%=bundleName% key=%=new
String(artistdetails.biography. + characteristicName%/
doesnt work, even after adding the ) that I fogot.
I always have to save the expression to a seperate String variable before.
Do you know why this is an if there is a way to
Hi,
what would be the best way to obtain a substring using taglibs and
struts...
I now there is the fn taglib in jstl1.1 but we couldn't get it to work
on struts-el 1.2.4.
any clues?
-P
--
Peter Maas
Application Architect / Streaming
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM
On Wed, 16 Feb 2005 13:29:41 +0100, Peter Maas [EMAIL PROTECTED] wrote:
what would be the best way to obtain a substring using taglibs and
struts...
I now there is the fn taglib in jstl1.1 but we couldn't get it to work
on struts-el 1.2.4.
AFAIK JSTL 1.1 is part of Servlet 2.4
This may be slightly off-topic but I'm sure others may have ran into this
issue. If I have created a CallableStatement object using a SQL string, is
there anyway to retreive that SQL string from the CallableStatement object ?
___
Chris
I agree: caching should be transparent to your code.
Using iBATIS, you can make your entire DAO layer behave that way -
each SQL statement can be cached independently, or they can be grouped
as appropriate.
That is the approach I use. I make my action classes always go to my
service layer to get
I am not seeing errors in my jsp when using
the following code. When I use the deprecated method saveErrors the error
messages are displayed. What am I doing wrong? thanks in
advance.
Scott
In my Action class I have the following
code
if(!handler.registerProduct(key)){//
key not found
BlankYou've switched to the wrong method. saveErrors(HttpServletRequest,
ActionErrors) is deprecated in favour of saveErrors(HttpServletRequest,
ActionMessages) - NOT saveMessages() - sveMessages stores messages under a
different key to errors.
Niall
- Original Message -
From:
Which DAO are you using?
.V
CRANFORD, CHRIS wrote:
This may be slightly off-topic but I'm sure others may have ran into this
issue. If I have created a CallableStatement object using a SQL string, is
there anyway to retreive that SQL string from the CallableStatement object ?
I don't know if there is an easier or more driver-independent way, but
some JDBC drivers have a debug mode that can be enabled. Sorry, I don't
have any specifics for you.
Erik
CRANFORD, CHRIS wrote:
This may be slightly off-topic but I'm sure others may have ran into this
issue. If I have
In my server config file I have a data resource jdbc/MyData and in my data
layer i call it like this.
DataSource zDataSource = (javax.sql.DataSource)zContext.lookup(jdbc/MyData);
This works, but I dont want to hardcode the jdbc name in the data class. How
and where do I put this when I am not
I concur with Erik..
The only thing I can add is to Trap the SQL Statement and store in session
variable or bean property before you do the CallableStatement.execute..that
way you can reference the string later on.
HTH,
Martin-
- Original Message -
From: Erik Weber [EMAIL PROTECTED]
To:
Check out
http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html
- Original Message -
From: Cruz, Edward J. [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Validator, Indexed Properties and error messages.
Date: Tue, 15 Feb 2005 11:03:26
There is a standard way to do this Brian, but this is not a Struts question.
This is a Struts only list.
-Original Message-
From: Brian McGovern [EMAIL PROTECTED]
Sent: Feb 16, 2005 9:23 AM
To: Struts Users Mailing List user@struts.apache.org
Subject: Calling a datasource
In my server
Depending on WHY you need the string, p6spy might solve your problem:
http://www.p6spy.com
Dennis
CRANFORD, CHRIS [EMAIL PROTECTED]
02/16/2005 07:47 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
user@struts.apache.org
cc
Subject
SQL
This may be slightly
java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
Not sure if this is anything you don't already know but your
application is having problems finding the class file that should be
located at: org.apache.struts.taglib.html.MessagesTei
FYI: That file can be found in the
The resource-ref element in your web.xml file decouples the web app from
the actual resource name (it gets mapped to whatever is specified in
your server-specific JNDI configuration). As far as I know, you'll still
need to hard-wire your app to whatever is in web.xml, but at least this
way you
I'm looking for tutorial about security in Struts...
One of the problems / strengths I noticed with Struts is that there
are so many different ways to implement various things like security
that it can sometimes be difficult to discover which is most suited to
your needs.
I'm still relatively
Thanks for the reply.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 10:34 AM
To: Struts Users Mailing List
Subject: Re: Calling a datasource
The resource-ref element in your web.xml file decouples the web app from
the actual resource
...and nowhere else.
On Wed, 16 Feb 2005 15:25:02 +, Tim Christopher
[EMAIL PROTECTED] wrote:
FYI: That file can be found in the struts.jar file - ensure this file
is present in your /WEB-INF/lib/ folder.
-
To
I am getting .tmp files written to a /temp directory in my webapp.
The names are like +~JF38289.tmp. The size of these is pretty big,
e.g. 35-65 kilobytes, and contains content relating to true type font
files.
I don't know if this is Struts related, but the Tomcat people have not
claimed this
Are you trying to configure Quartz in web.xml as a servlet or in
struts-config.xml as a struts plug-in?
We're using Tomcat, not WebSphere, but it seems like we ran into a few
issues trying to run it as a servlet. I don't remember what the issues were,
sorry.
We ended up running it as a struts
Oh dear. I heard about something similar to this first time the other
day.
JDK 1.4 has a bug that does no release resources even when you release any
Font objects.
My company has had converstaion with Sun but what they ultimately recommend
is upgrade to 1.5
Sorry, I cant provide more
I have a strange error with the Validator I think...
I have a business and home phone on 1 page that I have the validation below on.
Each number is 3 fields (area code, phone3, phone4).
When there is _NO_ business phone at all, or a partial business phone, and I
entered a fully qualified home
Thanks for the answer brian ...I will have a look at your sample
carrefully...
Yes, I'm trying to configure Quartz with Websphere using a Servletbut
I'm not sure of my Quartz.properties file to begin...:( The documentation is
very poor and not much support...maybe I will have to use it
Thanks, Mark
On Wed, 16 Feb 2005 17:07:36 +, Mark Benussi
[EMAIL PROTECTED] wrote:
Oh dear. I heard about something similar to this first time the other
day.
JDK 1.4 has a bug that does no release resources even when you release any
Font objects.
My company has had converstaion
hi folks, I am new to the list, I did some search on
my question but no luck. Is there a way that I only
receive emails related to my post?
thank you
__
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
Hi,
I'm new to the servlets/jsp/struts world so I have a question which might seem
trivial for most of you.
I want to set the value attribute of the HTML:SUBMIT/ and HTML:RESET/ tags
by taking the string from the resource bundle.
I'm developing an English/Greek web site with 2 .properties
try using gmail... organizes your email pretty well.
On Wed, 16 Feb 2005 10:06:02 -0800 (PST), Jonathan M Z
[EMAIL PROTECTED] wrote:
hi folks, I am new to the list, I did some search on
my question but no luck. Is there a way that I only
receive emails related to my post?
thank you
there's no server side configuration from the mailing
list that i can tweak?
thanks
--- Soaring Eagle [EMAIL PROTECTED] wrote:
try using gmail... organizes your email pretty well.
On Wed, 16 Feb 2005 10:06:02 -0800 (PST), Jonathan M
Z
[EMAIL PROTECTED] wrote:
hi folks, I am new to the
hi folks, I am having some problem with javascript
validation code generation.
I have the following code in my jsp(only showing the
relevant ones):
html:form onsubmit=return validateLogonForm(this)
action=/logon method=post
script language=javascript
html:javascript
there's no server side configuration from the mailing
list that i can tweak?
Definitely not.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, 16 Feb 2005 10:06:02 -0800 (PST), Jonathan M Z
[EMAIL PROTECTED] wrote:
hi folks, I am new to the list, I did some search on
my question but no luck. Is there a way that I only
receive emails related to my post?
thank you
You might try using the list via the GMane archives, which
What if you know the answer to someone's question?
.V
Jonathan M Z wrote:
hi folks, I am new to the list, I did some search on
my question but no luck. Is there a way that I only
receive emails related to my post?
thank you
__
Do you Yahoo!?
Yahoo! Mail - now
Has anyone else noticed the JavaScript function for Integer validation
does goofy things when you have a leading zero?
Try passing these number into an Integer field:
045
075
078
085
The first 2 will pass, the second 2 will fail. After looking at the
source I found out that the JavaScript
What I don't understand is why it does this. Why does the JS
validation differ from the Java validation?
JavaScript is NOT Java!! They have confusingly similar names, but they are
totally different. There's no reason to expect that the performance of one
should be similar to the performance
I think I remember reading somewhere that the Validator plugin
enforces these validations as a rule, which means the behavior should
be consistent between their JS as well as Java validation codes.
They do this to match what the Java compiler accepts, which IMO is
strange since the validation
I have several jsp's in the same folder.
They all have...
script language=JavaScript src=../includes/calendar.js/script
at the top.
but when one is used in a popup via window.open action
it does not find the .js.
I tried other paths and none work.
Where is struts going in this situation as
html:submit property=savebean:message key=global.button.save
//html:submit
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
[EMAIL
We had a possible related problem where we had two JSP pages in separate
frames that both were trying to include a common JSP include file. It
seems the compiler (Jasper since we use Tomcat), was conflicted when
trying to handle two pages simultaneously that had a common include.
Our solution was
Hi Eric... please see Ted Husted's Struts-Tips #9 #10
(http://husted.com/struts/tips/009.html /
http://husted.com/struts/tips/010.htm)
I think they might give you a hint... ;^)
Good luck!
Carlos
- Original Message -
From: Eric Lemle [EMAIL PROTECTED]
To: user@struts.apache.org
Sent:
You probably have to remove the initial double-quote:
html:link href='%= / + name + /index.jsp %'
-Original Message-
From: Pham Anh Tuan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 14, 2005 8:46 PM
To: Struts Users Mailing List
Subject: [HELP] Using scriptlet to to generate
I suggest you set this up so you can step through this in your debugger.
My theory is that somehow the association with the BeanInfo class is not
happening. That would cause the symptom you're seeing, but I don't know
how it could get into that state.
-Original Message-
From: Trevor
Thank you for your help.
Antony Joseph ajosephmi at lycos.com writes:
Check out
http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Just my 2 cents here, but isn't this an awfully awkward way of extending
validations? Tiles does it nicely by putting an extend attribute on the
tile definition, which allows sub-definitions to do overriding. I would
expect that when Struts 1.3+ allows extending on all configuration elements,
it
try html:javascript formName=logonForm dynamicJavascript=true
On Wed, 16 Feb 2005 10:39:11 -0800 (PST), Jonathan M Z
[EMAIL PROTECTED] wrote:
hi folks, I am having some problem with javascript
validation code generation.
I have the following code in my jsp(only showing the
relevant ones):
Try
in your action...
MessageResources
mr=(MessageResources)request.getAttribute(org.apache.struts.action.MESSAGE);
request.setAttribute(submitTag , mr.getMessage(submitTag ) );
//put it in the request or session or in your form bean
the in the JSP... (maybe)
bean:define id=submitTag
On Wed, 16 Feb 2005 14:19:15 -0500, Slattery, Tim - BLS
[EMAIL PROTECTED] wrote:
What I don't understand is why it does this. Why does the JS
validation differ from the Java validation?
JavaScript is NOT Java!! They have confusingly similar names, but they are
totally different. There's
We are using struts framework in our J2EE web application. In struts there is a
LabelValueBean class, is it a good practice to use LabelValueBean in our
application? For example, DAO returns a list of LabelValueBean for html drop
down?
There was an argument saying that it is not good to use
I was too fast in responding. I switched to Tiger (jre 5.0) but still
have the same behavior when I create an image using a Font object.
Did the change to 5.0 solve your companies' problem?
On Wed, 16 Feb 2005 17:07:36 +, Mark Benussi
[EMAIL PROTECTED] wrote:
Oh dear. I heard about
If the session expires and then they click on something it runs the
action and then the action tries to get some info from the session
which causes a null pointer exception. Is there anyway to have a
pre-filter rather than a post-filter to send them to the page that
says,
says ex.- 'your session
Eric Lemle wrote the following on 2/16/2005 4:22 PM:
If the session expires and then they click on something it runs the
action and then the action tries to get some info from the session
which causes a null pointer exception. Is there anyway to have a
pre-filter rather than a post-filter to send
IMO, it is not wise to have your DAO return a list of LabelValueBean objects.
I would be more likely to use a Map or a simple bean to do that
instead of marrying your DAO layer to Struts.
Larry
On Wed, 16 Feb 2005 13:17:12 -0800 (PST), Carl Smith
[EMAIL PROTECTED] wrote:
We are using struts
I want to use log4j with my struts app. Can I use the struts-config.xml to
specify log4j as an init parameter and point it to its external properties
file? Or do i have to make my own front controller servlet for that?
thanks
yes, you can.
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: 2005/02/16 4:48 PM
To: Struts Users Mailing List
Subject: log4j struts
I want to use log4j with my struts app. Can I use the struts-config.xml to
specify log4j as an init parameter and point it to its
Hi,
I am developing a software for a company using struts. What is the best
way to create the menus to navigate in the system?
JSF? Simple HTML with javascript? Tag libraries?
Thanks in advance,
Marcelo Epstein
-
To unsubscribe,
Take a look at this site:
http://struts-menu.sourceforge.net/
-Original Message-
From: Marcelo Epstein [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 5:49 PM
To: Struts Users Mailing List
Subject: Menu
Hi,
I am developing a software for a company using struts. What is
I would say,...
the LabelValueBean is just a data structure that could be in
java.util, so you could just put that class in your ejb layer if you
want.
Marrying is relative, aren't we all married to java.util anyway. If
you always have web clients it will be helpful and if not I don't think
it
You can configure Log4J from a Struts plugin, although you will get a
configuration warning when Struts starts up before the plugin fires.
Here's some init code I've used (roughly... I don't actually use init
parameters and I construct a real path from a virtual path, and I do
some other
If you do this in a ServletContextListener's contextInitialized()
method you won't get the warnings, because this fires before
ActionServlet starts up.
Craig
On Wed, 16 Feb 2005 17:27:14 -0500, Frank W. Zammetti
[EMAIL PROTECTED] wrote:
You can configure Log4J from a Struts plugin, although
I inherited a rather large Struts application a couple of months ago.
It was rather badly organized and almost no test code exists for
either the business code or Actions. One of the many problems I have
working with this code is that all the Action classes (200+) exist in
one flat package with
Cool! That warning has always bugged me a bit, but not enough to spend
any time thinking about the cause and solution. Thanks for the heads-up
Craig!
Frank
Craig McClanahan wrote:
If you do this in a ServletContextListener's contextInitialized()
method you won't get the warnings, because this
Not wrong, just a bit contradictory. ;-)
LabelValueBean is just a data structure
I agree that LabelValueBean is a simple little data structure.
Marrying is relative, aren't we all married to java.util anyway.
Major difference - java.util is core Java, Struts is not.
If you always have web
Hello,
I am building an application that will store menu options in a
database. These menu options will display on every page in the
application. I am interested in finding the most efficient way of
doing this. My options as I see them are:
1. provide a base action for the entire site (similar
Hi guys.
I'm developing a web site using struts. I want to know if there is a
tool that help me showing data, i mean, i have a database where there
is a table user. I have a query with a set of records about this table
and i want to show in a table. But I want to know if there is a tool
like
Have a look at DisplayTag
http://sourceforge.net/projects/displaytag/
/robert
Rafael Taboada wrote:
Hi guys.
I'm developing a web site using struts. I want to know if there is a
tool that help me showing data, i mean, i have a database where there
is a table user. I have a query with a set of
Its not down to Struts, since Validator is a separate project and form
ineritance (using extends) has already been put into the development
version of Validator (i.e. Validator 1.2) - so its arrival is purely
dependant on a release of that version of Validator.
Thanks Karr :)!
- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, February 17, 2005 3:13 AM
Subject: RE: [HELP] Using scriptlet to to generate a property
You probably have to remove the initial double-quote:
Hi all,
first i'd like to say sorry if someone already asked this question before, i'm
develop web app with struts and tomcat as web server +
securityfilter(securityfilter.sourceforge.net) , my problem is if someone
already login , and that user open new window browser securityfilter can't
Hari,
I'm not sure exactly what the concern is? The nature of sessions
requires that one of two options be used. 1) I can re-write all URLs
to contain a special session key. This key in the URL is then used by
the servlet container to locate and unserialize the session object
corresponding to
I have the following problem with scope and tiles. The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.
logic:iterate id=quote property=quoteValues
table
tr
td
I have the following problem with scope and tiles. The whole point of this
is to be able to put a holder around items presented in a list on the page
to give better delineation. Here is what I am attempting to do.
logic:iterate id=quote property=quoteValues
table
tr
td
Thank for you reply DW :) , what make me concern about this situation is,
owner of this project doesn't want someone could bypass security by open
new window from within the original window , so he pushed me to make it
happen
- Original Message -
From: Mr Maillist [EMAIL PROTECTED]
To:
Hai
I am new to struts I am using html:link to call a java script and
html:img src ./for displaying the images
But it's giving an error javax.servlet.jsp.JspException: Cannot create
rewrite URL: java.net.MalformedURL
Exception: You must specify exactly one of forward, href, or page
Can any one
** Be prepared, rate R **
http://hk.geocities.com/blood1213/fur.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
83 matches
Mail list logo