I wonder whether someboyd knows how to do the following:
If I have:
html:radio value=2 property=answer/
How do i change this so the value tag takes the id from a bean instead of 2
Is it like this:
html:radio value= bean:write id=AnswerBean property=answerId/
property=answer/
Or is there
Ok can somebody clarify this, I have one JSP that uses two actions,
If I use Action A exclusively then only one session will be used but if
I try to use Action B from the same JSP will a new session be
created?
Jon.
*-*
Jonathan Holloway,
I'm currently using a nested:form part inside a nested:iterate loop
to display a number of different items along with a corresponding
edit and delete button for each item. The problem I have is that
I can't refer to the id of the item using:
nested:hidden property=addressId/
Could somebody
Could somebody tell me whether the followign line is an error
for the indexed=true property of the nested tags? The number
value seems to be outside the quotes,
td
input type=submit name=action[0] value=Edit
/td
td
input type=submit name=action[0]
Does anybody know when a new session is started?
Is it in any of the following:
1. When a new action is selected?
2. When a new page is linked to on the client side?
3. When a page is returned to via an action forward?
Also when is a new actionform created? Is it for every request to a new
Hi,
I'm curerntly having problems with sessions in Struts.
I have two JSP's both of which point to the same action.
In my first JSP I have a number of basic properties and a list of addresses
as shown below:
*Name: Bill Blah
*Age: 23
* Addresses (list)
23 Glamorgan Street | ER34 5RT |
Try
http://www.mail-archive.com
Instead.. : )
Jon
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 3:51 PM
Subject: Searching the Archives?
I feel dumb for asking this, but I am trying to
Does anybody know why the following is casuing me so many problems.
I'm using LookupDispatchAction and have a number of methods defined
in my action class including an execute method. The problem is that
the execute method ALWAYS gets executed and not the intended method.
I have in the
Does anybody know how to add a new Object to a collection
that exists in an ActionForm.
public class MonkeyForm extends Actionform {
public ArrayList bananas;
...
...
public void setAddBananaForMonkey(Banana newBanana) {
bananas.add(newBanana)
}
}
I know I can
I've successfully built a page that iterates over a nested arraylist
displaying the contents of the arraylist in the following way
---
| Title | Code | Available? | Edit | Remove |
|---|
| rara | 1220
You don't actually need to create three forms. All you need to do is to
create one action form
for your top level form, in your case LineItem. The other two are standard
Java classes, just
make sure they implement Serializable. You can just refer to these in your
main form in the
following way
Ok, I've upgraded to tiles and have the following...
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insert page=../template.jsp flush=true
tiles:put name=header value=../header.html /
tiles:put name=mainmenu value=../mainmenu.html /
tiles:put name=message
For those of you struggling with Struts at the moment, I know I am : ) there's a
good resource at:
http://struts.application-servers.com/
A new version has just been released and it looks quite nifty, take a look at the
demo application on:
Users Mailing List [EMAIL PROTECTED]; JONATHAN
PHILIP HOLLOWAY [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 4:25 PM
Subject: Re: A Useful Struts Resource
On Wednesday, January 22, 2003, 11:22:18 AM, JONATHAN wrote:
JPH The only I problem is I don't know how compatible this is gonna
Could somebody tell me if it's possible to get a handle on the action servlet
from an action class and if so how this is actually done.
Many thanks in advance,
Jonathan Holloway.
*-*
Jonathan Holloway,
Dept. Of Computer Science,
I've currently got a problem with my template and it doesn't actually display
the pages that are referrred to in the parent folder. I have the template
defined as follows butI can't seem to reference mainmenu.html,
message.html, submenu.html or footer.html in the following way. Could
somebody
Hi everyone,
I'm wondering about the ways of managing sessions in Struts and wanted
to know out of these two ways which was the better way of doing things:
1. Storing things within the standard servlet session
2. Using a UserWrapper object and storing that within the session.
Is the second way
Ok for the heathens amongst you its also here as a pdf.
I didn't want to convert it quite yet : )
http://users.aber.ac.uk/jph8/frameworks.pdf
Jon.
- Original Message -
From: Lenharcik, Juraj [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, January 09,
I'm using Monkey Tree but I can't seem to get it to work under Struts 1.1,
which version are you using it under at present? If it's 1.1 could you give
me a few pointers on how you got it working or mail me the war file if
that's not being too cheeky : )
Jon.
- Original Message -
From:
Has anybody attempted to use the example in the Programming Jakarta Struts book
for the JNDI stuff. It defines two things:
a) A JNDIConnectorPlugin class that takes the properties from the struts-config.xml
configuration file.
b) An EJBHomeFactory that uses the JNDIConnectorPlugin to lookup a
Could somebody please tell me whether I can use the following:
message-resources parameter=applicationresources.properties/
to define my applicationresources.properties file (internationlisation file) under
Struts 1.1 or if I have to use the Struts 1.0 and web.xml way of specifying
the file:
21 matches
Mail list logo