The easiest way to learn is look at the working
example(and from book of course). Struts comes with
great example. Compare your xml configurations and
other things(such as tags), with, say struts-example/web-inf/struts-config.xml.
__
Do you Yahoo!?
Yahoo! Finance:
you don't supply the controller
controller /
I hope this helps,
Fredrich
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
Have you tried putting itemId into session context instead of request context?
_
Thank You
Mick Knutson
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
_
-Original Message-
From: White,
to my viewIt action, won't they be reset to false?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 8:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Beginner question
Have you tried putting itemId into session context instead of request
I would shy away from chaining actions.
When the user submits a request to add a new item, the action that handles this
request should
(a) call the necessary business layer methods that in turn update
the database
(b) load object(s) needed by the next view (JSP) in the request or
-Original Message-
From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 10:17 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: Beginner question
This suggestion brings up another question. To properly set my boolean
values (radio buttons), my reset
I sounds like you WANT to do is redirect to a page that, when reloaded,
will just redisplay the item.
So, you should redirect them to a URL that contains the itemId as a
parameter.
--
Steve Stair
-
To unsubscribe, e-mail:
You can use struts framework without formbean, without validation, without
error handling ...
But doing so, struts will be a less powerfull framework.
You can begin with just a mapping, an Action that does what you want and a
JSP.
Adding a formbean will allow you see that Struts maintains data
Matt,
Due to the fact that the HTTP protocol is stateless, once the other frames
in your page are loaded, the only way to refresh them after the submission
of your form is through some javascript that is activated by the resulting
page of the submission in the frame that has changed. This is
Better said, some sort of script (or applet? brrr) activated by that.
Wellington
-Original Message-
From: Lacerda, Wellington (AFIS)
Sent: Wednesday, January 30, 2002 7:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Beginner question: Actions for Multi-frame page
Matt,
Due
On Tue, 20 Nov 2001 09:37:06 -0500, Lily Zou [EMAIL PROTECTED] wrote:
||| I am new to struts. I am currently using apache-tomcat-cocoon framework
||| with ant and preparing swithing to apache-tomcat-struts.We now use ant to
||| build and deploy applications. I wonder if anybody could tell
You
either need to use JDK1.3 or include JAVA_HOME/lib/tools.jar in the
classpath of the servlet container. I'm surprised that the Tomcat startup
scripts did not do this for you.
-Original Message-From: Scott Fitzgerald
[mailto:[EMAIL PROTECTED]]Sent: Monday, March 26, 2001
Hello
again,
Thank you for
your quick reply. I appended my classpath like this: set
path="C:\jdk1.3\lib\tools.jar";%PATH%; where C:\jdk1.3 is my JAVA_HOME. I
restarted my computer and tried again but got the same error. I would appreciate
any extra suggestions.
Thank
you,
Scott
classpath precede the stuff that Tomcat wants to
add.
-Original Message-From: Scott Fitzgerald
[mailto:[EMAIL PROTECTED]]Sent: Monday, March 26, 2001 9:19
AMTo: [EMAIL PROTECTED]Subject: RE:
Beginner question
Hello
again,
Thank you for
your quick reply. I appended my
Hello yet
again,
Here is exactly
what the console echoes:
Including all
jars in "C:\tomcat"\lib in your CLASSPATH.
Using
CLASSPATH:
"C:\tomcat"\classes;
C:\tomcat\lib\ANT.JAR;
C:\tomcat\lib\JAXP.JAR;
C:\tomcat\lib\SERVLET.JAR;
C:\tomcat\lib\PARSER.JAR;
C:\tomcat\lib\WEBSER~1.JAR;
Hi,
I tried to build struts from the source, I got the
following error, would anybody give me some thoughts?
Thanks,
-Sherman
=== error message
C:\selfProject\tomcat\jakarta-struts\build.xml:178:
java.lang.NoClassDefFoundError:
javax/xml/transform/Source
---
16 matches
Mail list logo