2008/3/6, ryan webb [EMAIL PROTECTED]:
html:form action=sortList.do
html:select property=formatList
html:option value=format/
html:option value=DVD+R/
html:option value=DVD-R/
/html:select
html:submit value=Sort Now/
/html:form
when I am debugging, I
Dear Antonio,
Yes I did select an element I choose DVD+R then when I click sort now button
the WebPage exploded
containing Tomcat Error Message. (null pointer exception).
By the way, thank you very much for reading my email and for the reply..=)
God bless,
Ryan Webb --Philippines
On Thu, Mar
2008/3/6, ryan webb [EMAIL PROTECTED]:
Yes I did select an element I choose DVD+R then when I click sort now
button
the WebPage exploded
containing Tomcat Error Message. (null pointer exception).
Mmmm this is strange. Can I see your Action, ActionForm and
struts-config.xml (related to this
Yes I agree..I cannot find the problem, I think it is much better if there's
2 pairs of eyes looking.
Here is the Action code.
public class SortListAction extends org.apache.struts.action.Action {
/* forward name=success path= */
private final static String SORT_LIST = sortList;
2008/3/6, ryan webb [EMAIL PROTECTED]:
form-bean name=SortListActionForm type=
formbeans.SortListActionForm/
form-bean name=SortListActionForm type=
formbeans.SortListActionForm/
Why two form beans with the same name? Is it a typing mistake, or an error
of your code?
Dear Antonio,
That is same in my source code..do you think that is the cause?
I will check that one..And send you informations soon!
God bless,
Ryan Webb -- Philippines
On Thu, Mar 6, 2008 at 5:03 PM, Antonio Petrelli [EMAIL PROTECTED]
wrote:
2008/3/6, ryan webb [EMAIL PROTECTED]:
Dear fellow Struts users,
I am new in using Struts and I request your help.
Situation:
I am using Netbeans 6.0; Struts 1.2.9; Tomcat 6.0.14
I created an html:select property=formatList in my jsp page, what is it
does is for sorting purposes.
here's the snippet:
html:form
7 matches
Mail list logo