Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Surya Vamshi

Greenhorn
+ Follow
since Aug 25, 2005
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 Surya Vamshi

Hi,

I am also working on Bea weblogic. Can anybody tell me how do the login page check that user id and password is correct. Do we have to write a code where it accepts user id and password and check that with database and then forward it to approriate page. Please do tell me how we can do this. And what have to defined in web.xml related to security. If I am wrong correct me.

Thanks
12 years ago
Hi,

I am doing some authentication using BEA server. The program is like this. We have a login page where user enters his name and password. I have defined the user role in web.xml. Only registered users can access the editing page. I want to know how to do the name and password check with data stored in database. Also how to define roles in web.xml and link to appropriate page to which user has access.
12 years ago
Hi,

Any experts who can answer my question? I will really appreciate it

Thanks
12 years ago
Hi,
For my servlet/JSP application I plan to use a form-based authentification approach. From what I understand, for a form-based authentification, the Tomcat will automatically check the userId and Password from the HTTp request, against the userID and Password listed in the apps-xxx.xml file for my Webapplication. But with this approach won't it effect the security.

If number of users are more how can we list all ids and passwords in apps-xxx,xml.

Is my understanding is right. Please do correct me. Also I want to know how we can provide authentification using other application server like bea. If we have to provide userid and password in web.xml file, how to enter all those details in bea.

Thanks
12 years ago

Originally posted by Ben Souther:
If this is to be a production app, you probably don't want all requests sharing a single connection to the database.
Have you looked into the connection pooling options provided by your application server?



What is connection pooling. What is the disadvantage of sharing a single connection to the database.
Also want to know how to pass the parameter from to class that implements servlecontextlistener.
12 years ago
Hi,
I was going through HF servlets and jsp book, I read that in a class that implement servletContextListener we can define the connection to database and then use that in rest of application. I want to know how we can do that. what init parameter do we have to provide in DD.

Thanks
12 years ago
EL
Hi,

I want to know are there any tutorial on Expression Language. Are people using the EL in Projects.

How is it useful?
12 years ago
JSP
Hi,

I am also getting the same error JDBC driver is not on the CLASSPATH. I have set the classpath. Can any one help me. I am using windows 2000. both mysql and weblogic are on same server. Also I am getting error when I type classpath in CMD line.

Thanks
12 years ago
hI,
cAN ANY BODY TELL ME HOW TO FETCH DATA FROM DATABASE TABLE USING JDBC AND PRESENTING TO JSP.

iS IT OK TO PROVIDE THE JDBC CONNECTION DETAILS IN JSP. ONCE THE CONNECTION HAS BEEN ESTABLISHED HOW TO PRESENT DATA IN JSP
12 years ago
JSP