• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic form fields  RSS feed

 
Jacques Martin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am looking for the best way to clean up a jsp file that contains tons of if and out.println statements. This jsp page manages a complex form and dynamically shows populated drop downs, or add new text entry fields, and so on, based on the previous selection made on the form on the fly.

What are the best practices to split this jsp page in many little pieces?

Thanks,
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard to help without the source and an idea of what you are trying to accomplish
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!