Aaron Raja

Ranch Hand
+ Follow
since Jun 07, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Aaron Raja

There are examples in the book only for hard coded Array values.
I have StateDao class which have method getStateList() which provides List<String>.
How can I use data from database ?
Thanks
AR
I am try to use Autocomplete using jQuery UI.

Here is working code for hard code value but I need to use external data (Database) ?

Thanks
AR
any examples or tutorial on that please?
14 years ago
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 ?
14 years ago
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


tried this too but no luck
14 years ago
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.
AR
14 years ago
Thank you It did work now after using
"css_xhtml" theme
14 years ago
I did but did not get clear understanding of it.
Can you please clarify please or Can I have some example ?
Thanks
AR
14 years ago


Struts 2 --->


give me
First Name: John
Last Name: Doe


I want

Name: John Doe
In struts 1.2


14 years ago

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 ?

<s:textfield name="detailResult.skillDesc01" size="25" maxlength="25" />
<s:textfield name="detailResult.skillLevel01" size="2" maxlength="2" />

I am getting these two thing is two rows. I want them in one row?


14 years ago
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!
Thanks
AR
Thanks Aurelian!
You made my day!
Thanks
AR
15 years ago
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.

But!!!
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
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)

Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
15 years ago
Job well Done!
Congratulations
Phaneendra
15 years ago