aspose file tools*
The moose likes JSF and the fly likes How to Insert date from JSP to mysql (JSF tags) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to Insert date from JSP to mysql (JSF tags)" Watch "How to Insert date from JSP to mysql (JSF tags)" New topic
Author

How to Insert date from JSP to mysql (JSF tags)

Anjaan Chopra
Greenhorn

Joined: Apr 15, 2014
Posts: 2
How to insert date from a jquery popup calendar into mysql


















Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

I added code tags (using the message editor's "Code" button) to make your JSP and Java code easier to read.

It would be even easier to read, however, if you would trim down your examples to just the essentials of your problem. Since we don't get paid to do this, the harder things are to read, the lower your chances of getting an answer.

I use the DateTime JSF tag in RichFaces, so I'm not expert on using the raw jQuery version of it.

I did notice a couple of things, though. This expression:


is not valid. It should be "#{expBean.datetimepicker_mask}", though use of underscores in Java properties isn't encouraged.

I also recommend converting to JSF version 2. JSF version 1 is probably about due to go end-of-life.

Oh yeah. I forgot to mention: The "$" shorthand notation for jQuery conflicts with EL's interpretation of the use of the "$" character. There are ways around this, but it's probably best to just use the long-form notation: "jQuery().".


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Insert date from JSP to mysql (JSF tags)