| Author |
TagLib in Struts
|
john Lin
Greenhorn
Joined: Dec 03, 2002
Posts: 8
|
|
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
|
 |
Matthew Phillips
Ranch Hand
Joined: Mar 09, 2001
Posts: 2676
|
|
|
I am moving this to the Java Frameworks forum.
|
Matthew Phillips
|
 |
Ted Husted
Author
Ranch Hand
Joined: Dec 02, 2002
Posts: 37
|
|
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.
|
<a href="http://husted.com/struts/book.html" target="_blank" rel="nofollow">Struts in Action</a>
|
 |
 |
|
|
subject: TagLib in Struts
|
|
|