File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display format date" Watch "display format date" New topic
Author

display format date

Gabriela Cristian
Greenhorn

Joined: Dec 02, 2008
Posts: 18

Hello
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:

and

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: http://aspose.com/file-tools
 
subject: display format date