User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 361,910 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,604 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1849 | Replies: 3
Reply
Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

java bean

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2006
Posts: 18
Reputation: techkar is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
techkar's Avatar
techkar techkar is offline Offline
Newbie Poster

Re: java bean

  #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  
Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

Re: java bean

  #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  
Join Date: Feb 2006
Posts: 18
Reputation: techkar is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
techkar's Avatar
techkar techkar is offline Offline
Newbie Poster

Re: java bean

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 9:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC