java bean

Reply

Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

java bean

 
0
  #1
Apr 19th, 2006
i am trying to learn java bean . i wanted to know how i have to compile and where. i m little bit confused.weather i need BDK?.PLEASE ANY BODY HELP ME
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 18
Reputation: techkar is an unknown quantity at this point 
Solved Threads: 1
techkar's Avatar
techkar techkar is offline Offline
Newbie Poster

Re: java bean

 
0
  #2
Apr 20th, 2006
Originally Posted by aarya
i am trying to learn java bean . i wanted to know how i have to compile and where. i m little bit confused.weather i need BDK?.PLEASE ANY BODY HELP ME
hi,

plz visit the site http://java.sun.com/javase/downloads/index.html and there u can download the latest or the version you prefer. Install it in your pc and set the path to the related bin folder where java.exe exist.
If u r working win2000 go to mycomputer--properties--environment variables and set a new variable named PATH and give the value for exc:/j2sdk1.4.1_01/bin).
Now go to the command prompt ,then to the particular dir where, the java file resides and compile the java source code using javac filename.java.

regards,

techkar
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

Re: java bean

 
0
  #3
Apr 20th, 2006
Originally Posted by techkar
hi,

plz visit the site http://java.sun.com/javase/downloads/index.html and there u can download the latest or the version you prefer. Install it in your pc and set the path to the related bin folder where java.exe exist.
If u r working win2000 go to mycomputer--properties--environment variables and set a new variable named PATH and give the value for exc:/j2sdk1.4.1_01/bin).
Now go to the command prompt ,then to the particular dir where, the java file resides and compile the java source code using javac filename.java.

regards,

techkar

thanks for your reply. i tried as u told but i am getting the exception as
org.apache.jasper.JasperException:classname.class when i used java bean with my jsp page.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 18
Reputation: techkar is an unknown quantity at this point 
Solved Threads: 1
techkar's Avatar
techkar techkar is offline Offline
Newbie Poster

Re: java bean

 
0
  #4
Apr 22nd, 2006
Originally Posted by aarya
thanks for your reply. i tried as u told but i am getting the exception as
org.apache.jasper.JasperException:classname.class when i used java bean with my jsp page.
I'm not clear about, your bean configuration. place the class file in a package(dir) inside WEB-INF/classes. Be clear with the package name and the class name you are using.Access the bean via jsp using <jsp:useBean id="someid" class=packagename.classname>

post your code sample so that me or anyone will clarify.

regards,

techkar.
techkar
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC