Regarding usebean tag

Advertisement
I am using tomcat web server ,in that i'm storing the files web-apps folder.While using beans ,i store the java & class files in WEB-INF folder.Still the server shows the invalid class in useBean.I want clear idea about where to store the java & class files ,while using beans.
Advertisement

Replay

I am using tomcat web server ,in that i'm storing the
files web-apps folder.While using beans ,i store the
java & class files in WEB-INF folder.Still the server
shows the invalid class in useBean.I want clear idea
about where to store the java & class files ,while
using beans.all class files ought to be stored in the classes dir under web-inf and in the correct pkg structure.
thus if u have a class com.my.SomeClass, then SomeClass.class should be stored under web-inf => classes => com => my folder.
Alternatively you can specify, via classpath otions, while starting the server, where your class files reside.
you needn't store the source(.java) files in the server.
ram.