This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JavaBeans JSP and import Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "JavaBeans JSP and import" Watch "JavaBeans JSP and import" New topic
Author

JavaBeans JSP and import

Alexan Kahkejian
Ranch Hand

Joined: Apr 30, 2003
Posts: 74
Hi all
In the SCWCD study kit almost all Javabean examples don't use packaged structure

But when I use it this way I get the following error:

It works only when I put it in a package.
So do I missed something in configuration or web.xml?
Thanks in advance
Alexan
[ October 24, 2003: Message edited by: Alexan Kahkejian ]

Alexan Kahkejian<br />SCJP<br />SCWCD<br /><a href="http://www.javaemployer.com" target="_blank" rel="nofollow">http://www.javaemployer.com</a>
Dong Shing
Greenhorn

Joined: Oct 24, 2003
Posts: 12
The code was written for Tomcat 4.0.*. Since Tomcat 4.1, Javabean could only be in a package. Please download the new sample code at,
http://www.jdiscuss.com/misc/scwcdkit-examples-webapps.jar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaBeans JSP and import
 
Similar Threads
SCWCDExamStudyKit - Somebody Explain this...Please
What's wrong with my import declaration?
Compilation error on importing class
jsp:useBean
Jasper compile error