RE: force precompilation of JSPs

2003-08-05 Thread Amit Kirdatt
Different servlet containers have different ways of doing it, but the following method is part of the spec: http:///MyPage.jsp?jsp_precompile -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 10:53 AM To: 'Struts Users Mailin

RE: multiple forms on one page on JBoss 3.2.1

2003-08-04 Thread Amit Kirdatt
Nevermind, I figured it out! We were missing "property" on an tag. -Original Message----- From: Amit Kirdatt Sent: Monday, August 04, 2003 8:04 AM To: '[EMAIL PROTECTED]' Subject: multiple forms on one page on JBoss 3.2.1 I have a page with two forms. The page wo

multiple forms on one page on JBoss 3.2.1

2003-08-04 Thread Amit Kirdatt
I have a page with two forms. The page works on other servlet containers like tomcat and weblogic, but when we switched to JBoss it could not find any of the form bean elements after the tag on the second form. Any ideas on how to fix this? This e-mail, including attachments, may include confid

RE: reset() in my action form is not working

2003-07-30 Thread Amit Kirdatt
Have you tried request.setAttribute(mapping.getAttribute(), new SampleForm()); ? Although I do agree with Michael. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: reset() in my action form is not working

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
: [OT]http to https shift Hi, this is what i need to do suppose i have a jsp login.jsp and there is a form defined in in like this how can i make this request go using https instead of http Ashish --- Amit Kirdatt <[EMAIL PROTECTED]> wrote: > Well in that case if you have your site runn

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
same will be for websphere Ashish --- Amit Kirdatt <[EMAIL PROTECTED]> wrote: > So your form resides on Websphere and you want to > post it to the tomcat > server? Or is it vice-versa? > Can you please explain what exactly you are trying > to do? > > -Original

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
So your form resides on Websphere and you want to post it to the tomcat server? Or is it vice-versa? Can you please explain what exactly you are trying to do? -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:10 AM To: [EMAIL PROTECTED]

RE: about dependent lists

2003-07-22 Thread Amit Kirdatt
I am assuming both lists are present on the same page! If so on the first list have a onChange javascript event which calls a function that submits the page. When the page is submitted you get the value the user selected on the first list. Use this value to populate the second list in the form, pu

RE: Beginner

2003-07-22 Thread Amit Kirdatt
http://jakarta.apache.org/struts/userGuide/index.html And also here is the tag I am talking about: http://jakarta.apache.org/struts/userGuide/struts-bean.html --Amit -Original Message- From: Radu Focseneanu [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 10:09 AM To: [EMAIL PRO

RE: [newbie]: Accessing labelProperty in

2003-07-22 Thread Amit Kirdatt
n Amit, Sorry, I overlooked your code and missed something. I need to access both the termCode (property) and name(labelProperty) in my action class. Is there a way to do it? Thanks, Shyam --- Amit Kirdatt <[EMAIL PROTECTED]> wrote: > To access the selected value in your action clas

RE: [newbie]: Accessing labelProperty in

2003-07-21 Thread Amit Kirdatt
To access the selected value in your action class ((MyCodeForm)anActionForm).getTermCode() --Amit -Original Message- From: Amit Kirdatt Sent: Monday, July 21, 2003 5:17 PM To: 'Struts Users Mailing List' Subject: RE: [newbie]: Accessing labelProperty in Do the

RE: [newbie]: Accessing labelProperty in

2003-07-21 Thread Amit Kirdatt
Do the following: -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:04 PM To: [EMAIL PROTECTED] Subject: [newbie]: Accessing labelProperty in Hi, I'm using the tag to populate a drop-down list from a collection. My code is as foll

RE: A column consisting of html:select widgets

2003-07-21 Thread Amit Kirdatt
and is in the session scope. On the page load, I'm setting Form.setBlockDataSource(String[]) to appropriate string array represneting the saved value for the row. My dropdowns always show the first option selected. Thanks for the help. ATTA - Original Message ----- From: "A

RE: A column consisting of html:select widgets

2003-07-21 Thread Amit Kirdatt
---- From: "Amit Kirdatt" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 10:58 AM Subject: RE: A column consisting of html:select widgets > Atta, > > In your JSP page do the following > >

RE: A column consisting of html:select widgets

2003-07-21 Thread Amit Kirdatt
Atta, In your JSP page do the following Where the collection myOptions is a List of beans. Those beans have two fields value and label Hope that helps! -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 12:46 PM To: Struts Users Mailing L

RE: clicking a hyperlink to populate a field

2003-07-21 Thread Amit Kirdatt
The parent window would have to be refreshed though for the selected value to show up on the parent form On how to do this here is a link http://forums.devshed.com/archive/1/2002/11/2/46942 I am sure there are other resourcesgoogle it! -Original Message- From: Paul McCulloch [mailto

RE: Complex form data

2003-07-18 Thread Amit Kirdatt
Makes sense now. Thanks! Should this be added to the 'Indexed Property' page in the struts documentation? The examples there are all for fixed sized data structures and don't address this frustrating nuance. Joe -----Original Message- From: Amit Kirdatt [mailto:[EMAIL PROTECTED] Se

RE: Complex form data

2003-07-18 Thread Amit Kirdatt
Joe, I had similar problems...check out this thread http://www.mail-archive.com/[EMAIL PROTECTED]/thrd3.html#73162 thanks, Amit -Original Message- From: Joe Zendle [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 9:31 AM To: Struts Users Mailing List Subject: Complex form data Hi

RE: action mapping 'input' question

2003-07-18 Thread Amit Kirdatt
You can but have to account for the state the form associated with /MyAction.do. Before I try to suggest a solution can you please tell us specifically what problem you are experiencing? -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 9:46 AM To

RE: [SYNTAX] embedding struts tag in out.write problem

2003-07-16 Thread Amit Kirdatt
Also why don't you try something like this -- Or whatever other tag you want! -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:05 AM To: Struts Users Mailing List Subject: RE: [SYNTAX] embedding struts tag in out.write problem That

RE: login framework

2003-07-15 Thread Amit Kirdatt
HttpServletRequest has a method called getHeader(String name) use that with a paramater of "Referer" which will give you the page the user came from. Look at the Servlet specification for all your other answers. --Amit -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sen

RE: Indexed form values

2003-07-15 Thread Amit Kirdatt
ialize all values less than or equal to the index that are null. i.e. getObject(int index) sandeep --- Amit Kirdatt <[EMAIL PROTECTED]> wrote: > I have a struts form where I am doing the following: > > scope="request"> >property="arrayList1

RE: URL changed by user - how to restrict?

2003-07-15 Thread Amit Kirdatt
Sriram, I would suggest you put sensitive information like that in a user's session and not in the query string. thanks, Amit -Original Message- From: sriram [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 9:10 AM To: 'Struts Users Mailing List' Subject: URL changed by user - how

RE: URL validation with struts???

2003-07-15 Thread Amit Kirdatt
I think the URL validation should be done in the form's validate() method. -Original Message- From: Dichotomy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 11:48 AM To: Struts Users Mailing List Subject: Re: URL validation with struts??? Steps: 1) Use a regular expression to c

Indexed form values

2003-07-14 Thread Amit Kirdatt
I have a struts form where I am doing the following: I have to "carry" these hidden values thru 3 pages before inserting into the database, the first page is where these values get set. On the second page the values populate correctly, but on the sec