thanks to all!!!! what a cracks u r
2010/6/8 sandeep kotha <[email protected]> > I agree with ken simple best thing to do > > <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> > <sx:head /> > <sx:datetimepicker key="bean.date" displayFormat="dd/MM/yyyy"/>. > > On 8 June 2010 23:09, lucas owen <[email protected]> wrote: > > > Hi Struts users! > > > > > > I need to present a java.util.Date in a jsp. It has to be within a > > s:textfield because the user can modify/edit this date. > > > > The problem is when I display the date <s:textfield name="myDate"/>, it > > shows the date with a wrong format. > > > > I can use <fmt:formatDate value="${myDate}" pattern="dd/MM/yyyy" /> but > in > > this case the date wouldnt be editable... > > > > > > any ideas??? > > > > Thanks in advance! > > >

