File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


sejal joshi

Joined: Dec 19, 2000
Posts: 5
hello friends
i am doing a prj using jsp and oracle
i have created one jsp file where user enters name and roll no. and i want this data to be transfered to another page. i have written one java file containing functions to get these values. i have stored class file in server_root/class directory. when i am running it is giving the compilation error that class file not found.
pls help me.

nirmal baba

Joined: Apr 06, 2001
Posts: 10
I think u r not explicitly giving the page directive for importing the java bean class in ur jsp file that is using the bean!!!The required syntax is
<%@ page import="FullyQualifiedClassNameOFyourJavaBeanClass" %>
This is required for the JSPEngine to compile ur jspfile...Just putting the class file in the classpath of the web container wont help!!!
Kindly check with this change and respond
All The Best
I agree. Here's the link:
subject: jsp+beans
jQuery in Action, 3rd edition