• 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

TagLib in Struts

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a jsp page that use <HTML:form> tag of struts. The form contains 64 fields.
when this application running in tomcat 3.3.1, the tomcat crashes.
It seems like the servlet generated from this jsp page is causing the engine to crach since service() method has too many braches.
My question:
Do we have a limitation on how many fields it can contain in the <HTML:form> tag?
Regards
John
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am moving this to the Java Frameworks forum.
 
Author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is not a Struts-imposed limitations, but many people report problems when you get past 50 tags or so. Changing JVMs can help (e.g. to IBM), and changing containers can also help (e.g. to Tomcat 4.1). Sometimes using Tiles to put some of the tags in a separate JSP can help.
Another way to go is to look at Velocity templates or XLST as the presentation layer. See the Struts Resources page for some links.
HTH, Ted.
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic