This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Adding Columns dynamically through UI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Adding Columns dynamically through UI

hariharan jayaprakash
Ranch Hand

Joined: Sep 09, 2010
Posts: 63
How to add columns dynamically through UI?..

I am just doing simple exercises on Servlets and JSP's.

I have a doubt:

Created One table called "Product" and added few columns like "ID, Name etc"..

Now i want to add new columns through UI Itself, can we achieve tat?..

For ex: create a page called "Add column" , In that we have to provide

Column Name(Price) and Data type(Integer) for the new column ..

Once click on create button, It should create a new column in our existing "Product" table..
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4344
    
    8

Hi Hariharan,

Can you avoid posting duplicate posts, please? I'll lock this one - the other is in a more appropriate forum, I think.

Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Adding Columns dynamically through UI
 
Similar Threads
Adding Columns dynamically through UI
Runtime Creating Tables
Dynamically redrawing columns in TableViewer
showing the tooltip for a Dynamic datatable
Can we use AJAX in my situation