I am getting a left over session after a user logs out.
The last thing done in the logout Action class is to call the invalidate
method on the session.
Then this request goes to the forward
forward name = success path = /goodbye.jsp/
this jsp has the page session = false thingy
but
Hello, I am upgrading an existing app from struts 1.0 to struts 1.1
Can anyone point me two a guide for this.
thanks
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of the gods, will drive our ships to new lands
Fight the horde, Sing and
.
Hope this helps.
-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]
Sent: September 6, 2003 2:34 PM
To: ' ([EMAIL PROTECTED])'
Subject: iterator tag
What is the correct behavior of the
logic:iterator
tag when given a collection of size zero
(when
What is the correct behavior of the
logic:iterator
tag when given a collection of size zero
(when the named collection is a brand new linkedList this tag causes a page
to crash??)
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of
I have done stuff like that. In my case I had two action entries in
struts.xml each one defining a form. Both of these mapped to the same
action class.
Just make sure they have unique paths
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The
I have done stuff like that. In my case I had two action entries in
struts.xml each one defining a form.
Both of these mapped to the same action class.
Just make sure they have unique paths
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 06, 2003
Is there any way to do this:
html:button property = %=variable% blah/html:button
thanks
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of the gods, will drive our ships to new lands
Fight the horde, Sing and cry
Valhalla I am coming
Hello
I am trying to do this:
html:button property= someButton
onClick=doSomething(%=somedynamicvariable%) Do Something
/html:button
Basically trying to pass a dynamic variable as arg to java script function
within the struts html:button tag.
I know I can build up the string in
When using html:select the fields that do not use the multiple = true
attribute are correctly populated from the form bean during a round trip to
the server but the fields using multiple = true are not.
The getter and setter methods are getting called (sys out showing up), and
the array type is
: Re: select multiple
I just went through this.
- Original Message -
From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:56 PM
Subject: select multiple
When using html:select the fields that do not use the multiple = true
attribute
Hello, I am looking for resources that would help me to provide the ability
for a user to customize their home page.
Both informational and functional resources would be of help.
thanks
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of
I have a form, that cannot have a submit button (unless there is some way to
have it be hidden)
How to I get that form to submit when the enter key is pressed.
thanks
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of the gods, will drive
this:
document.onkeypress = documentKeypress;
function documentKeypress(e){
var key = general_getEventKeyCode(e);
if(key == 13){
search();//js action that calls document.formName.submit();
}
}
LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] on 01/31/2003
Hello, I am trying to call a java script function and it is not working, are
there any known issues with this sort of thing.
Here is some code:
html:form action = SomeAction
html:select property = someProp onchange = reset()
html:options
collection=aCollection
property=key
is that there is a built-in javascript reset()
method that's overriding your custom reset().
Try calling your method doReset() or something else.
BAL
From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: ' ([EMAIL PROTECTED])' [EMAIL PROTECTED]
Subject
Thanks Mark, I don't know how I missed that tag.
Melonie, if I understand you correctly, I am not using hidden fields and I
get back the key value pair in the form associated with the action class,
The collection I am referencing is separate from the form. The form does not
contain a list
OK, yea it appears from some of the responses that there is some confusion,
I am doing something that is really simple.
Here is the form from the jsp-- dropdown.jsp:
html:form action = DropDownAction name = dropDownFormBean type =
somePath.DropDownFormBean
html:select property =
-Original Message-
From: Damm, Gary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 10:31 AM
To: Struts Users Mailing List
Subject: RE: form scope
gary wrote:
Try setting the form scope in your struts-config to request. I believe
by default it is set to session.
When I
I fixed it. thanks gary you got me thinking about the scope the form tag was
searching in:
I set the scope of the form on the JSP PAGE to request and everything works
as expected.
Thanks everyone,
We come from the land of the ice and snow
With the midnight sun, where the hot springs
-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:49 AM
To: ' ([EMAIL PROTECTED])'
Subject: form scope
I fixed it. thanks gary you got me thinking about the scope
the form tag was
searching in:
I set the scope of the form on the JSP
I am trying something like this:
html:select property = whatever
logic:iterate id = item name = someArray
html:option value = thisIsMyProblem %=item% /html:option
/logic:iterate
/htmlselect
I need the vaule of item to go where thisIsMyProblem is similar to the use
of
I am using the html:option tag
I must set the scope of the parent form to session for the tag to generate
the correct selected = selected
Html on the page when the form is submitted (it is bouncing back to the same
page)
Why is this?
The request hits the server with the values in it
The
-Original Message-
From: Joe Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 5:18 PM
To: Struts Users Mailing List
Subject: RE: scope
LDHBe The jsp containing the html:option tag is the last
thing the request is
LDHBe forwarded to
The forwarded page does not
to session, but this is without diving into the tag lib
code.
-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 6:02 PM
To: 'Struts Users Mailing List'
Subject: RE: scope
-Original Message-
From: Joe Barefoot [mailto
If this is not the correct forum for tag-lib questions someone let me know.
Does anyone know of issues when using the bean:include tag with https
The call:
bean:include id = myInclude page = /includeTest.jsp /
the error:
Cannot create include URL: java.net.MalformedURLException: unknown
Hi,
I have a jsp with the struts bean taglib defined and the following line :
bean:message key=index.title /
In struts-config.xml I have the following :
message-resources parameter=MyAppResources /
And I put MyAppResources.properties in
tomcat/webapps/applicationName/WEB-INF/classes
when
I am a newbie but I am a little confused about the following.
In the struts api it states the following about the forward property of the
action mapping class
Exactly one of the forward, include, or type properties must be specified.
But, in the examples I downloaded with the struts package
27 matches
Mail list logo