RE: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Matthew J. Vincent
Bard, I'm not sure if you have figured this out or not, but to all who haven't - here is a link to a Struts tag example. http://moosejaw.org/java/struts-iterate/ Enjoy. Matt Thanks for your reply, Sandeep. From what I have understood from reading the java doc, a vector has an index on it l

RE: Logic Iterate in Struts

2003-07-09 Thread Matthew J. Vincent
Deepak, Yesterday I posted a link containing source code on how to use the iterate tag. http://moosejaw.org/java/struts-iterate/ I hope it helps you. Matt -Original Message- From: Yinti, Deepak [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:25 PM To: Struts Users Mailing

RE: Help Logic:Iterate

2003-07-09 Thread Matthew J. Vincent
Last time I post this: Yesterday I posted a link containing source code on how to use the iterate tag. http://moosejaw.org/java/struts-iterate/ I hope it helps you. Matt -Original Message- From: Wagner Levi Brunca [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:20 PM To: str

Generic Error Handler

2004-01-12 Thread Matthew J. Vincent
I searched the archives and I must have missed it. I want to have a generic JSP or Servlet get invoked when an error occurs in my application. For example, when I try to clink on a link on one of my pages I get an error message: HTTP Status 500 - No action instance for path /detailSearch could b

RE: Generic Error Handler

2004-01-12 Thread Matthew J. Vincent
Would this be better handled in the web.xml Matt -Original Message- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:08 AM To: Struts Users Mailing List Subject: Generic Error Handler I searched the archives and I must have missed it. I want to

Error Page Flow

2004-01-14 Thread Matthew J. Vincent
Hello all, I have a url that gets invoked with the url http://localhost/prototype/search.do . I have a SearchAction class that uses EJBs to pull data from a database to populate a pick list in my search JSP page. I use some simple JSTL code to populate the select box: I use the follo

Page Flow with ActionForms (Repost)

2004-01-14 Thread Matthew J. Vincent
Sorry all, I posted this ealier with a typo so here it is again. I have a url that gets invoked with the url http://localhost/prototype/search.do . I have a SearchAction class that uses EJBs to pull data from a database to populate a pick list in my search JSP page. I use some simple JSTL code

Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I need some serious help with Struts. I have a page that gets invoked by calling search.do, this in turns calls my SearchAction which gets data from a database to populate a select box in my JSP search.jsp. ANY The problem I have is that when the user clicks submit, t

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
esday, January 21, 2004 9:50 AM To: Struts Users Mailing List Subject: RE: Struts, Search Page, Help!!! > From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] > I need some serious help with Struts. > I have a page that gets invoked by calling search.do, this in > turns calls my SearchActio

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I tried, but it didn't work. Anyway, I used the Apache LabelValueBean to store instead of a String and got it to work: However, if I select a value, press submit, and there is an error...the selected value is not "saved" and pre-selected. Actually, none of the values are saved. My Searc

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
s, Search Page, Help!!! Your input points to search.do/SearchAction. It's possible that SearchAction is resetting the values of the form. Does it know when to leave the form values alone because it's only being called due to a redisplay of a poppulated input form? --- "Matth

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
lass? What is the best approach? Matt -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 12:41 PM To: Struts Users Mailing List Subject: RE: Struts, Search Page, Help!!! > From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] > Howev

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I'm sorry I am so lost today! Now...here is the problem I am having. When a user goes to http://localhost:/search.do >From my understanding this will call my SearchAction class as specified in my struts-config.xml file:

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
Yes. etc. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:05 PM To: Struts Users Mailing List Subject: RE: Struts, Search Page, Help!!! Are you using struts html tags to write the rest of your form? --- "Matthew J. Vi

RE: Struts, Search Page, Help!!!

2004-01-23 Thread Matthew J. Vincent
Sorry for the lag in response...I was out of the office yesterday. If I change search.do to search.jsp, when there is an error in my SearchResultsAction class, I receive the following error: javax.servlet.ServletException: Cannot find bean under name strainTypes I used the action (SearchAction)

RE: Struts, Search Page, Help!!!

2004-01-23 Thread Matthew J. Vincent
Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:15 PM To: Struts Users Mailing List Subject: RE: Struts, Search Page, Help!!! Can you send your entire html form? --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > Yes. > > &g

Strust Search/Results/Display HELP!

2004-01-23 Thread Matthew J. Vincent
Ok. I guess I'm missing something - or it just won't sink in. This really isn't that long. For simplicity, let's say I have a 4 page application. 1. Index 2. Search for an Item 3. Search Results List of Matching items 4. Details of an Item All of these "pages" needs to gather data from a datab

Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Matthew J. Vincent
ed to prep the form, but there are other ways to do that, like placing your 's options collection in session or app scope. However, I *have* used this approach before and it worked for me. hth, Hubert --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > Ok. I guess

RE: Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Matthew J. Vincent
hen I took out the "name" and "type" attributes in your html form: <%-- --%> hth, Hubert --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > http:// www ! moosejaw ! org /java/help.zip > > Here is a zip file to demonstrate the problem I am having. I

RE: An Action doesn't work as expected

2004-02-03 Thread Matthew J. Vincent
You don't have the input attribute in your action mapping. ... ... HTH. Matt -Original Message- From: f f [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 10:51 AM To: [EMAIL PROTECTED] Subject: An Action doesn't work as expected Hi gurus, I'm just learning to devel