that don't follow the
correct DTD syntax (like declaring actions before forms)
olivier
-Message d'origine-
De : Howard Miller [mailto:[EMAIL PROTECTED]]
Envoye : lundi 23 decembre 2002 20:03
A : Struts Users Mailing List
Objet : RE: Error loading struts-config
That's what I
Hi,
I use much the same set up as you and had lots of problems with those plugins.
Personally I don't use them, I find it *much* easier just to keep a terminal/dos
window
open and use Ant to build and test the application. The Ant build script that is
described in the Tomcat documentation
-
Von: Howard Miller [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 24. Dezember 2002 10:30
An: Struts Users Mailing List
Betreff: Re: Problems with Eclipse and Struts
Hi,
I use much the same set up as you and had lots of problems with those
plugins.
Personally I don't use them, I find
Hi,
I am just setting up a new Struts project. I have the Action servlet set
up and a struts-config.xml with almost nothing in it. When the war is
installed the servlet starts and then throws this error...
2002-12-23 13:47:11 StandardContext[/quest]: Servlet /quest threw
load() exception
:
The error sounds like the servlet cannot even find struts-config.xml. Check the war
to make sure struts-config is really there and in the WEB-INF folder. You can open
the war with WinZip. Also, make sure that the folder WEB-INF is in all caps.
-Original Message-
From: Howard Miller
Ahhh... easy enough answer to that question...
Because I don't know what I'm doing!!!
Anyway... spot on. That nailed it. Thanks for your help.
HM
On 23 Dec 2002 at 11:07, Craig R. McClanahan wrote:
On Mon, 23 Dec 2002, Howard Miller wrote:
Date: Mon, 23 Dec 2002 19:03:20 -
Hi,
Stupid question alert:
Before I make more work for myself can I ask is there any way (or
any taglibs) for iterating over a ResultSetDynaClass in a JSP??
It isn't descended from collection, so doesn't work with
logic:iterate - shame!!
Howard Miller
--
To unsubscribe, e-mail
like
ResultSet and do so between actions, you may search for CachedRowSet.
It will not require that you keep an open connection between requests.
Howard Miller wrote:
Sorry this is a bit off topic, but if anybody knows etc.
Has anybody come across a taglib like the Display: taglib
Someone correct me if I am wrong, but nothing can help you. The browser will
recover the page out of its cache and you'll get whatever you saw last.
If you are writing a server-side application, I would stop and think very carefully
before
using Javascript - on principal if nothing else!!
Errr
it means what is says... there is an error in your struts-config.xml file.
The best advice I can give is to get hold of Struts Console at...
http://www.jamesholmes.com/struts/console/
This should sort you out!
Howard Miller
On 21 Oct 2002 at 20:51, Vikas Malla wrote:
I was able
have to accept a ResultSet as its input, I suppose.
Failing that, I'm off to write it myself... anybody else looking for anything like
that?
Howard Miller
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help
have to accept a ResultSet as its input, I suppose.
Failing that, I'm off to write it myself... anybody else looking for anything like
that?
Howard Miller
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help
.
The console validates my xml without any problems.
What else can be the reason?
Howard Miller [EMAIL PROTECTED] wrote:Errr
it means what is says... there is an error in your struts-config.xml file.
The best advice I can give is to get hold of Struts Console at...
http://www.jamesholmes.com
I'd just like to thank everybody who replied to this one. I have got a lot of
information,
and have successfully sorted out what I want to do. And it feels right!!!
Thanks very much everybody!!
Howard Miller
On 21 Oct 2002 at 10:25, [EMAIL PROTECTED] wrote:
We use pre-actions for all
intact.
It seems to be very similar to an action returning its input form to display errors,
but
doing this doesn't work. Whatever I do I seem to get a blank page.
Any help very much appreciated.
Howard Miller
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
in in the scope. I
don't understand how to set up a generic preload action for a given JSP/ActionForm,
and what the config should look like.
Again, any help much appreciated.
HM
On 20 Oct 2002 at 8:43, David M. Karr wrote:
Howard == Howard Miller [EMAIL PROTECTED] writes:
Howard Hi
totally the wrong thing. Could (of course) be some
stupid error!
I'm off to try harder... thanks!
HM
On 20 Oct 2002 at 10:10, Phil Steitz wrote:
Howard Miller wrote:
I think I'm seriously missing the point here! I have looked at the example
application
in some detail and it appears to add
It all depends on the data structure in which you store your beans. If you store the
beans in a collection object of some sort then logic:iterate works: that's what is
does!
On 15 Oct 2002 at 13:18, Matt Vredenburg wrote:
I have a collection of beans (a bean for each row within the
Hi,
Can somebody explain (slowly) the difference between Request
scope and Page scope - I particularly don't understand what the
intended purpose of Page scope is.
HM
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
www.landsend.com
Lands' End, Inc. (608) 935-4526
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:45 PM
To: struts Users Mailing List
Subject: Request v Page scope?
Hi
E it was a joke :)
Please excuse my twisted British humor!
HM
On 15 Oct 2002 at 16:14, Adam Sherman wrote:
On 10/15/02 21:09:28 +0100, Howard Miller wrote:
What was that about scriptlets??
Scriptlets are embedded bits of Java code in your JSP pages. They are a Bad
Thing(tm
Sorry if I keep asking variatons on the same question.
I have a JSP called dosomething and an associated action called dosomething
Action.
I want to pre-load the form, but this page can be called from all over the place, so
my
previous page calls the action for the dosomething page directly,
Specialist www.landsend.com
Lands' End, Inc. (608) 935-4526
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 3:27 PM
To: [EMAIL PROTECTED]
Subject: (sigh!) another pre-populate
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Lands' End, Inc. (608) 935-4526
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent
,
then
the bean I copy it to has to exist accross multiple pages too). However I still have
an
uneasy feeling that I may be doing this the wrong way.
Any comments appreciated. Getting a bit frazzled with all this.
HM
On 13 Oct 2002 at 8:01, Howard Miller wrote:
Hi,
I have been trying to get
Hi,
I have been trying to get a pre-populate thing to work for about two weeks now and
am going crazy can somebody sanity check what I am doing. Much appreciated!!
Its a master detail type of thing. I show a list of options a user can edit on one
page,
and the details of the item to edit
Got it!! I hadn't thought clearly enough about what was happening.
Thanks everybody.
On 12 Oct 2002 at 10:25, David M. Karr wrote:
Antoni == Antoni Reus [EMAIL PROTECTED] writes:
Antoni Hi,
Antoni A Dissabte 12 Octubre 2002 14:08, Howard Miller va escriure:
Hi
: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:37 PM
To: Struts Users Mailing List
Subject: RE: iterate and html:link
Hi,
Thanks - I did wonder if there was something in html:link
to do this so I did read
the documentation.
However I couldn't get
Hi,
Can soebody explain when the reset method of ActionForm gets called?
My problem is that I am using the method to prepopulate the form (which works). The
previous jsp had a link to the following jsp (the jsp not its action - .jsp not .do,
ok).
The reset obviously runs and the preloaded
Sorry to hit the list with an error message. I'm trying to track this down at the
moment,
but does the following ring any bells with anybody? It happens when I submit a form. I
don't really think that there is anything odd about the form either. Well the form
bean
refers to an object with a
Hi,
I use easy-struts (and JBuilder). Its quite basic really, and the jsp's it produces
are a
little rough - but you would change them anyway whatver it produced. It does though
set up the jsp, the form bean, the action class, and puts the entries in the config
file.
Takes quite a bit of
Mmm... tried again...
I noticed paramId as an option hiding in the list. I tried adding that and it
worked!
(There was nothing at all without it). Is this perhaps a bug - or just the way I have
it
set up?
Looks better now though. Thanks for help.
HM.
On 11 Oct 2002 at 21:36, Howard Miller
Hi,
How do I do this
logic:iterate name=user property=queries id=query
html:link page='/builder.jsp?id=%= query.getId() %' /
/logic:iterate
Its the %= query.getId() %, bit I'm talking about. This bit of script doesn't get
evaluated. I have spent ages sifting through the archives and
Aaaaggg forget it, sorted it myself about 10 seconds after I'd posted the message
page='/builder.jsp?id=+query.getId() %'
works. All a bit clumsy though IMHO.
HM
On 11 Oct 2002 at 21:07, Howard Miller wrote:
Hi,
How do I do this
logic:iterate name=user property=queries id=query
).
Howard
On 11 Oct 2002 at 13:18, Karr, David wrote:
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: iterate and html:link
Hi,
How do I do this
logic:iterate name=user
Hi,
Can somebody explain what the attribute property of ActionMapping actually
means. I don't understand it.
Surely the request/session scope is that given in struts-config.xml, under what
circumstances will it differ?
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Hi,
This might be more of a java question, but please stick with me.
I have a session scope bean which represents my user's configuration. In the bean is
an ArrayList which contains a list of items that the user owns. Each item in the
list is
itself a bean containing a number of fields. This
suspect related) - what does ActionMapping.getScope()
do? I don't get how an Action can have a scope and/or an Attribute. What's the
story??
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
or
similar.
Howard Miller
On 1 Oct 2002 at 16:54, Eddie Bush wrote:
attribute is an ... attribute (bit confusing) of an ActionMapping. The
getAttribute() method returns the value of the attribute attribute - or
the name attribute if the attribute attribute is null. ActionMapping
actually
Hi,
I'm a bit confused... so I hope this makes some sense.
I wish to display a form for the user to edit. BUT the form isn't empty
it needs to come from a bean that is sitting in an ArrayList. Is there
some way to do this directly?
My answer (that doesn't work) is to create a standalone bean
... /
action path=/viewUser ... scope=request ... /
The default scope is session. If that's where you want the form kept
you don't have to specify it.
Howard Miller wrote:
Hi,
I'm a bit confused... so I hope this makes some sense.
I wish to display a form for the user to edit. BUT the form
and a where the hell do I
start!!,
or even please - how would you experts do this - what's the BEST way. I often do
this - I'm looking for the best practice!
Lets be nice out there!!!
Howard Miller (VERY off topic)
On 21 Sep 2002 at 12:38, Michael Lee wrote:
LOL! Exactly what I mean
Hi,
Sorry for repeating myself, but I think having read a lot more I can ask the question
with a bit more intelligence.
To set the scene may I quote from the documentation:
You may also place a bean instance on your form, and use nested property
references. For example, you might have a
, the main attraction of MVC is that you can unit test
each component before using it).
V.
Howard Miller wrote:
Hi,
Sorry for repeating myself, but I think having read a lot more I can ask the
question
with a bit more intelligence.
To set the scene may I quote from the documentation
that
the customer[0].name request parameter is the name property on the first
customer bean in your customer bean array in the action form.
Don't try it with Struts 1.0x, though, as indexed is a 1.1 feature...
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent
: Saturday, September 21, 2002 1:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Nested Indexed Property
Then it sounds like you need to read the 4 tutorials on
http://www.keyboardmonkey.com/pilotlight/index.jsp
V
Howard Miller wrote:
The problem is that I don't know the best way to do what I
. Cekvenich wrote:
Then it sounds like you need to read the 4 tutorials on
http://www.keyboardmonkey.com/pilotlight/index.jsp
V
Howard Miller wrote:
The problem is that I don't know the best way to do what I want to do.
Data structure looks like this
Bean A contains Linked List
customer bean array in the action form.
Don't try it with Struts 1.0x, though, as indexed is a 1.1 feature...
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 21, 2002 1:02 PM
To: struts Users Mailing List
Subject: Nested Indexed Property
...
[Home][Main Menu][Page ?][PageX]
all but [Page X] being links to the appropriate page, so they can (a)
shortcut back there and (b) they have sme sense of where they are (as my
navigation is bit wild).
Any offers of a nice way to do this in Struts
Cheers...
Howard Miller
--
To unsubscribe, e
the value of param into a form bean, as if I'd
done it with a form and used radio buttons.
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
the value of param into a form bean, as if I'd
done it with a form and used radio buttons.
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
value)? You could also have
your JSPs use the URIs in the linkedlist to generate a set of links to each
of the past pages visited.
- Jim
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 4:07 AM
To: '[EMAIL PROTECTED]'
Subject
:
Seems like the ClickStream stuff from OpenSymphony might be able to be hacked into a
breadcrumb manager component:
http://www.opensymphony.com/clickstream/
Of course, I've not seriously investigated it. Might be worth looking at...
--Kevin
-Original Message-
From: Howard Miller
Is not the fact that you pop up the page enough to re-start the timeout
clock?
Perhaps the OK button, should point to a do-nothing struts action and the
cancel button should just be a JavaScript close, that will not restart the
clock.
Bit of experimentation to get it right!
-Original
Also, have you visually checked the HTML source (and included JavaScript)
that Struts/JSP has produced to make sure it looks sensible. If in doubt
post the relevant bit here.
Howard Miller
-Original Message-
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: 18 September 2002 16:10
Hi,
I've read this about 5 times now and still can't get my head aroud what you
are doing.
Can you draw us a picture of what directories hold what, what your
classpath is, and what your javac command is.
Personally I have always used the structure recommended in the tomcat
documentation that
Hi again,
I'm assuming you are using Tomcat, which may not be the case... this is
still worth a look I think
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html
Howard
-Original Message-
From: angela mcgrenra [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 09:48
this)
Any thoughts this question was asked before (in the archives) but no
answer to be found.
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
property=surveydescription /br
/logic:iterate
/html:form
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 10:18
To: 'Struts Users Mailing List'
Subject: html:radio inside logic:iterate disaster
Hi,
Having lots of problems with html:radio inside
find struts.jar that I
have saved locally in my classes directory...
I have saved this path into my CLASSPATH variable but to no avail...
From: Howard Miller [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE
Might be no help at all, but I would certainly take a look
http://edhill.its.uiowa.edu/display-0.8/
Howard Miller
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 11:43
To: '[EMAIL PROTECTED]'
Subject: Nested tagscomplete example for Table
You can cast the id element by using the key= attribute of
logic:iterate. Use the fully qualified name of the actual object type.
HM
-Original Message-
From: Luca Zago [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 11:55
To: Struts Users Mailing List
Subject: Scripting variables
application, so must be
Servlet/JSP/Applet based.
Trying to save myself some work!!
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Network
http://www.open-tools.org/struts-atlanta
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 11:15 AM
To: '[EMAIL PROTECTED]'
Subject: SQL Query Builder [Off Topic]
Hi,
This is completely off-topic
Hi,
I simply cannot get the logic:iterate tag to work. All I get is a no
getter method for error message, when there IS a getter method in the
bean.
Worse still I don't understand the documentation. Please excuse me copying a
chunk, but to be clear:
From the UserGuide
example:
%
=mybean property=list
Note that the property value is 'list' and not 'List'. Unless instructed
otherwise, per JavaBeans spec, this'll result in a call to 'getList' (now
with an uppercase 'l') -- just like your method is named.
Sri
-Original Message-
From: Howard Miller [mailto:[EMAIL
Hi,
Having problems creating beans on the fly. Can somebody spot where I have
gone wrong...
This is my (obviously incorrect) understanding of the procedure:
1. I create a bean called MyBean
2. an action script creates an instance of the MyBean class, called (say) MB
and initialises it... so
Hi,
Newbie, JDBC connection pool question:
My application uses a central control database. This is ok, and I can see
how to use a connection pool for my application to access this.
BUT... The application allows a user to recover data from a range of
additional databases. That is the central
-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 6:47 AM
To: '[EMAIL PROTECTED]'
Subject:Connection pool question
Hi,
Newbie, JDBC connection pool question:
My application uses a central control
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 7:33 AM
To: 'Struts Users Mailing List'
Subject: RE: Connection pool question
Thanks,
I don't know much about JNDI (apart from in general terms what it is); why
would doing
: Howard Miller [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, August 15, 2002 7:04 AM
| To: 'Struts Users Mailing List'
| Subject: RE: Connection pool question
|
| Thanks Robert,
|
| I must confess I don't get it. I was under the impression that JNDI
was
| just
| an abstraction mechanism for looking up
would be your solution #1, although this means that most
likely you will be managing your transactions directly in your Action
classes :( .
Good luck,
robert
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 8:04 AM
To: 'Struts Users
with connection
pooling. If anything, setup a pool for the connection that looks up the
connection information ;-)
-Jacob
| -Original Message-
| From: Howard Miller [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, August 15, 2002 7:40 AM
| To: 'Struts Users Mailing List'
| Subject: RE: Connection
Errr... stupid newbie question coming up.
If I want to create objects in the Application Scope the design notes for
Struts says application scope beans are initialized in the init()
method of a startup servlet.
But, and I'm sure I'm missing something here, I haven't got an init() method
ServletContextListener because it is a standard way for bootstrapping
web applications and init parameters can be defined in web.xml.
robert
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 9:51 AM
To: '[EMAIL PROTECTED]'
Subject
Oh sorry,
read ServletContextListener stuff a bit more carefully this time!
If anybody else is interested I found what looks like a good description at
http://www.stardeveloper.com/go/0001
Howard
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002
-Original Message-
From: Cliff Rowley [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2002 15:20
To: Struts Users Mailing List
Subject: RE: Initialisation
sorry, out of my depth again. I read the documentationfor
ServletContextListener, and I'm not sure... Does this mean that all I have
:[EMAIL PROTECTED]]
Sent: 15 August 2002 15:37
To: Struts Users Mailing List
Subject: RE: Initialisation
On Thu, 2002-08-15 at 15:31, Howard Miller wrote:
Perhaps you should read the relevant Servlet specification too.
Yes, my mistake.. got it now - see my other mail.
Yep, sent mine before I
78 matches
Mail list logo