Hi Nguyen,
if You would be using eclipse or idea You would have never hit such a
problem, so i encourage You to install and use one and not care about
such problems any more.
And the problem is NPE in line:
dr.setId(0);
Check your logs to see it.
Best greetings,
Pawel Wielgus.
2009/12/12, Nguyen
dear all
in JSP file i have
in struts.xml file i have
/C0031_List.jsp
/C0032_Add.jsp
in Java file i have
public List getMainCategory() {
List ls = null;
DropDownList dr = null;
dr.setId(0);
dr.setName("--please select one of these--");
ls.add(dr);
return ls;
}
but the error appear
tag 'select'
Problem solved already...i need to set the option to be selected as below
Testing
Sorry for my stupid question>"<
--
View this message in context:
http://www.nabble.com/Struts2-and-html-select-tag-problem-tp25763661p25764804.html
Sent from the Struts - User mailing list archive at
tring[] deleteList = request.getParameterValues("deleteList");
my deleteList is null, which means i'm not able to retrieve data from the
submitted CUD form. Any idea on this issue?
--
View this message in context:
http://www.nabble.com/Struts2-and-html-select-tag-problem-tp2576366
4 matches
Mail list logo