Showing results for 
Search instead for 
Did you mean: 

HTML Tags in HTMLB or How to shrink HTMLB ?

Former Member
0 Kudos


I have a JSP page using HTMLB tags, which works fine in EP5. I am migrated this JSP in EP6 SP6 and now it gives me the following message:

Error in executing a process for compilation, C:/usr/sap/EP6/JC00/j2ee/cluster/server0/apps/ code too large for try statement } catch(IOException jspioex) {} ^ C:/usr/sap/EP6/JC00/j2ee/cluster/server0/apps/ code too large for try statement try { ^ ...

INF/portal/portalapps/ code too large for try statement try { ^ C:/usr/sap/EP6/JC00/j2ee/cluster/server0/apps/ code too large public void doContent(IPortalComponentRequest componentRequest, IPortalComponentResponse aResponse) ^ 57 errors .

The error is because of intense use of HTMLB.

The whole JSP page is one form.

I did some research and found out that the Servletsize is limited to 65k Byte.

Indeed, when i removed some HTMLB tags, it was working fine....

The suggestions was to use the Include Directive

<@ include page="other.jsp" > This will load the other jsp at Runtime.

When i did this, the content of the HTMB was not converted to HTML, but it only copied the HTMLB tags directly after the <body>. (I included the <%@ taglib uri="tagLib" prefix="hbj" %>)

When writing <tr> or <td> directly (to compress the HTML lines) using the JSPWriter (out) instead of the HTMLB tags, my HTML was ignored and did not appear in the HTML output.

My question is: How can I add HTML in HTML or how can I shrink a huge HTMLB form ?

Any ideas are welcome...


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Hallo Kai,

Asking about JSP in the BSP forum is about 66% correct. Both have SP in the name. Unfortunately the B is very important for us, and we are shy when it gets to gets about J. BSP is an environment similar to JSP, but based on ABAP. We also have a rendering library called HTMLB. But after that, the similarities stop.

Unfortunately, we can not help you more, and would recommend any of the Java programming forums.

Answers (1)

Answers (1)

0 Kudos

Hi Kai,

your post hit the ground in the wrong forum. You might try EP Content development.



0 Kudos

The easiest way to slim down the JSP is to get rid of all the default parameters. The reneder code will be smaller.