File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JSP+bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JSP+bean" Watch "JSP+bean" New topic


Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
I'd like to try using JSP + bean with some logic for implementation. It
is simple example so probably Tomcat is good enough.
I created ProJavaServer directory and placed .jsp file, created
ProJavaServer\WEB-INF\classes directory and placed compiled bean there.
In %TOMCAT_HOME%/conf/server.xml i added:
<Context path="/ProJavaServer"<br /> docBase="c:\WORK/ProJavaServer">
I run successfully examples that not included beans, so path and other
settings probably set properly.
To exclude typo i downloaded example from
And it does not work.
C:\tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fStringBean_0002ejspStrin Class jsp.StringBean not found.
I look for advice how to place my files to make it work.
Thanks in advance
I agree. Here's the link:
subject: JSP+bean
It's not a secret anymore!