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 - From

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 () { } } 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 found that >

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: Mo

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
> To: <[EMAIL PROTECTED]> Sent: 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 reque

Re: Newbie question....redirect

2003-11-05 Thread Marcella Turner
Loof" <[EMAIL PROTECTED]> 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 tha

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 . Use a requestDispatcher in your action and call sendRedirect(), or create a new JSP with a http:/

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 . 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 anhow.. good luck jag

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 since user has not pressed "get" button. Here is my display code: .. I only use bean:write tag to output individual table d

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: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
', otherwise 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: Than

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]> wr

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 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 : -Original Message- From: victor gusz [mailto:[E

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

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 about form name

2003-07-30 Thread Alex Shneyderman
Your action is configured with a form name. Lookup action element in your struts-config.xml, Attribute of interest there is 'name' is the name of the form. When you specify action in your html:form Struts connects the dots for you. That form will be used to populate values of -Original Mes

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 in struts becomes: http://jakarta.apache.org/struts/userGuide/struts-html.html#button in struts becomes: Hope this helps! --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chi

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 s

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 me

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 productBean

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 produc

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(); var productBeans = new Array(); productBeans[] = ["", ""]; products[] = productBeans; Quot

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

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 examp

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 get

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 request.addAttribute("listForJavas

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:

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 a

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 > selecte

RE: Newbie question about form variables.

2003-07-17 Thread Norr, Peter
If my form bean is DynaActionForm.. How do I do something like this... -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: Newbie question about form variables. In answer to your second

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
ruts 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 Mailing List&

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!

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 Adam Levine
ts Users Mailing List" <[EMAIL 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 -

RE: Newbie question about form variables.

2003-07-17 Thread Mike Jasnowski
named "state", with a getState() accessor: Would write out the value of the "state" property Is this what you meant? -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:02 PM To: 'Struts Users Mailing List' Subject:

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 Adam Levine
]> To: "'Struts Users Mailing List'" <[EMAIL 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 Jasnows

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 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: Newbie

Re: newbie question - setting form parameter in Javascript

2003-07-13 Thread Mark Lowe
Okay man..If you mail me your form bean, action class, jsp and struts config i'll take a look.. Just to double check here's the stuff I'm pretty confident should work.. I wouldn't have action as a form bean property (thus no need to define getAction in your form bean), its not really part of yo

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 "ac

Re: newbie question - setting form parameter in Javascript

2003-07-12 Thread Rick Reumann
> > My Javascript function is given below: > > > > > > > >

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-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. ... //struts config The only thing you'd have to watch w

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: function submitForm(form) { document.frm.action="lookup.do"; // <--Change this to not be hard-coded form.submit(); return true; } Test Test2 On Friday 11 July 2003 15:00, Shyam A wrote

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 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 wou

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": My question to you iswhy "Lookup"? What does that have to do with your form? Here's a sample: function submitForm(form) { form.action.value="Lookup"; form.submit(); return true; } Test

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

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 To

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

2003-06-05 Thread Bailey, Shane C.
f that is where I 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: N

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

2003-06-05 Thread Davidson, Glenn
g this? Thanks 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 fr

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

2003-06-05 Thread Bailey, Shane C.
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" that I want to use to call another jsp page. This new jsp page is defined as a new tile. More detail

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

2003-06-05 Thread Davidson, Glenn
and body.jsp defined. Thanks 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

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: 'S

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

2003-05-27 Thread Bailey, Shane C.
on or ThisHappenedException and then in the struts config have 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 MyA

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 informati

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 exceptio

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

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-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 mporei

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 he

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 t

Re: Newbie question

2003-03-11 Thread Jamesey
message news:[EMAIL PROTECTED] > 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 qu

Re: Newbie question

2003-03-11 Thread Jamesey
TECTED]> > 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 that what i get.. > > > > > > &q

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 Dynabe

Re: Newbie question

2003-03-11 Thread Jamesey
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/SC" <[EMAIL PROTECTED]>

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 Con

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 /localhost/myap

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-

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 -

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

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 Pani, Gourav
in the web.xml file 2 mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 9:06 AM To: Struts Users Mailing List Subject: RE: Newbie Question about tiles definitions. I am lost :( I changed the action mapping, but I don't think I ha

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

2003-02-14 Thread Jarrod M. Lugo
t: RE: 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: Or else configure t

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: Or else configure the mapping such that an action that automatically forwards to "success" (I think For

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 Ra

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

2003-02-11 Thread Ray Madigan
, February 10, 2003 11:50 PM To: 'Struts Users Mailing List' Subject: RE: Newbie Question This is illegal (you can't embed tags as attributes): "> If you must use logic such as this, do yourself a favor and switch to JSTL :-)

RE: Newbie Question

2003-02-10 Thread Jacob Hookom
about JSTL. With Struts 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: R

RE: Newbie Question

2003-02-10 Thread Ray Madigan
: 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: "> I get the Servle

RE: Newbie Question

2003-02-10 Thread Ray 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.getContai

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); //or request scope -Jacob | -Original Message- | From: Ray Madig

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

2003-02-10 Thread Jason Vinson
ginal 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&

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 adequ

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 simil

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:50 AM To: Struts Users Mailing List Subject: Re: newbie question - usebean > I do have in the code I just did not > included in the email. > I also have the following in my jsp: > > class="com.basf.plasticsportal.data.Use

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:50 AM To: Struts Users Mailing List Subject: Re: newbie question - usebean > I do have in the code I just did not > included in the email. > I also have the following in my jsp: > > class="com.basf.plasticsportal.data.Use

Re: newbie question - usebean

2003-02-10 Thread Nicolas De Loof
> I do have in the code I just did not > included in the email. > I also have the following in my jsp: > > class="com.basf.plasticsportal.data.User"> > > > > thanks, > > Diego. > You don't need : this jsp tag is used to create a script variable (named as "id" defines) from a bean in some scop

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
I do have in the code I just did not included in the email. I also have the following in my jsp: thanks, Diego. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 7:31 AM To: Struts Users Mailing List Subject: Re: newbie

RE: Newbie Question on Performance

2003-02-10 Thread Mark Galbreath
ined by stupidity." ~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 Mo

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

Re: newbie question - usebean

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

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 o

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

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 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 p

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: Newb

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 tag documentation. I'm sure you will have an "aha" experience (e

  1   2   3   >