Hello Struts Gurus,
I am facing an issue in my application where I need to run a database
creation script, and a database import script through the web (running
bat files on the server). I can run these files fine, but they take a
few minutes to run...
How can I tell the user when they have
hello all,
i am currently trying to move my Struts 1.0 application to Struts 1.1. What is the
easiest path along that migration?
Is there a utility to convert the 1.0 struts-config.xml to 1.1 syntax?
any other issues i need to be concerned with, other than copying the appopriate jar
and tld
hmmm...
should i wait a month or two for this 2nd printing? will there be anything worth
waiting for (other than typos, etc...) when do you think it will be released approx.
i was just about to order kickstart from amazon when i saw this message!
thanks,
mark
-Original Message-
ok, i have this new requirement that has just come down today for a release next week.
these things arren't supposed to happen but they do!
the java app i am providing needs to run as a WIN2000 Service.
has anybody done thid before? can you point me in the right direfction?
thanks,
mark
has nothing to do with running a Windows
application as a service. Assuming you really meant the latter, I suggest you read
the documentation for your application server to determine how to run it as a Windows
service.
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com
To: Struts Users Mailing List
Subject: RE: [JAVASCRIPT] parent reloader
I use window.opener.document.location.href = yourParentWindow.do
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Wednesday, 30 October 2002 9:46 AM
To: Struts Users Mailing List
Subject
yes i agree.
my error checking is going into a buisness level helper class (instead of the form)
because it is so complex. it onvolves going into the database, and making sure there
are a minimum number of an item left, before a user can make changes to it. it also
needs to check various
I need to do some extensive error checking, and need to move this into an action class.
my question is when i identify an action, how i forward back to the previous page (the
same way a form class would). is there a method to take care of this? or do i need
to setup all the passed values in
://www.open-tools.org
Only two things are infinite, the universe and human stupidity,
and I'm not
sure about the former.
- Albert Einstein (1879-1955)
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Tuesday, October 22, 2002 4:09 PM
To: Struts Users Mailing
took me a while to get back to testing this out
The permissions look fine (running under WIN 2000)
i just found this extract from my log files. i am not sure i understand it. the war
file is called aguard.war, which should extract to /webapps/aguard. it says the dir
does not exisit.
took me a while to get back to testing this out
The permissions look fine (running under WIN 2000)
i just found this extract from my log files. i am not sure i understand it. the war
file is called aguard.war, which should extract to /webapps/aguard. it says the dir
does not exisit.
hello all,
i thought somebody here would have a quick answer for this one.
i am deploying my struts application to a new machine. i am placing the war file
underneath the webapps directory, and starting the server up, but the war file is not
being extracted! any ideas? it works on another
Rootlevel, Inc.
Sr. Software Engineer 1001 Woodward, Suite 1500
313 961 4407 x357 Detroit, Michigan 48226
www.rootlevel.com
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Friday, October 18, 2002 1:34 PM
To: Struts Users Mailing List
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Friday, October 18, 2002 1:34 PM
To: Struts Users Mailing List
Subject: OT: Tomcat not extracting war
hello all,
i thought somebody here would have a quick answer for this one.
i am deploying my struts
a very similar problem at my office. Turns out that Tomcat _really_ does not
like WAR files that are missing their manifests. You might take a look at that. . .
--Kevin
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Friday, October 18, 2002 1:34 PM
To: Struts
Software Engineer/Struts Evangelist
http://www.open-tools.org
-Original Message-
From: Mark Silva [mailto:msilva;authenex.com]
Sent: Friday, October 18, 2002 1:54 PM
To: Struts Users Mailing List
Subject: RE: [OT] Tomcat not extracting war
that parameter was not set at all. i have
-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 4:29 AM
To: 'Struts Users Mailing List'
Subject: RE: Design Problem: Multiple Object Update
a. upgrade to 1.1b2
b. don't bypass the ActionForm
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED
: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:52 PM
How will upgrading to 1.1b2 help me here? does it provide some feature that
does what i need? i cannot seem to find it.
i understand i shouldn't bypass the form, but HOW can i avoid it since these
are all dynamically
]]
Sent: Friday, October 04, 2002 10:27 AM
To: 'Struts Users Mailing List'
Subject: RE: Design Problem: Multiple Object Update
Oh...have you looked into DynaActionForm?
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 1:22 PM
To: Struts Users
[mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:29 AM
To: Struts Users Mailing List
Subject: RE: Design Problem: Multiple Object Update
On Fri, 4 Oct 2002, Mark Silva wrote:
In this particular form, I have a list of objects, with multiple
attributes. Each attribute name is preceded
PROTECTED]]
Sent: Friday, October 04, 2002 10:57 AM
To: Struts Users Mailing List
Subject: RE: Design Problem: Multiple Object Update
On Fri, 4 Oct 2002, Mark Silva wrote:
so if you had a bunch of parameters like so
category=XYZkey=123category=ABCkey=256category=AAA
how does struts correspond
the user to be able to make edits on the whole screen, and then submit it.
What is the best way to keep the data together in terms of naming of the fields.
currently I precede each value with the userId and an underscore.
User = Mark Silva
userId = 101
name field -- 101_name
isActiveField
can anyone tell me what is wrong with this code in my jsp? other than the fact that i
am not using a tag ;-)
userInfo =
((MessageResources)request.getAttribute(org.apache.struts.action.MESSAGE)).getMessage(user.info.message);
my jsp is not loading properly. the text gets cut off some
of encapsulation and compile-time checking of your
attribute name or
userInfo = getResources(request).getMessage(user.info.message);
if you happen to be within an Action class already?
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 11:28 AM
I am thinking of using ActionErrors for general messaging on my pages. Since I have
the hrml:errors tag, placed well for messages to the user, I would like to pass
messages such as Operation Successful, or Item Added
Is it ok to use the ActionErrors this way? Any reason to call it bad
: Tuesday, October 01, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: ActionErrors for General Messages
I think this is why struts added the ActionMessages class to 1.1. You might
look into this and how it works with the tags.
Dave
From: Mark Silva [EMAIL PROTECTED]
Reply-To: Struts Users
hello all,
I am attempting to write an Authentication Filter (Servlet Filter) for my Stuts App.
It is pretty simple so far. it just checks to see if a User has Authenticated yet
(from the session), and if not calls sendRedirect on the response. code and xml
below
for bean:message key=/ are you? Sounds like it,
but I could be *way* off ...
Mark Silva wrote:
hello again,
is there any way to dyanmically use ApplicationResources.properties in an Action
class? what i mean is that i want to Select a message from the Action class, and
pass that message to the jsp
hey there,
i was wondering what people ar eusing for logging in struts. it seems that with
jdk1.4, and the included logging, that would be the right framework. has anybody had
readon to use something else, like the jakarta package, or log4j?
also i had a question about the configuration
PROTECTED]]
Sent: Monday, September 23, 2002 1:05 PM
To: 'Struts Users Mailing List'
Subject: RE: logging in struts
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 10:08 AM
To: Struts Users Mailing List
Subject: logging in struts
hey
hello again,
is there any way to dyanmically use ApplicationResources.properties in an Action
class? what i mean is that i want to Select a message from the Action class, and pass
that message to the jsp. this will allow me to have a much more generic page... i
wont be ties to putting the
List'
Subject: RE: message checking
Yes, but first, what is an auomatic avocado peeler? Sounds like some kind
of Lisp debugger.
Mark
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 6:53 PM
is is possible to check for the existence
To: 'Struts Users Mailing List'
Subject: RE: message checking
Instead of using bean:message use a scriptlet:
logic:equal parameter=%= session.getAtribute(key) % value=true
You guessed right! You win an auomatic avocado peeler!
/logic:equal
Mark
-Original Message-
From: Mark Silva
hello again,
so i am trying to implement a file upload feature in my application, and i think i
have everything setup correctly, but i am getting this error on submission.
javax.servlet.ServletException: BeanUtils.populate
java.lang.IllegalArgumentException: argument type mismatch
i feel that
at the sources for the struts-upload sample
application that comes with Struts. That will give you a working example to
refer to.
--
Martin Cooper
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:41 PM
To: Struts Users Mailing List
hello all,
is is possible to check for the existence of a message in my page, and then output
some html if it is there? or if it is equal to something. i am looking to do
something like this, (although this code doesn't seem to work)
logic:equal parameter=bean:message
how, try [EMAIL PROTECTED]
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 7:00 PM
To: Struts Users Mailing List
Subject: presence of a message
hello all,
i want to test for the presence of a message in the message bean, so i don't
get
i have a question on deployment.
i am thinking of packaging my application as a war file, and letting the users place
this in the right location in their container. the only problem is that there is a
config file that needs to be edited prior to the application working. the config file
application
Remove the config file from the war file, and ask the user to place that
properties file in the classpath.
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2002 12:20 PM
To: Struts Users Mailing List
Subject: deploying a struts application
i
you could sublass the Action Object (BaseAction), and provide this functionality.
your Action classes will then subclass this object. you may need to rename your
perform method and call that my you BaseAction class' perform method.
-mark
-Original Message-
From: Brett [mailto:[EMAIL
hello all,
i want to test for the presence of a message in the message bean, so i don't get an
error if its not there. is there a special way to do this?
thanks,
mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
This is probably a simple question, but i cannot find the answer in any straighforward
place.
how do i get a property from my ApplicationResources.properties file within some java
code. i know how to do this using a bean tag, but not otherwise. is there a helper
class to do this?
i am
an Action?
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 3:07 PM
To: Struts Users Mailing List
i am currently trying to decide what logging framework to use with my tomcat/struts
application.
a couple questions.
1) what logging framework is preferred.
2) of those that are configured with a properties file, where does this file go in the
tomcat dir structure?
3) how do these fit it
i am currently trying to decide what logging framework to use with my tomcat/struts
application.
a couple questions.
1) what logging framework is preferred.
2) of those that are configured with a properties file, where does this file go in the
tomcat dir structure?
3) how do these fit it
the form field if there is an
error. is the only way to do this, to make it an initial value in the form object?
thanks,
mark silva
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
hello all,
is there any way to get the current loop number (or index) of a an iterate tag?
i have the following code:
logic:iterate id=fields name=report property=fields
a href=sort.do?sortIndex=I.Want.The.Current.Index.Of.Iteration.Herebean:write
name=fields//a
/logic:iterate
do i need to
Hello,
I am trying to use the ApplicationResources file to display titles, messages, etc. I
would like to create these messages dynamically based on a request parameter.
For example
bean:message key=AuthenticationReport.title/
I would lie to dynamically change the AuthenticationReport based
48 matches
Mail list logo