This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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