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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp+beans" Watch "jsp+beans" New topic
Author

jsp+beans

sejal joshi
Greenhorn

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.
bye


Archu
nirmal baba
Greenhorn

Joined: Apr 06, 2001
Posts: 10
Hello
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
Nirmal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp+beans
 
Similar Threads
struts 2 validation
Access database from a class file
testing the model class
error while compiling
jsp--class.forName()