Taglib (How formatting a date when you use a taglib)

Hi!
I have used the following taglib to show the date in a jsp:
<td><c:out value='${my_object.date}'/></td> // (Where date is a Timestamp)
And i obtain:
2004-05-25 00:00:00.0
But i would like to obtain the following the same date in the following format:
25-05-2004
Somebody know how i could obtaint it?
Thanks in advance..
Mary

Hi!
A lot thanks to you that answering to me....i really appreciate that ;)
Your answer was correct.....and it was usefull to me.....but there is a little mistake in the sintaxis:
The correct is using:
"formatDate " and not "date"
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:formatDate value="${my_object.date}" type="date" datestyle="short"/>
or
<fmt:formatDate value="${my_object.date}" pattern ="dd/MM/yyyy"/>
I did this reply...if somebody has a similar doubt...Thank you evnafets! ......you help to me a lot!
Mary

Similar Messages

  • How to decrypt data when you can't get the private key in Windows?

    I'm very confuse. My english is poor, but I try to say my question clearly.
    When browser connects to a https website which needs client certificate to authenticate the identity, the browser will send client certificate to web server.
    Then the web server will use the certificate to encrypt some data and send it to browser.
    Then broswer should have private key to decrypt that.
    But as I know, if I install a pfx format personal certificate, I can set can't export private key, which means you can't get the private key to use it. So how can
    the browser decrypt the data without private key?
    By the way, what is CSP, use CSP's interface can we use CryptoAPI
    to decrypt data without private key?

    Answer for question is  "you cant".. 
    "How to decrypt data when you can't get the private key in Windows?"
    Read more 
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa387460(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb427432(v=vs.85).aspx
    http://technet.microsoft.com/en-us/library/dd277320.aspx
    http://en.wikipedia.org/wiki/Public-key_cryptography

  • Are messages sorted by date when you use spotlight search on iphone / ipad?

    When you use spotlight search on an ipad or iphone, and you are searching specifically for text messages,  how are the results sorted?
    it doesnt look like they sort by date modified, or do they?

    i mean Imessages not SMS messages

  • Sharing iPad2:  how to protect my own data when others use it?

    A single iPad2 is shared with others.  How do we protect individual data when others use the iPad?

    I use iCab and Comcast email with no problems. Try restarting your iPad. Try quitting iCab, restart the iPad and then try again. Just keep fighting the loop and see if you can ultimately get it to work if you have to.
    Try using the Connect Lite version of the Xfinity/Comast mail on the iPad. You will have to change that in the preferences on the server. It is in the general section. You want to select Xfinity Connect Lite. I have Comcst and I think this makes it a little easier to navigate and its a little more iPad friendly.
    If you want to be able to write mail in the Comcast webmail on the iPad you have to change to use Plain Text instead of HTML in the Composing preference. If you don't, the keyboard will not popup when you tap in the text field. You will be able to enter the email address in the To: field and the subject in the subject line but that is all unless you switch to plain text.
    I actually prefer the mail app on the iPad to using the Comcast webmail but that's just my preference.

  • TS1424 How to fix iTunes when you get this you can download past purchases on this computer with just one apple ID every 90 days. This computer can be used with a different apple iD in 50 days

    How to fix iTunes when you get this you can download past purchases on this computer with just one apple ID every 90 days. This computer can be used with a different apple iD in 50 days

    hi i dont know if this will work for anyone but i had not been on itunes for sometime but today i went on to watch a new episode of walking dead but it said i still had to wait 36 days out of the 90days , i managed to get my episode to download load by clicking my apple id in itunes going to account and at the very bottom off the page there is a button that says reset all warnings for buying and downloading i pressed this then it let me download hope this works for you worked for me

  • Time is delayed by 10 minutes when you use Automatically Date & Time

    Time is delayed by 10 minutes when you use Automatically Date & Time in France

    It is not carrier as all my Apple products where up to 10 minutes fast. I had to reset each product to the correct time. I'm in New Zealand.

  • Does anybody know how to download songs without having to pay for them when you use your voucher. I have redeemed it and have £15 in my account yet everytime I go to download a song it's trying to get me to pay!!! Please help?

    Does anybody know how to download songs without having to pay for them when you use your voucher. I have redeemed it and have £15 in my account yet everytime I go to download a song it's trying to get me to pay!!! Please help?

    hiya. thanks for your suggestion. i just tried it and it worked so thanks XD
    i wish apple would make an "exclude" option though tbh.
    i have some others called ... in the name "...soundtrack" (one word) or "hidden track" and "teaching track" !
    i've got another one literally called "track by track walk through" lol
    now im wishing there was just an option to select these oddballs and exclude them individually.
    i cant come up with rules for every single possibility, but i cannnn eliminate those odd songs when i see them if there was an exclude option.
    but thanks anyway xx

  • How can I add a dictionary to when you use "Define"

    When you use Define on a word in the definition bubble at the lower left is "Manage". Touch this to get a selection of Dictionaries to download.
    I need to know how to add a dictionary to that list, so I can reference more dictionaries. Medical or linguistic definitions.

    Thank you sounds like this is a very useful app. I would like to use Dictionary.appender, but iTunes in the USA won't allow me to download this app. Is there a way to get past this restriction and download this app here in the USA?

  • How to backup data when hard drive is failing.

    I think my hard drive is failing..
    I booted using Install DVD, and got message in Disc Utility that "this drive has a hardware problem that can't be repaired." It mentioned I should backup data and consult apple representative..
    I clicked on Macintosh HD under the red physical drive (500.11 GB Hitachi HTS) and did disc repair.
    Strangely, the message went away on the physical drive when I finished.  It turned back to black wording and gave green "verified/repaired" messages in the log.
    I am still able to boot my macbook, although everything is running slowly... Desktop excel files take 15 mins to open.
    Does this still sound like a failing hard drive?
    I am trying to act fast and borrowed my sister's external harddrive/ "passport for mac", and it slowly prompted a time machine backup. It is slowly working through "8.34GB of 200.33GB"
    I do not really understand what I am doing, but hoping this is the right move. Could someone explain what time machine will do or how it will help?
    Is there any chance I will harm her external hd?
    I am mostly worried about iPhoto and itunes library, iMovie projects,and important excel spreadsheets on my desktop. Is time machine looking after these concerns?
    Any help greatly appreciated.

    Where is you TM backup?
    Where are your external data redundancies?
    Now you will need to use very expensive data recovery experts to recover data when you could have had it safely on a $100 worth of 2 external HD.  
    Mechanical HD failure circumvents using recovery software.......so,  now you backed yourself into a corner and needed expensive data expert recovery.
    You took a wrong turn a long while back before reaching this cliff edge.
    that wrong term was not having (preferably 2) external HD as a redundant data archive.

  • How to do that when you open a new tab to appear like the start page after opening the browser?

    How to do that when you open a new tab to appear like the start page after opening the browser?

    https://addons.mozilla.org/en-US/firefox/addon/newtaburl/
    Never used it myself, so I'm not sure if you can set to about:home or not. You'll have to give it a try.

  • How to change passcode when you dont know it

    Hi there i have changed my passcode but you know when you use fingerprint recognition at all times and than you battery died on you when you started up you have to put passcode in and that is where my problem began. Can somebody tell me how to reset passcode  plz.

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • TS3430 does anyone know how to fix itunes when you get the message that it has encountered a problem and needs to close

    does anyone know how to fix itunes when you get the message that it has encountered a problem and needs to close

    You are using ADE on Windows or Mac ? and their versions ??
    Please restart your machine and try once again.
    Thanks

  • How to retrieve data from MDM using java API

    hi experts
    Please explain me the step by step procedure
    how to retrieve data from MDM using java API
    and please tell me what are the
    important classes and packages in MDM Java API
    thanks
    ramu

    Hi Ramchandra,
    You can refer to following links
    MDM Java API-pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b143420f49
    webinr of java API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/89243c32-0601-0010-559d-80d5b0884d67
    Following Fourm Threads will also help.
    Java API
    Java API
    Re: usage of  java API ,
    Matching Record
    Need Java API for Matching Record
    Thanks and Regards,
    Shruti.
    Edited by: Shruti Shah on Jul 16, 2008 12:35 PM

  • How to download itunes when you get runtime error R6034?

    HOW TO DOWNLOAD ITUNES WHEN YOU GET RUNTIME ERROR R6034?

    I obtained this information from    http://www.elabcommunications.com
    If you tried installing the latest iTunes on your Windows machine and it failed with this error message Runtime Error Message R6034, try this:
    Go to Control Panel > Add or Remove Programs (Windows XP) or Programs and Features (Newer Windows)
    Uninstall all of these items in the exact following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot your computer system, download iTunes, then reinstall using an administrative account or right-click the downloaded installer file and select Run as Administrator.

  • When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the control center if you are running iOS 7. Swipe up from the bottom of the screen to get to control center . Tap on the bell icon and system sounds will return.
    If you are running iOS 5 or iOS 6, the system sound control is in the task bar at the bottom. Double tap the home button and swipe all the way to the right in the task bar to get to the speaker icon on the left side. Tap on that and the sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock can be accessed in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

Maybe you are looking for

  • Error deploying PAR file from Developer Studio (NW04)

    Hello, i've got a problem while trying to deploy a PAR file from NW Developer Studio. The PAR Export function says "Unable to connect to the Portal", the portal itself gives the following response: "ERROR: Upload failed - exception caught: com.sappor

  • How do I get my iPod nano to work in my car again?

    My iPod Nano was working perfectly fine in my car, then all of a sudden it looked as if it was paused. I tried to push play in the car but it would not allow me to listen to music. I"ve also tried changing the chord, the iPod and my car is not muted.

  • Can't get alarm to work on new ipod--never had trouble with old ipod

    Greetings all, I just got a new Classic 120GB and it is great but I can't get the alarm clock to work...when I set a time for the alarm clock, it doesn't seem to remember this time but it instead defaults to an hour later than the current actual time

  • Number Range Buffering for Invoices

    Dear SAP Gurus, I have a requirement where in I have to achieve sequential number range with parallel buffeing for invoice documents, but the idea is to implement it in a very controlled manner i.e. market wise not for the entire box. have any one co

  • Mail will not open with icon

    Mail will not open when I click on the icon. "Mail" appears in menu bar and in force quit but nothing happens. Please help. I am using Mac OSX 10.7.5.