is there a way to display image from Database to JSP directly without placing into any folder.
I can save and retrieve image from database and the place into some folder then display in jsp but I want to display directly from database to jsp.
Any clue ?
When I try to show image in jsp page.
Following code work .
Now I want to show image based on userImageFileName
I want to show image dynamically based on userImageFileName, this value chage for each user.
Value it pass is correct. eg smith123.jpg, smith 234.jpg something like this
but it won't work when I try to append value
Best book for developer I ever bought.
If you read and do the example during weekend
by Monday you can not only code
you can tell other developer what is Hibernate and
how it work and how the application should implement in your project.
It worth buying.
I am trying to convert my struts 1.2 app to struts 2.
In my edit JSP, I am having trouble when I tried to put two field in same row edit,
where data suppose to display and if
want it can be modified.
How do I use two field in same row ?
I have good exposure to java and web development but no clue what the hell is web services?
Please advice me where to start? and what's next? Not only passing I want to learning and pass the test!
I am having problem when I deploy web application which use hibernate to connect database.
This application work perfect when I deploy in tomcat 6.
I test the code in test class and it do have connection to database and work fine.
When I deploy it to jboss server I got error
[JDBCExceptionReporter] SQL Error: 0, SQLState: 08001
21:03:08,183 ERROR [JDBCExceptionReporter] No suitable driver
21:03:08,184 ERROR [[Controller]] Servlet.service() for servlet Controller threw exception
org.hibernate.exception.JDBCConnectionException: Cannot open connection
Caused by: java.sql.SQLException: No suitable driver