aspose file tools*
The moose likes Servlets and the fly likes jsp:beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp:beans" Watch "jsp:beans" New topic
Author

jsp:beans

rasika
Greenhorn

Joined: Jun 11, 2001
Posts: 8
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: 12825
    
    5
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
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
srivatsan srinivasan
Greenhorn

Joined: Jun 08, 2001
Posts: 26
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://aspose.com/file-tools
 
subject: jsp:beans