This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Adding Columns dynamically through UI

hariharan jayaprakash
Ranch Hand

Joined: Sep 09, 2010
Posts: 64
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

Joined: Apr 06, 2010
Posts: 4544

Hi Hariharan,

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

I agree. Here's the link:
subject: Adding Columns dynamically through UI
It's not a secret anymore!