• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts HTML Taglib Issue

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the following JSP fragment:


My issue is that anything after the second <html:select> refuses to render.

The chainSelect() is a javascript function taking two select box ids and passing them to an action to populate the second select box.

The Struts action calls a service layer class to get a List of all CBTs for a Presentation, converts them to JSON via json-lib, gets the Response object's writer (after setting the content type), outputs the JSON, then returns null.

I've used Firebug to view the rendered <select> with options, and did not see anything I didn't expect to.

Does anyone have any idea why nothing renders after the second select?
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nothing looks wrong in that little code segment but it sounds like you have some invalid html. Double check all your closing tags.

- Brent
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic