Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!

Geetu Bahl

Greenhorn
+ Follow
since Dec 01, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Geetu Bahl

Hi

I need information regarding the java server side programming test. Please let me know if there are any mock available for such knd of tests. It is urgent so please reply fast.

Thanks
Geetu
15 years ago
Hi

I am a beginner in using ANT, i tried writing a simple java file and a build file with just one target of compiling the java file.

The doubt is that where should i save the java source file,the build file and where the class files will be generated. ANT is installed in C drive.

Thanks
Geetu
15 years ago
thanks everyone, specially ram
15 years ago
Hi

I have established JDBC connection in a class named as Dbcon in package conn.

Connection dbcon = DriverManager.getConnection("jdbc racle : oci : @orcl", "username", "password")

Now i import this package in a servlet and try to use dbcon but it gives an error saying dbcon can not be resolved.

Kindly tell how to correct this

Thanks
Geetu
Hi

I need to retrieve data from oracle table. So i have established the conection in a class(pck1.dbcon)
Connection dbcon = DriverManager.getConnection("jdbc racle ci:@orcl", "scott", "tiger");

When i try to retrieve data from a servlet which imports this package, it gives error saying dbcon cannot be resolved.

Please Explain ?

Thanks
Geetu
15 years ago
Hi

My question is , why does a stateless session bean doesn't store state even though it has ejbActivate() and ejbpassivate() methods.

Pleas explain ???

Thanks
Thanks for the information Jeremy

Thanks
Geetu
16 years ago
Hi

I want to prepare for the OCA Exam(1Z0-007). Kindly guide me
regarding the books which are best for preparation.

There is a book by oracle press (OCP Introduction to Oracle9i: SQL
Exam Guide (exam1Z0-007))

I just wanted to know whether this book will be good for preparing
to take oca first exam.

Thanks
Geetu
16 years ago
Hi

I am a beginner in learning about the build tool ANT. Kindly guide me about which version to install from where and what are the system requirements. I need to install it on Windows XP.

Thanks
Geetu

16 years ago
Thanks for the reply

Paul , isn't EL enabled by default and moreover i checked in web.xml and there is no <el-ignored> tag there, so i guess that it is enabled.

Padma, i am using the same tag library link as you used
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

I am working on websphere 5.0 , is there anything different in that.

Please reply ???
16 years ago
Hi

I have just started working with JSTL and am trying to retrive array elements from a array which is declared and then set as an attribute in a servlet.

I used c:forEach tag. When i run the code, it doesn't display the actual array values, rather it just displays the syntax ${movie}(movie is the var in c:forEach tag)

I am trying this code on websphere.

Thanks
16 years ago
Hey

Thanks Sanjeev.I figured out and now the code is compiling fine.

Thanks
Geetu
16 years ago
Hi

I have the problem in the following few lines of code

String attrib = null;
attrib = (String)session.getAttribute("mybook");

Now i need to use this attrib in a where clause of a SQL query. But when i use,it gives me an exception

java.sql.SQLException: ORA-00904:: invalid identifier

Basically in this code, user makes a serach and the i am trying to display the selected items to the user if they are available in the database.

So to make appropriate selection i need to get the value which user searched for and use it in the where clause.But it is giving exception

Please guide ???

Thanks
Geetu
16 years ago