Re: Newbie question

2004-03-03 Thread James Mitchell
From the main page of Struts (the one you clicked past to subscribe to this list) http://jakarta.apache.org/struts/learning.html -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message -

Re: newbie question : cannot resolve symbol when compiling an Action class

2004-01-19 Thread e-denton Java Programmer
First, your class name should begin with a capital letter by convention. The error is saying that no constructor an be found that matches myABC (..). So, be sure there is such a constructor. - Original Message - From: lixin chu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: newbie question : cannot resolve symbol when compiling an Action class

2004-01-19 Thread lixin chu
yes, I changed to : public class MYABC { public void MYABC () { } other methods } still the same thing.. --- e-denton Java Programmer [EMAIL PROTECTED] wrote: First, your class name should begin with a capital letter by convention. The error is saying that no constructor an be

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
contextRelative is used to define a forward that is relative to the application context and not to the module context (default). You cannot redirect to an URL outside your app using struts-config forward. Use a requestDispatcher in your action and call sendRedirect(), or create a new JSP with

Re: Newbie question....redirect

2003-11-05 Thread Marcella Turner
] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Newbie questionredirect Date: Wed, 5 Nov 2003 14:22:47 +0100 contextRelative is used to define a forward that is relative to the application context and not to the module context

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
: Wednesday, November 05, 2003 4:06 PM Subject: Re: Newbie questionredirect Nicolas, I think your reply will help me with my post too - trying to switch web modules - help but I don't see a sendRedirect() method of the requestDispatcher object. How can I call this sendRedirect() - sounds like

RE: newbie question: results display on same page?

2003-10-14 Thread jagadeesh kumar movva
Hi, Though I am also a newbie, when I faced a similar problem, I used bean:define id=myId I am not very sure whether it will work for you. I tried a few other options before finally getting the result, as none answered my question on struts user list... I only can hope it helps...not sure

RE: newbie question: results display on same page?

2003-10-13 Thread Nicholson, Robb
The logic:iterate tag does not have to live within a form. Chances are your error is because the Collection you are trying to iterate over is not in the request (or whatever session you happen to be using). What we normally do for a situation like this is to create a JSP with the search form, and

RE: newbie question: results display on same page?

2003-10-13 Thread mobile q
thankyou for your reply. I did put results bean into request. The problem is: it even does not display search form now if I put results display block after /html:form since user has not pressed get button. Here is my display code: table logic:iterate id=... name =... property ..

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
Hi Victor, If you have both html:hidden property=method/ and buttons in the same form, both method are submitted when you pressed either button. You could change the value with javascript code before submitting the form. Something like this might work : html:hidden property=method value=save/

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
Hi, Jerome: Thanks for helping. I tried out your code. Strangely, if I click on either save button, or delete button, now they both forward to save page. It seems action still forwards to save method even I clicks on delete button. Any idea? regards, --- Jerome Devost [EMAIL PROTECTED]

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
it will confuse Internet Explorer. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 14:04 To: Struts Users Mailing List Subject: RE: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, Jerome: Thanks for helping. I tried out

Re: newbie question

2003-08-27 Thread Bryce Fischer
Now I want to call sicpage1.jsp directly without first calling sicpage0.jsp. But sicpage1.jsp is not getting populated with data since the action class is not getting called. create a global forward to the action, and call the forward. -- Bryce Fischer [EMAIL PROTECTED]

RE: Newbie question: Testing if collection is != null before iterating

2003-08-11 Thread Alex Shneyderman
Check logic:notEmpty tag -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todor Sergueev Petkov Sent: Saturday, August 09, 2003 12:32 PM To: Struts Users Mailing List Subject: Newbie question: Testing if collection is != null before iterating How

RE: newbie-question: validation across multiple pages

2003-07-31 Thread Yansheng Lin
You might want to use session to store all the values entered in page=1. Then when there is an error in page=2 or page=3, and forward the control back to page=1. Since all the values are session scope, you can access them in your page=1. Remember you have to clean the session though:).

RE: Newbie question :Rendering buttons of type submit and button

2003-07-29 Thread Hajratwala, Nayan (N.)
http://jakarta.apache.org/struts/userGuide/struts-html.html#submit input type=submit name=Save value =Save in struts becomes: html:submit property=Save value=Save / http://jakarta.apache.org/struts/userGuide/struts-html.html#button input type=button name=Cancel value

Re: newbie question!

2003-07-28 Thread Alen Ribic
Hi I couldn't spot anything wrong below, did you get any runtime exceptions? If so, show a snippet. --Alen Hello, This question probably might have been asked many a times. But I searched the archive (though not fully) but could not find this. So, if anybody has a solution please do let

Re: newbie question!

2003-07-28 Thread Samanth Athrey
Hi, There are no exceptions at all! Once the FormBean is executed the control is not passed on to the Servlet! Regards, Samanth Athrey Alen Ribic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I couldn't spot anything wrong below, did you get any runtime exceptions? If so, show

RE: newbie question: how to get context path?

2003-07-25 Thread Mike Whittaker
-Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: 25 July 2003 10:48 To: 'Struts Users Mailing List' Subject: newbie question: how to get context path? Sorry for the newbie question... my brain not responding... Using mapping.findForward(xxx).getPath(), I am able to

RE: newbie question: how to get context path?

2003-07-25 Thread Daniel Joshua
Oooops... thanks! Regards, Daniel -Original Message- From: Mike Whittaker [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July, 2003 5:54 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: newbie question: how to get context path? -Original Message- From: Daniel

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread James Childers
You'll need to do a couple of things: 1) (Assuming you're using Struts, of course.) Create your Java array/collection/whatever in the Action that gets hit before your JSP page: List myList = new ArrayList(); // populate the list, la la la

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
James: Thanks for your nice presentation. I will try it out right away. regards, rick --- James Childers [EMAIL PROTECTED] wrote: You'll need to do a couple of things: 1) (Assuming you're using Struts, of course.) Create your Java array/collection/whatever in the Action that gets hit

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
More questions about the following: 1) It says in logic tags reference: id: The name of a page scope JSP bean that will contain the current element of the collection on each iteration, if it is not null. So, it means myList ArrayList should conform to JavaBean routines, is that right? For

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
Hi, I did the following, but the results were not displayed. Whats wrong with my code? products is a collection of ArrayLists, every arrayList contains a list of ProductBeans, ProductBean has productName and productId properties. products are retrieved in action class and are put into session

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Kris Schneider
Man, this is really sick ;-). If I'm understanding you, maybe this will work (or maybe not...): var products = new Array(); logic:iterate id=productBeans name=products indexId=i var productBeansbean:write name=i/ = new Array(); logic:iterate id=productBean name=productBeans indexId=j

RE: newbie question: Java array to JavaScript Array

2003-07-25 Thread Rick Col
Hahahahaha.Kris, yes this is sickening. More so after trying all possible solutions. This ruined my Friday :((. regards, Rick --- Kris Schneider [EMAIL PROTECTED] wrote: Man, this is really sick ;-). If I'm understanding you, maybe this will work (or maybe not...): var products =

Re: newbie question: Java array to JavaScript Array

2003-07-25 Thread Kris Schneider
So it's still not working? Can you post some of the generated JavaScript? I was shooting for something like this: var products = new Array(); var productBeans0 = new Array(); productBeans0[0] = [name0, id0]; productBeans0[1] = [name1, id1]; ... products[0] = productBeans0; var productBeans1 =

Re: Newbie question about form variables.

2003-07-18 Thread Sandeep Takhar
session scope or hidden fields on each page. sandeep --- Norr, Peter [EMAIL PROTECTED] wrote: I am developing a wizard style form.. How do I obtain the value submitted in the previous page of a form from the jsp page? For example, in step2.jsp I need to know what was selected in

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
one way is to have both pages share a formbean, the first page populates the formBean with what was entered so the second page can access it. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:35 PM To: 'Struts Users Mailing List' Subject:

RE: Newbie question about form variables.

2003-07-17 Thread Norr, Peter
Yes I understand. But how do I acces the Form Bean from the jsp page? Peter -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:40 PM To: Struts Users Mailing List Subject: RE: Newbie question about form variables. one way is to have

RE: Newbie question about form variables.

2003-07-17 Thread Adam Levine
PROTECTED] Subject: RE: Newbie question about form variables. Date: Thu, 17 Jul 2003 15:02:11 -0400 Yes I understand. But how do I acces the Form Bean from the jsp page? Peter -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:40 PM

RE: Newbie question about form variables.

2003-07-17 Thread Norr, Peter
Does Struts 1.1 come with JSTL implementation? If so How do I use it? Peter -Original Message- From: Adam Levine [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:05 PM To: [EMAIL PROTECTED] Subject: RE: Newbie question about form variables. scriptlets (bad choice) custom

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
: Newbie question about form variables. Yes I understand. But how do I acces the Form Bean from the jsp page? Peter -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:40 PM To: Struts Users Mailing List Subject: RE: Newbie question about

RE: Newbie question about form variables.

2003-07-17 Thread Adam Levine
PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Newbie question about form variables. Date: Thu, 17 Jul 2003 15:12:33 -0400 Does Struts 1.1 come with JSTL implementation? If so How do I use it? Peter -Original Message- From: Adam Levine [mailto:[EMAIL PROTECTED] Sent

RE: Newbie question about form variables.

2003-07-17 Thread Norr, Peter
Yes! But I am using DynaActionForm. I would also like to query the value submitted from step1.jsp.. -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:14 PM To: Struts Users Mailing List Subject: RE: Newbie question about form

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
It doesn't matter, a DynaActionForm has a name just like other action forms. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:18 PM To: 'Struts Users Mailing List' Subject: RE: Newbie question about form variables. Yes! But I am using

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
Mailing List Subject: RE: Newbie question about form variables. It doesn't matter, a DynaActionForm has a name just like other action forms. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:18 PM To: 'Struts Users Mailing List' Subject: RE: Newbie

RE: Newbie question about form variables.

2003-07-17 Thread Norr, Peter
:20 PM To: Struts Users Mailing List Subject: RE: Newbie question about form variables. It doesn't matter, a DynaActionForm has a name just like other action forms. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:18 PM To: 'Struts Users

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Firat TIRYAKI
probably you can not see the javascript error, because the form submits in the function, remove the submit(); in the function and see the error, and also I recommend you not to use onclick event, try onchange, it's better in this situation. F. - Original Message - From: Shyam A [EMAIL

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Rick Reumann
My Javascript function is given below: SCRIPT language=JavaScript function submitForm(form) { form.action.value=Lookup; form.submit(); return true; } # and I invoke this function in my HTML form as shown below:

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Shyam A
Mark, Thanks a lot for your mails. I have used action as a form bean property and not as a parameter in struts-config. Unfortunately, the Javascript function doesn't seem to work...it does not set the value of the ActionForm property, action. When I tried to print out the value of the action

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread James Mitchell
You will need to create a hidden field named action, with a value of Lookup: html:hidden property=action value=Lookup/ My question to you iswhy Lookup? What does that have to do with your form? Here's a sample: SCRIPT language=JavaScript function submitForm(form) {

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Shyam A
James, Thanks for your mail. I guess I need to elaborate a little bit. My HTML form can be submitted in 2ways. 1. Clicking the Submit button. 2. Clicking the drop-down Clicking the drop-down triggers a different action than clicking the Submit button. Selecting a value in the drop-down would

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
check out dispatch actions.. you can have multiple execute methods with dispatch action ... Your Action class extends DispatchAction instead of action (check the docs) public final ActionForward submit( ActionMapping mapping,

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread James Mitchell
I think I see where you are goingtry setting the form action instead: SCRIPT language=JavaScript function submitForm(form) { document.frm.action=lookup.do; // --Change this to not be hard-coded form.submit(); return true; } /SCRIPT form name=frm action=? method=GET input type=hidden

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
Its better that this is posted to the list as well, after all its a good question and hopefully an adequate answer. script language=javascript type=text/javascript !-- function lookup(form) { form.elements['action'].value = lookup; form.submit(); } //-- /script html:form

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
opps my action in struts config is wrong... But you should still have the right idea.. On Saturday, July 12, 2003, at 12:45 AM, Mark Lowe wrote: Its better that this is posted to the list as well, after all its a good question and hopefully an adequate answer. script language=javascript

RE: Newbie Question: Multiple User Input Screen

2003-06-12 Thread Mike Jasnowski
Yes, if you go to the Struts pages on Jakarta there is an archive. This particular topic has been discussed several times over :) http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42 -Original Message- From: Tuan T [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:14 AM

RE: Newbie Question: Multiple User Input Screen

2003-06-12 Thread Mike Jasnowski
Hint: Search for Wizard -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:20 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Newbie Question: Multiple User Input Screen Yes, if you go to the Struts pages on Jakarta

RE: Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Bailey, Shane C.
Your forward path can be a Tiles Def in the struts-config. You don't want to ever link directly to a Def (or JSP) so it sounds like you are fine. Need more detail otherwise. -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:22 PM To:

RE: Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Davidson, Glenn
Glenn -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:25 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question: Tiles and html:link how to make it work. Your forward path can be a Tiles Def in the struts-config. You don't

RE: Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Bailey, Shane C.
on this forum. -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:45 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question: Tiles and html:link how to make it work. Thanks for the quick response! Lets say I have a menu item

RE: Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Davidson, Glenn
Glenn -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:19 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question: Tiles and html:link how to make it work. Like I said. Don't link to any JSPs from a JSP. So you need to look

RE: Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Bailey, Shane C.
want to go. In posts from yesterday or the day before I posted exactly how I do it for a concrete example. -Original Message- From: Davidson, Glenn [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 4:48 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question: Tiles

RE: Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Mike Jasnowski
Return a forward appropriate to the exception caught? -Original Message- From: Leon [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:45 PM To: Struts Users Mailing List Subject: Newbie question: how does MyAction class handle Exceptions? Hi, I have DataAccessException thrown by

Re: Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Leon
Message - From: Mike Jasnowski [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:45 PM Subject: RE: Newbie question: how does MyAction class handle Exceptions? Return a forward appropriate to the exception caught? -Original Message- From

Re: Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Erik Price
Leon wrote: I should forward an ApplicationException to MyAction class and then, MyAction finds an appropriate jsp based on the message in ApplicationException. But, how can I know the SQLException thrown by persistance tire is duplicate entery SQLException or other SQLException? Put an

RE: Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Bailey, Shane C.
otherwise / /global-exceptions I like keeping the try catches out of my Action class. -Original Message- From: Leon [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:33 PM To: Struts Users Mailing List Subject: Re: Newbie question: how does MyAction class handle

RE: NewBie Question

2003-04-04 Thread Mick . Knutson
Tiles are what you use to put JSP together instead of using include tags. The files you have are still JSP pages, and yes, you can use JS in them just fine. Once the page is at the users browser, it is still 1 web page. That is when the JS actually gets used anyways. As far as XSLT, I can't

RE: NewBie Question

2003-04-04 Thread Karapiperis Dimitris
Vangeli, ta Struts framework den einai tpt allo apo thn efarmogh toy MVC design pattern. Ta Struts soy prosferoyn enan dynato Controller kai aforoyn th domi ths efarmoghs. Sto view enapokeitai se esena ti tha xrhsimopoihseis. Sto .jsp alloste mporeis na exeis JavaScript. XSLT logika tha

RE: NewBie Question

2003-04-04 Thread Tai Nguyen
You took the words right out of my mouth! -Original Message- From: Karapiperis Dimitris [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 6:56 AM To: Struts Users Mailing List Subject: RE: NewBie Question Vangeli, ta Struts framework den einai tpt allo apo thn efarmogh toy MVC

RE: Newbie question

2003-03-11 Thread Jarnot Voytek Contr AU HQ/SC
do a post instead of a get -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Newbie question How can i mask the url in the browser so the

Re: Newbie question

2003-03-11 Thread Stephen Smithstone
id first pass it to a the action needed then do a redirect to another action that would get rid of the url for you maybe On Tuesday 11 March 2003 3:22 pm, James wrote: How can i mask the url in the browser so the user does not see the request parameters..? ie /localhost/myapp/find?id=3 - is

Re: Newbie question

2003-03-11 Thread Jamesey
I am doing a post... but the url still shows localhost/myapp/find.do?id=3 Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] do a post instead of a get -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From:

RE: Newbie question

2003-03-11 Thread Mark Galbreath
Use HTTP POST instead of GET. Mark -Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:23 AM To: [EMAIL PROTECTED] Subject: Newbie question How can i mask the url in the browser so the user does not see the request parameters..? ie

RE: Newbie question

2003-03-11 Thread apachep2
Do you intentionally append id=3 to the url? -Original Message- From: Jamesey [mailto:[EMAIL PROTECTED] Sent: March 11, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Newbie question I am doing a post... but the url still shows localhost/myapp/find.do?id=3 Jarnot Voytek Contr AU HQ

Re: Newbie question

2003-03-11 Thread Jamesey
11, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Newbie question I am doing a post... but the url still shows localhost/myapp/find.do?id=3 Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] do a post instead of a get -- Voytek Jarnot

Re: Newbie question

2003-03-11 Thread Dejan Krsmanovic
What is the method for form? It should be POST, not GET. Dejan - Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:34 PM Subject: Re: Newbie question nope.. its just the property's of my Dynabean.. when i sumbit and the form posts

Re: Newbie question

2003-03-11 Thread Jamesey
11, 2003 4:34 PM Subject: Re: Newbie question nope.. its just the property's of my Dynabean.. when i sumbit and the form posts that what i get.. apachep2 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Do you intentionally append id=3 to the url? -Original

Re: Newbie question

2003-03-11 Thread Jamesey
is the method for form? It should be POST, not GET. Dejan - Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:34 PM Subject: Re: Newbie question nope.. its just the property's of my Dynabean.. when i sumbit and the form posts

Re: Newbie question

2003-03-11 Thread Dejan Krsmanovic
Then you are probably doing redirection somwere in your action class... I am just guessing! Dejan - Original Message - From: Jamesey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 5:03 PM Subject: Re: Newbie question in fact the html:form action='blah blah

RE: Newbie Question: ActionErrors.

2003-02-18 Thread Chen, Gin
the correct way is to define the error in ur properties file. errors.add(ActionErrors.GLOBAL_ERROR,new ActionError(my.error)); Message in Application.resources my.error=my error here -Tim -Original Message- From: James Prance [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Jarrod M. Lugo
: Newbie Question about tiles definitions. I am lost :( If you have *.do mapped to the action servlet, then you will need to request (relative to the webapp of course) /home.do or /products.do. You'll need to switch the action mapping like so: action path=/home forward=tiles.home Or else configure

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-14 Thread Pani, Gourav
'/ load-on-startup2/load-on-startup /servlet servlet-mapping servlet-name='action' url-pattern='/*.do'/ -Original Message- From: Jarrod M. Lugo [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 9:06 AM To: Struts Users Mailing List Subject: RE: Newbie Question about

RE: Newbie Question about tiles definitions. I am lost :(

2003-02-13 Thread John Espey
If you have *.do mapped to the action servlet, then you will need to request (relative to the webapp of course) /home.do or /products.do. You'll need to switch the action mapping like so: action path=/home forward=tiles.home Or else configure the mapping such that an action that automatically

Re: Newbie Question

2003-02-11 Thread Sean Dockery
Wouldn't that be... !A || B - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 01:29 Subject: Re: Newbie Question 2003. február 11. 09:07 dátummal Ray Madigan ezt írtad: Thanks for the advice - i

RE: Newbie Question

2003-02-11 Thread Ray Madigan
11:50 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question This is illegal (you can't embed tags as attributes): logic:equal name=component property=name scope=page value=bean:write name=navigateForm property=component/ If you must use logic such as this, do yourself

Re: Newbie Question

2003-02-11 Thread Gemes Tibor
2003. február 11. 09:07 dátummal Ray Madigan ezt írtad: Thanks for the advice - i didn't know this stuff existed. I was just pondering how to implement logic like if ! A || ( A B ) A !B Tib - To unsubscribe, e-mail:

Re: Newbie Question on Performance

2003-02-10 Thread Davor Cengija
Craig R. McClanahan wrote: On Mon, 10 Feb 2003, Peder Jakobsen wrote: Has anyone had to abandon struts because it was not performant? Does anyone out there serve A LOT of requests? (We run 12 load balanced quad Xeons and we can barely keep up! We have about 1 million users on our

Re: newbie question - usebean

2003-02-10 Thread Nicolas De Loof
Your code doesn't show any html:form tag. This tag is used by struts to set the targeted action, and so the associated bean in some scope. You can use html:text without html:form by setting it's name attribute (name=user in your case). But if your HTML form has to be commited to a Struts action,

Re: Newbie Question on Performance

2003-02-10 Thread Sundar Narasimhan
From: Peder Jakobsen [EMAIL PROTECTED] I'm new to Struts, and so far I'm very happy with what I see. But I have some suspicion that it'll be dead slow. What leads you to this suspicion? There's no way to respond to such a FUD-sounding :-) comment without specifics. Craig: While this is

RE: Newbie Question on Performance

2003-02-10 Thread Mark Galbreath
. ~Hanlon's Razor -Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Davor Cengija Sent: Monday, February 10, 2003 2:53 AM To: [EMAIL PROTECTED] Subject: Re: Newbie Question on Performance Craig R. McClanahan wrote: On Mon, 10 Feb 2003, Peder Jakobsen wrote: Has

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 7:31 AM To: Struts Users Mailing List Subject: Re: newbie question - usebean Your code doesn't show any html:form tag. This tag is used by struts to set the targeted action, and so the associated bean

Re: newbie question - usebean

2003-02-10 Thread Nicolas De Loof
I do have html:form action=action/editUser in the code I just did not included in the email. I also have the following in my jsp: jsp:useBean id=user scope=request class=com.basf.plasticsportal.data.User jsp:setProperty name=user property=* / /jsp:useBean thanks, Diego. You don't

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
AM To: Struts Users Mailing List Subject: Re: newbie question - usebean I do have html:form action=action/editUser in the code I just did not included in the email. I also have the following in my jsp: jsp:useBean id=user scope=request class=com.basf.plasticsportal.data.User jsp:setProperty

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
AM To: Struts Users Mailing List Subject: Re: newbie question - usebean I do have html:form action=action/editUser in the code I just did not included in the email. I also have the following in my jsp: jsp:useBean id=user scope=request class=com.basf.plasticsportal.data.User jsp:setProperty

Re: newbie question: what to use for non-form data population?

2003-02-10 Thread Nicolas De Loof
You can iterate over any Collection (or javaBean that as a property that is a Collection) stored in some scope (request / session / application). For example I used to put List in application scope for allowed values of select inputs. Nico. If i want to use logic:iterate (or something

RE: newbie question: what to use for non-form data population?

2003-02-10 Thread Mark Galbreath
Why don't you want to place the table in a form? That's the easiest way you are going to get/set its values. Mark Galbreath Principal Consultant Workflow Process Engineering and Systems Integration http://www.QAT.com 410-703-367 / 800-799-8545 Never attribute to malice that which can be

Re: RE: newbie question: what to use for non-form data population?

2003-02-10 Thread Jason Vinson
Message--- From: Mark Galbreath [EMAIL PROTECTED] Sent: 02/10/03 11:23 AM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: newbie question: what to use for non-form data population? Why don't you want to place the table in a form? That's the easiest way you are going to get/set its

RE: Newbie Question

2003-02-10 Thread Jacob Hookom
ArrayList components = (ArrayList) service .gatherAccessory(Bean.getContainer()); session.setAttribute(someKey, components); -or- request.setAttribute(someKey, components); !-- jsp -- logic:iterate id=item name=someKey scope=session //or request scope

RE: Newbie Question

2003-02-10 Thread Ray Madigan
Madigan -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:24 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question ArrayList components = (ArrayList) service .gatherAccessory(Bean.getContainer

RE: Newbie Question

2003-02-10 Thread Ray Madigan
To: Struts Users Mailing List Subject: RE: Newbie Question Here is my new code: ArrayList components = ( ArrayList ) service.gatherAccessory Bean.getContainer ( ) ); request.setAttribute ( components, components ); the jsp: logic:iterate id=component name=components scope=request logic:equal name

RE: Newbie Question

2003-02-10 Thread Jacob Hookom
and JSTL, the only Struts tags you should ever use are the html:form tags and possibly bean:message. -Jacob | -Original Message- | From: Ray Madigan [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, February 11, 2003 1:23 AM | To: Struts Users Mailing List | Subject: RE: Newbie Question

RE: Newbie Question on Forms

2003-02-09 Thread Damm, Gary
Yes, when you define the form in your action set the scope to session. This will put the form bean into the session scope. Hope this helps, Gary -Original Message- From: Peder Jakobsen [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 10:50 PM To: [EMAIL PROTECTED] Subject:

Re: Newbie Question on Forms

2003-02-09 Thread ajTreece
Hi Peder... I think all you would have to do is set the scope of the ActionForm to session and you would be good to go. You would just have to be careful about when and how you reset the form for a new collection. Later, ajTreece Peder Jakobsen wrote: Hi, When traversing from page to

RE: Newbie Question on Forms

2003-02-09 Thread Mark Galbreath
You don't have to set the ActionForm to session; its in session scope by default. Mark -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 12:59 AM Hi Peder... I think all you would have to do is set the scope of the ActionForm to session and

Re: Newbie Question on Performance

2003-02-09 Thread Craig R. McClanahan
On Mon, 10 Feb 2003, Peder Jakobsen wrote: Date: Mon, 10 Feb 2003 00:47:13 -0600 From: Peder Jakobsen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Newbie Question on Performance Hi, I'm new to Struts, and so far I'm very happy

RE: newbie question

2003-02-07 Thread Mark Galbreath
I haven't used 1.0.2 since last May and don't remember if there was a big difference in the ActionForm class. I know that upgrading to 1.1b-1 was a bitch, though. As for breaking out of an iteration, take a look at the rest of the logic tag documentation. I'm sure you will have an aha

Re: Newbie question

2003-01-22 Thread Max Cooper
Your lazy (smart!) way #1 is correct. Let Struts instantiate your ActionForms. -Max - Original Message - From: Fred Lamuette [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 4:17 PM Subject: Newbie question For editing an article, i

RE: newbie question

2003-01-15 Thread Mark Galbreath
Read Chapter 4, Programming Jakarta Struts by Chuck Cavaness (O'Reilly 2003). It answers most, if not all, your questions. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 10:56 AM Im new to struts. I have been reading

  1   2   3   >