Re: Imports and Form Submits

2004-09-10 Thread Wendy Smoak
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

Re: Imports and Form Submits

2004-09-09 Thread Michael McGrady
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

Re: Imports and Form Submits

2004-09-09 Thread Michael McGrady
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

Re: Imports and Form Submits

2004-09-09 Thread Tom Holmes Jr.
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

Re: Imports and Form Submits

2004-09-09 Thread Tom Holmes Jr.
age- 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, and body. The Header and Footer are f

Re: Imports and Form Submits

2004-09-09 Thread Michael McGrady
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

Re: Imports and Form Submits

2004-09-09 Thread Wendy Smoak
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

RE: Imports and Form Submits

2004-09-09 Thread Jim Barrows
> -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 >

Imports and Form Submits

2004-09-09 Thread Tom Holmes Jr.
I have a webpage called 'default.jsp' and it has three tags. One does the header, footer, and body. The Header and Footer are fine, but the middle page is a 'jsp' page with nothing but a form in it ... I mean it starts out like It also has some taglibs designed, and a resource bundle. What I