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
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
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
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
: [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
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
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]
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
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
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
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
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
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
----
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
>
>
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
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
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
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
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
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
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
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
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
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
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
25 matches
Mail list logo