The moose likes Spring and the fly likes Displaying Sql query string results in jsp by using Spring Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Displaying Sql query string results in jsp by using Spring Framework" Watch "Displaying Sql query string results in jsp by using Spring Framework" New topic
Author

Displaying Sql query string results in jsp by using Spring Framework

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 135
Hi Friends,
we are developing spring based we application,but Basic Requriements

1. A jsp apge to isnert the following into table
2. A jsp page to view the following based on ID or all if no ID is provided
3. based on data source id , get or execute SOL string from table and and display the results query results in view

For this i created spring controller,domain(POJO) object and dao object

I need your help how to get or execute SOL string and and display the results query results in jsp view based on data source id?

DROP TABLE ODB_US_DS_CFG;




Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 135
Any solution for this query?
Naveen Madarapu
Ranch Hand

Joined: May 24, 2011
Posts: 62

use JdbcTemplate class...


OCPJP
 
 
subject: Displaying Sql query string results in jsp by using Spring Framework
 
Threads others viewed
db2 - 703 certification
MySQL - add and remove username from table
DB2 700 and 701 - Test Sample
excepttion in thread "main" java.sql.SQLException: Io exception: The Network Adapter
hi everybody me Epsan new to this Forum,to Java
developer file tools