|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > HTML inside a function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|