I have an object as follows
public class Contact {
...
private String lName; // the contact's last name
private String fax; // the contact's fax number
...
public String getLName() {
return lName;
}
public String getFax() {
return fax;
}
...
}
Then I use
. Regardless, I encourage you to use
lastName instead because lName is rather ugly and confusing.
David
--- Wes Rood [EMAIL PROTECTED] wrote:
I have an object as follows
public class Contact {
...
private String lName; // the contact's last name
private String fax; // the contact's fax number
getLName isn't).
Use lastName and everything will work fine :-).
David
--- Wes Rood [EMAIL PROTECTED] wrote:
Could you point me to more information on this behavior?
I'm still confused as to why it will capitailze the f in fax to
locate the getFax() method, but it will not capitalize the l
I'm interested in other solutions to this as well.
My current solution to the same problem is to store key information in
the session and use that in conjunction with information from the url.
So, using your example, you would store the merchant id in the session
as soon as the user begins
Currently I used a ForgotPassword.do, and in the action I check if
there's an 'action' parameter with the value of 'send'. If the 'action'
parameter does not exist then I locally forward to the
ForgotPassword.jsp using struts-config.xml local forwards configuration.
If it does exist and equals to
I've searched the archives for this type of discussion but I'm not
really finding what I want.
I'd like to reuse the same jsp form for both inserts and updates of a
particular set of data. My current solution is to come into the action
with a flag of new or edit. If edit, the action will
Woops... after thinking about this more, I realized that I *have* to put
the primary key in the form somewhere, or I won't know what record to
update... I'd still like to hear your experiences in this area though...
Thanks
Wes Rood wrote:
I've searched the archives for this type of discussion
Q1:
Look at OSCore from Opensymphony:
http://www.opensymphony.com/oscore/
Specifically, the plainTextToHtml method in the TextUtils class:
http://www.opensymphony.com/oscore/api/com/opensymphony/util/TextUtils.html#plainTextToHtml(java.lang.String)
This does exactly what Andrew mentions, plus it
Hi
I was trying to convert a logic:iterate into a nested:iterate and I'm
getting a NullPointerException.
First off, the Action is adding a List to the request like this:
request.setAttribute(courseProviderList, theList);
and the JSP is successfully iterating through the objects using
9 matches
Mail list logo