wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

Displaying Sql query string results in jsp by using Spring Framework

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
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: 141
Any solution for this query?
Naveen Madarapu
Ranch Hand

Joined: May 24, 2011
Posts: 64

use JdbcTemplate class...


OCPJP
soumya dash
Greenhorn

Joined: Jul 17, 2012
Posts: 14

can any one help me out by providing a sample CRUD application in spring jdbc template and JSP?
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Soumya,

Please do not resurrect old threads to ask new question, instead create a new topic.


[How To Ask Questions][Read before you PM me]
 
Consider Paul's rocket mass heater.
 
subject: Displaying Sql query string results in jsp by using Spring Framework
 
Similar Threads
db2 - 703 certification
DB2 700 and 701 - Test Sample
hi everybody me Epsan new to this Forum,to Java
MySQL - add and remove username from table
excepttion in thread "main" java.sql.SQLException: Io exception: The Network Adapter