• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp form help

 
ammu vasanth
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem...
everytime I visit a jsp i come with a new table that should replace the old table. at present it is just appending and so the form fails in submit....because it has the same name form elements
so theoritcally I want to access the jsp in runtime and remove the old table and add the new table...any ideas?
 
satish sathineni
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using conditional logic to display the different tables ......
 
ammu vasanth
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by satish sathineni:
Try using conditional logic to display the different tables ......


yes.That shud be fine. Let me be more clear.the table comes in a string and i use <% out.write(data) 5> in the jsp jsp is the string of html
5 =% ...and thats all there is to jsp
I am trying to do with some javascript onload and div tags manipulation......what are your ideas?
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ammu, I think you're going to have to post a bit more code and give us some idea of what you're doing and why. My gut feel is that you're trying to do something that's really not a good idea and creating problems for yourself in the process.

Please take care when posting not to include typos and to use punctuation. Posts are often hard enough to read and understand without this kind of error. I'd like to help if I can.

Jules
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!