vaidehi Agate-keskar

Greenhorn
+ Follow
since Apr 18, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

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-127.0.0.1-8080-4) [SECURITY] : RRS_SEVERE : jdbc not bound
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) com.putnaminv.riskrpt.common.security.RRSecurityException: Unexpected error occured while retrieving user role data
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at com.putnaminv.riskrpt.dao.SecurityServiceDAOJDBC.getTasks(SecurityServiceDAOJDBC.java:157)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at com.putnaminv.riskrpt.web.struts.actions.LoginAction.setRole(LoginAction.java:165)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at com.putnaminv.riskrpt.web.struts.actions.RRBaseAction.execute(RRBaseAction.java:141)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
2011-06-10 07:41:04,934 ERROR [STDERR] (http-127.0.0.1-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

Can anybody suggest ?

Thanks
13 years ago
Thanks Ivan! So i can go ahead with SCDJWS..
Hi,

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.

Thanks
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?

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



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

why to write execute method in Action's subclass?
15 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?

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

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