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
Hi,
I have gotten my first extremely simple (2 web pages) Struts application
working and am slowly adding features to it. In first page, you enter data
into a form and click the submit button. This takes you to the second page,
which displays the data from the form; and clicking the submit
I think you don't want to create an action to handle
the tiles reference right?
If not, then you can simply create a global action
that forwards to display say..
action path=/home
scope=request
type=org.apache.struts.actions.ForwardAction
validate=false
/action
sorry I accidently hit tab on the last reply and it
sent the email somehow (some weird combination of
keystrokes).
What I wanted to finish was the action...
action path=/home
scope=request
type=com.xxx.xxx.FowardAction
validate=false
forward
name=display
/
/action-mappings
Your.jsp
html:link forward=yourForwardLink /
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 5:07 PM
To: [EMAIL PROTECTED]
Subject: [Tiles Beginner Question] Href Tile Definitions
I've successfully got tiles up and running
I've successfully got tiles up and running... I do understand how i can use
a tile definition as a struts forward for my actions but i'm looking to
redirect to a tile definition using a href link. E.g.
I have the following tile definition:
definition name=my.home extends=default
I have two struts actions:
insertIt - adds an item to the database. When successful, this
action forwards to the viewIt action putting the newly inserted items
itemId into the request.
viewIt - views an item by itemId (retrieves itemId from request)
When insertIt successfully
, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 2:00 PM
To: Struts Users Mailing List
Subject: Beginner question
I have two struts actions:
insertIt - adds an item to the database. When successful, this
action forwards to the viewIt action putting the newly
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
or
session
(c) forward to the JSP
Sri
-Original Message-
From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 8:00 AM
To: Struts Users Mailing List
Subject: Beginner question
I have two struts actions:
insertIt - adds an item to the database. When
-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:
Am just starting with the framework. Have done my homework, reading
O'Reilly book and other tutorials online, and surprisingly I don't see this
question addressed anywhere. My question is pretty straightforward: when I
simply have an anchor (link) on a page, not a form submit, what's the
minimum
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
Hello all, My name is Matt Lobur and i am new to the
STRUTS framework.
My question involves submition of a form in a multiple
frame page. If i sumbit a form in 1 frame but the
information submitted will effect many of the frames
in my page, how would I refesh the other pages because
the
. This is above Struts.
Wellington
-Original Message-
From: matt lobur [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 7:08 PM
To: Struts Users Mailing List
Subject: Beginner question: Actions for Multi-frame page
Hello all, My name is Matt Lobur and i am new to the
STRUTS framework.
My
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
How do I get back the URL with which the page was called? For example, if
the request looked like this:
http://www.testServer.com/mainPage.jsp?arg=2arg=3
I would like to get back the /mainPage.jsp?arg=2arg=3 part. I know I can
call request.getRequestURI() and concat that with
Hi, there
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 me how to use
ant to do the similiar build for struts ? And how to
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
Hello
everyone,
I have been trying to run the
examples that come with the latest version of Struts on Tomcat. However, when I
point my browser at the example I get an internal servlet error (500) which
offers this bit of information: javax.servlet.ServletException: sun/tools/javac/Main. It
8:07 AMTo: [EMAIL PROTECTED]Subject:
Beginner question
Hello
everyone,
I have been trying to run the
examples that come with the latest version of Struts on Tomcat. However, when
I point my browser at the example I get an internal servlet error (500) which
offers this bit
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
---
27 matches
Mail list logo