Hi Lucas, You can use some component based on jQuery to format your date and edit as well.
See here: http://digitalbush.com/projects/masked-input-plugin/ I use this component on my project. Piece of cake! Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 2:39 PM, lucas owen <sr.ilus...@gmail.com> 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! >