Type « Database « JSP-Servlet Q&A





1. Converting MySql DateTime type into something more friendly    stackoverflow.com

I have a Java web app that reads a MySql db and returns DateTime fields. What is the best way to convert the DateTime fields returned in the resultset into ...

2. Using with J2EE/MySQL Backend    stackoverflow.com

I'm wondering how I can hook up an input type=file to send a picture back to a backend servlet that will eventually be stored in a MySQL database as a BLOB? ...

3. Why should EL functions be from Java methods with non-void return types?    stackoverflow.com

I have a situation in which I think it is a good idea to use an EL function that is a void java method. This is a simple jsp to update ...

4. JDBC Type 4 driver for Oracle    coderanch.com

8. Application-Managed EntityManager transaction type must be RESOURCE_LOCAL    coderanch.com

Either you misunderstood what it said, or it is incorrect. You should not have to explicitly set the transaction type to RESOURCE_LOCAL when using JPA in non-managed mode (outside a container). That is the default. In fact, you are better off not setting the transaction type so that if you move to running in a container then you will automatically be ...

9. SQL:PARAM tag (type not found error)    coderanch.com

Hi David, No the code I posted is the actual code and in fact is from an eclipse tutorial. Even before the form comes up, I get an error. If i replace the ? with actual values, the code runs just fine, so i am guessing something is wrong with the sql:update - sql:param part. Unable to figure that out though. ...