My code is very very simple, something like :
<HTML>
<jsp:useBean id="florian" class="FlorianBean"/>
<%
florian.setName("toto");
out.print( florian.getName() );
%>
</HTML>
Once this works well, I should (by exemple) add member functions like
getAge() and setAge() (or anything else, it's just an exemple to say that I
modify the source of my working Java Bean). The bad thing is that once these
members are added (the Java Bean is mofified), there is an "500 error"
showing me the name of the Java Bean used (here FlorianBean) !! If I reload
the page, the last right code is processed (or at less outputed by the
server, I say that cause even when I remove the temporary stored internet
files, the last page is showed).
Thank you for your help !
PS : the modified JavaBean is right because it is compiled in my work
directory (the compilation time change).
-----Message d'origine-----
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]De la part de BERWART Thierry
Envoyé : jeudi 12 avril 2001 17:38
À : [EMAIL PROTECTED]
Objet : Re: Java bean problem, good compilation but I can't access it in
my JSP pages :-(
What's your code ?
-----Message d'origine-----
De : Florian DREVET [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 12 avril 2001 17:10
À : [EMAIL PROTECTED]
Objet : Java bean problem, good compilation but I can't access it in my
JSP pages :-(
Hi !
I'm new in JSP programming, I installed Tomcat today and start to write some
scriptlet (all right) and some little Java Beans... unfortunately, this last
part doesn't works very well :-( In fact, it's right the first time I use a
Java Bean (I even copy an exitant one in order to further midify it) but
when I modify it (the compilation is OK), I've got errors onto the JSP page
calling it throught <jsp:useBean...
The second time I reload the page, the last right compilation is used... and
I can't use the Java Bean I modify, if someone could help me, thanks !! I
run the last Tomcat version on Window 2000, the JSP pages are viewed with
Internet Explorer 5.5.
Florian
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets