This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
when i insantiate a java class is it necessary to compile that java class befoor execute the jsp file. i'm using java web server2.0 when i run jsp file without compiling javafile that means without making a class file i get an error attribute (2,51) missing
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
1
posted
0
Yes, you have to compile any auxiliary classes and put the class file(s) in the correct place. The JSP engine only creates and compiles the file representing the page. Bill
"rasika", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
rasika, Yes you have to compile the class file and place it in the classes directory of the JWS,so that the jsp file can find it in it's classpath srivatsan
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.