Por favor, estou migrando do asp.
Tenho uma sub.asp e estou tentando passar para sub.jsp, exemplo abaixo:
sub xOpen()
response.Write "<div>" & vbcrlf
if trim(xTitle) = "" or xTitle = " " then
response.Write "<div>" & vbcrlf
else
response.Write "<div>" & vbcrlf
response.Write "<h4>" & xTitle & "</h4>" & vbcrlf
end if
response.Write "</div>" & vbcrlf
response.Write "</div>" & vbcrlf
response.Write "</div>" & vbcrlf
xTitle = ""
end sub
sub xClose()
............qualquer coisa..................
end sub
muito obrigada