• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Issue regarding Jsp Include

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am new to jsp and need help.
I want to make a jsp file in which there are 8 combo box elements.
Now I am Includeing :" <%@include file="comboBox.jsp"%>" file in other various .jsp files of my projects.
But each time the requirement varies, i do not want to use all those combo box elements in other .jsp files.
Some time i need to use only 2 combo boxes and some time 3 and .......etc.I don't want to use all combo boxes every time.
Is there any way?
Please reply soon and explain in brief if possible.
Thank You.
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Firstly, please read HtmlHasNoComboBox. Correct terminology is important.

Secondly, you can conditionalize using JSTL tags such as <c:if> and <c:choose>.
 
Ranch Hand
Posts: 1871
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

If I understand right you want to dynamically determine the creation of the combo box on the html page.

For example select the first and then if you select a specific value then you get to the second.

Is that what you want?

Rahul
 
reply
    Bookmark Topic Watch Topic
  • New Topic