Unbalance end tag

F

francan

I have java beans on pages and they always worked in Tomcat 4.
Now that I upgraded to Tomcat 6.0.18 I get error message:
......: /view.jsp(16,47) The end tag "</jsp:" is unbalanced

It doesnt seem to like the bean endtag (</jsp:useBean>) that has a
scope = request:
<jsp:useBean id="checking" scope="request" class="bank.Checking" >
<jsp:getProperty name="checking" property="balance" />
</jsp:useBean>



I have to eliminate the end tag for it to work.
Will I have any object leaks or any issue by eliminating the bean
endtag (</jsp:useBean>)?
<jsp:useBean id="checking" scope="request" class="bank.Checking" />
<jsp:getProperty name="checking" property="balance" />


On my other pages when I use scope=page it works with the end
tag:
<jsp:useBean id="customerDate" scope="page" class="dater.Lastupdate">
<jsp:getProperty name="customerDate" property="infoDate" />
</jsp:useBean>


Please advise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

End tag is unbalanced 0
Unbalanced tag 0
Unbalanced tag 0
I have doubt 1
jsp and usebeans 1
Is JavaBeans able to store an array? 6
Tag Library problem 1
jsp:getProperty question 5

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top