File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes display format date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display format date" Watch "display format date" New topic

display format date

Gabriela Cristian

Joined: Dec 02, 2008
Posts: 18

i use display tag and want to format the date:

This works does not work in some pages...which is wierd. But when i wanna format the date in this case:


i don't get any response... what am i doing wrong?
Thank you
Aditya Keyal
Ranch Hand

Joined: Dec 01, 2008
Posts: 71
The reason you do not get any response when you use <html:text is because ><html:text does NOT contain any attribute called format. To display a date in html:text you have to set the correct date string in the request/form and then display it correspondingly.

The display:column issue needs to be checked. Can you check the server logs when the formatting does not work.>

- Aditya Webservices Blog
I agree. Here's the link:
subject: display format date