This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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: 4541

Hi Hariharan,

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

It is sorta covered in the JavaRanch Style Guide.
subject: Adding Columns dynamically through UI
It's not a secret anymore!