
May 14th, 2001, 10:09 AM
|
|
Junior Member
|
|
Join Date: May 2001
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
HTML inside a function
Hi,
into jsp file, i defined a function that is delimited by <%! and %> (everythings's normal till here...) and i'd like to use HTML tags inside this function.My code doesn't work because it seems impossible to "break" the jsp code ( using %> ... html code .... >% ) before the end of the definition of the function.
This is what i did :
<%!
public void ....
{
[jsp code]
%>
[html code]
<%
[jsp code]
}
%>
executing this code generates an error because a } is missing before the first %>
Using the function write (Writer class) is not really handfull ...
Do you have any idea to solve my problem ????
Thanks for help,
Bart
|