Unbalanced 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 on each page
similiar to this:
......: /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

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

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top