From: "Tom Holmes Jr." <[EMAIL PROTECTED]>
> In my limited knowledge of Struts ... in order to execute this action
> which gets my data, it requires a submit to call the action.
No, it requires an HTTP request to the URL that's mapped to the action.
Typically http://www.example.com/myapp/something
In other words, Tom, use the following (again assuming this is
appropriate for ) and have the Action class for listdata.do
return listdata.jsp with all the appropriate values set in your
ActionForm class.
Michael
Tom Holmes Jr. wrote:
Even though I don't use if you have propertly defined .do in
your xml and listdata.do return a response with the proper HTML, then it
should work okay. Do you you have your action class for listdata.do
forward to listdata.jsp? I assume that is
appropri
I started out my knowledge of Struts with "Jakarta Struts for Dummies"
and they have a sample application called "Music List Collection" that I
am basing some this on.
Basically, all I want to do is get a list of data displayed on the
screen. If I include a submit button and hit it, then the a
> You mean something like ?
Yes, I want this action to be called from my JSP. From my limited
knowledge of Struts (since I am a newbie to it), the form has to be
submitted in order to get the action to do work.
I basically just want this action to retrieve data from the database and
return a
Tom Holmes Jr. wrote:
I have a webpage
Wendy is right. We really need to know what you are trying to achieve
because an automatic submission of a form makes no apparent sense. When
you say middle "page" do you mean like a tile?
Michael
From: "Tom Holmes Jr." <[EMAIL PROTECTED]>
> What I want to happen is when this middle page is loaded, I want the
> form in the middle import to be
> automatically executed when the main default.jsp page loads.
Sounds like you shouldn't let them go to 'default.jsp' to begin with, you
should send
> -Original Message-
> From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 4:33 PM
> To: Struts Users Mailing List
> Subject: Imports and Form Submits
>
>
> I have a webpage called 'default.jsp' and it has three
> tags.
> One does the header, footer, an
8 matches
Mail list logo