Win a copy of Spring Boot in Practice this week in the Spring forum!

vaidehi Agate-keskar

+ Follow
since Apr 18, 2009
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vaidehi Agate-keskar

Hi All,

I am getting following expetion while logging in to web application. After debugging from code,it gets connection value as null at

try {
conn = super.getConnection(RRConstants.PRRS_DATA_SOURCE_NAME);
and throws following exception.

2011-06-10 07:41:04,934 SEVERE [SECURITY] (http- [SECURITY] : RRS_SEVERE : jdbc not bound
2011-06-10 07:41:04,934 ERROR [STDERR] (http- Unexpected error occured while retrieving user role data
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.dao.SecurityServiceDAOJDBC.getTasks(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.web.struts.actions.LoginAction.setRole(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at com.putnaminv.riskrpt.web.struts.actions.RRBaseAction.execute(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.RequestProcessor.processActionPerform(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.RequestProcessor.process(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.ActionServlet.process(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at org.apache.struts.action.ActionServlet.doPost(
2011-06-10 07:41:04,934 ERROR [STDERR] (http- at javax.servlet.http.HttpServlet.service(

Can anybody suggest ?

11 years ago
Thanks Ivan! So i can go ahead with SCDJWS..

I have more experience in EJb whereas now i am working on Web Services. Which exam should i give? SCBCD/SCDJWS?
Dows web service exam require good working exp. in Web Services?

Please suggest.

Hi All,

1) I have a code in which interaction between two ejb's are there.e.g Bean A and Bean B.A is calling B and from one method of B we are looking up into JNDI.

While writting Junit for this scenario i am getting problem . I need to write standalone java class as a clinet to bean A but i am not getting when my call reach into the method which

lookups into JBDI.Can anybody help me on this?

2) Are there any guidelines for how to write junit of MDB?

Hi riyaz,

Can you share study material resource? Which books or websites have you reffered and what was the study pattern you have followed?

Please give me some tips.
Hi All,

I am SCJP 5.0 certified and want to go for SCEA certification.What is the good study resource for preparation? Is there any good book avaialable or we have to study on our own? (Apart from javaranch forum)

Secondly how much of work exp needed to appear this exam? OF course i am not asking about eligibility criteria because i know afer scjp we can appear for any further exams. But memebers who are certified can tell me the advantage of their work exp.

Thanks in Advance.
Hi All,

Why do we say that struts is based on MVC as struts doesn't give us a model.

13 years ago
Thanks a lot! One more question about Action classes:

why to write execute method in Action's subclass?
13 years ago

Thanks seetharaman.

you should not put every thing into the session

Can you explain it in a bit detail?

And if it is not complusary to use actionForm but preferable, what else we can write instead of action form?

13 years ago
Hi All,

I am newbie to Struts. I have a doubt on ActionForm in Struts.
What is the exact use of actionForm? If it is used to store user specific data coming from HttpRequest then why can't we use HttpSession?
If it performs simple validations cant we use javacript for the same? And is it compulsary to use ActionForm?

Thanks in Advance.

13 years ago

Hi All,

I am new to java and preparing for SCJP. I have a small doubt aboout ++ operator in java.

Is it behave same as C? Or different?

class C
public int f1(int i)
System.out.println(i + "in f\n");
return 0;
public static void main (String[] args)
C obj = new C();
int i = 0;

i = i++ + obj.(i);

System.out.println("in main() "+i);

Above program gives different output in C and Java.

Can you tell me why?

Thanks In Advance.