Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

aye thwe

+ Follow
since Jul 09, 2010
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by aye thwe

Hi everybody,
I use displaytag to show my data. It's all OK in showing the list.
But when i exporting data to excel, NO data is shown in excel. Just only show header title in excel.
Please help me.

Thanks a lot.
Hi Monu,
I m a newbie to android too and i found that exception too.
In my manifest i already put <uses-permission>, but still have this exception.
here is my create Feed method
(that's from Newsdroid tutorial..)

public void createFeed(Context ctx,String linktext) throws ParserConfigurationException, SAXException, IOException
targetFlag = TARGET_FEED;

try {

URL url = new URL(linktext.toString());
droidDB = new NewsDroidDB(ctx);;

SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
RSSHandler myExampleHandler = new RSSHandler();
InputStream mystream = null;
mystream = url.openStream();
}catch (Exception e)
Log.e("RSS Handler", e.toString());
InputSource is = new InputSource(mystream);

try {
} catch (SAXException e) {

Log.e("xr.pasrse(is)", e.toString());

} catch (Exception e) {

Log.e("RSS Handler", e.toString());

7 years ago
hello Ankit,
thank you for your reply.
yes ..selectedRoles contains objects and i change my s:checkboxlist as you told
it all works!!
really really thanks Ankit
7 years ago
I am using struts 2 checkboxlist to display the list of checkboxes... Everything works fine except I am unable to preselect the checkboxes at the time of update...
allRoles is an arraylist that contains all roles from database.
selectedRoles is also an arraylist that contains roles by each user

I want all roles with selected roles checked.

In my jsp, I wrote..

<s:checkboxlist list="allRoles" name="roles" listKey="rolesid" listValue="rolesDescription" value="selectedRoles"/>

it doesn't work.
I have search extensively on google, but no help yet.. anyone can help me please.

7 years ago