The only way I could get the prefix and suffix to work was by explicitly
asking for them in the jsp, like:
logic:messagesPresent
hr
bean:message key=errors.header/
ul
html:messages id=error
bean:message
Thank you very much for this tip, Melissa. I didn't know about this link.
I hate asking questions that I know have already been answered. Hopefully
this new way to search (new to me anyway) will cut down on the repeats and
help find solutions more quickly. Is this link on the Struts website?
I'm writing a service that runs continually and produces objects that I want
to put into a keyed pool. Then there are consumers that will get and remove
the objects based on the key. If the key is not found yet, the consumer
should wait until it is there or a timeout period is reached. I
I have been looking into the formatKey option of the bean:write tag.
I have format.creditlimit=$###,###,##0.00 in my property file.
My jsp has the following:
bean:write name=responseBean property=creditLimit
formatKey=format.creditlimit/
I am trying to work only with strings between by
Did you get what you were looking for?
In this example,
creditLimit is the key to a value inside a HashMap residing in someBean
=
JSP Code
bean:write name=someBean property=keyedData(creditLimit)/
=
Java
I have a struts front-end that communicates to a CICS backend using TCP/IP
Sockets. My communications are simple, but I am getting a SocketException,
connection reset by peer.
Here are my communications
1. write a string to the output stream and flush
2. buffered read a string
3. write a
I have done some archive searching and cannot seem to hit this topic.
My business tier is going to be sending me a chunk of data that is delimited
into key/value pairs. I want to parse this data and put it into a
Hashtable. I want to be able to access this data from a jsp.
1. Is Hashtable
Struts 1.1-b2 check out org.apache.struts.util.LabelValueBean
Joe
-Original Message-
From: John Raley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 August 2002 12:28 AM
To: Struts Users Mailing List
Subject: Re: Want to Access Key/Value Pairs in Hashtable within jsp
Morycz, Felicia V wrote
Mailing List
Subject: Re: Want to Access Key/Value Pairs in Hashtable within jsp
Morycz, Felicia V wrote:
I have done some archive searching and cannot seem to hit this topic.
My business tier is going to be sending me a chunk of data that is
delimited
into key/value pairs. I want to parse
I got the dynclass way to work. Thanks for providing a solution!
jsp:useBean id=variableDataBean scope=session type=java.lang.Object/
-Original Message-
From: Morycz, Felicia V [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 12:55 PM
To: 'Struts Users Mailing List'
Subject
I got your Hashmap way to work as well as the dynclass way. Thanks for your
example code.
So which is the preferred way of doing this:
1. use dynclass to dynamically create a bean (called variableDataBean in
this example). Then in your jsp:
//declare a the dyn bean
jsp:useBean
1. I made changes in my ApplicationResource.properties file that caused a
JasperException stating that is could not find a property. I restored from
my backup and the problem is fixed, but can you share some known pitfalls in
modifying a property file? I seem to remember something about an
I have been investigating the best place to manage my DTOs and your example
works for the case where one view or formbean collects all the data needed
for a DTO. But for the case where you have multiple views to collect all
the data needed for one or more DTOs that are needed by a business layer
You are not the only one who never received the email for confirmation while
trying to unsubscribe, Supriya. I will try again too.
-Original Message-
From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Unsubscibe
Thanks
14 matches
Mail list logo