File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to create Database VIEW at runtime in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to create Database VIEW at runtime in JSP?" Watch "How to create Database VIEW at runtime in JSP?" New topic
Author

How to create Database VIEW at runtime in JSP?

Usman Saeed
Ranch Hand

Joined: May 21, 2008
Posts: 31
Hello,
I want to create database view, on run time, in .jsp pag. Please guide me if someone know about it.


Usman Saeed
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The short answer is that you shouldn't be doing database operations from within a JSP.

If choose to, it would be no different than doing database operations from any type of Java object. For this reason, I'm going to move this to our JDBC forum where you will probably get better help with this.

-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Okay. So you want to create a database view. What have you tried so far? What happened when you tried it?
Usman Saeed
Ranch Hand

Joined: May 21, 2008
Posts: 31
Sorry to bother you. There was a minor error in my page that's why code was not working, now its working fine.
Thanks for your reply
:thumb:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to create Database VIEW at runtime in JSP?