jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Struts HTML Taglib Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts HTML Taglib Issue" Watch "Struts HTML Taglib Issue" New topic

Struts HTML Taglib Issue

Jason Ferguson
Ranch Hand

Joined: Aug 09, 2007
Posts: 58
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?
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Nothing looks wrong in that little code segment but it sounds like you have some invalid html. Double check all your closing tags.

- Brent
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts HTML Taglib Issue
It's not a secret anymore!