bean.write date format
Posted on 2006-07-19
I have a Model class which fetches all the records in Arraylist.
Then I have jsp file with this iteration
<logic:iterate id='browseall' name='posts'>
I set the arraylist to this post iteration.Like this
HListModel pRec= new HListModel(conn);
ArrayList post_Hash = (ArrayList)pRec.getRecordsForPost();
Displaying is jsp at present like this
<bean:write name='browseall' property='value(date_created)' filter='false' /></td>
displays 2006-07-19 07:56:56
The date saved as timestamp in the datamodel 2006-07-19 07:56:56
I want to display date in my JSP like Jul 19, '06.
How this could be done. Some code will be appriciated.