Alex Fishell

Greenhorn
+ Follow
since Oct 15, 2002
Merit badge: grant badges
For More
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 Alex Fishell

HI,

I have a struts app. I also have several delegate classes that connect to ejbs (session beans) used by my action classes. I was thinking about putting the delegates into a helper class as static properties. That way my action classes can just reference the same delegate. I don't want to have to create a new instance of a delegate with every request an action class handles.

However, I'm wondering if this will cause synchronization issues with multiple requests being handle, as our site handles a heavy load of requests. Any suggestions would be appreciated?
14 years ago
As a side note, I have tried this example with the following: JBoss 5, GlassFish 2.1, Tomcat 5, Tomcat 6.
14 years ago
Hi,

I have a secured resource in Tomcat or JBossWeb. My resources are secured via FORM authentication (j_security_check). The secured resources are requested via an external page like this:



When the secured resource is requested, Tomcat displays the login.jsp to authenticate the user. This my login.jsp. I have a business requirement that needs to access the "mydata" request parameter from this page. DOES ANYONE KNOWS HOW TO MAKE TOMCAT TO ALLOW ACCESS TO THE REQUEST PARAMETERS FROM THIS PAGE??? The values are always null when the request are via a "post". However, this works when the request is via a "get" I cannot change my forms to "get" that is just not possible. And I have tried this in JBoss5, GlassFish2.1, and Tomcat5.5.7 We currently have our app running in JBoss3.2.7 and it works fine here. But we are planning to upgrade out of JBoss3.2.7 into a newer version. Given that we get the same behavior in the newer servers, we think that there most be a configuration setting that we don't know about. If anyone has any idea what we need to do, please please help us out. Thanks in advance!

This is my login.jsp, which is configured in the <form-login-page>



14 years ago
I'm using JBoss5-0-1-GA. Whenever I request a secured URL via a form with a method=post, the request parameters are lost during the FORM authentication. Once the user has been authenticated, the request parameters are available in my application. The problem is that my application needs to access the request parameters from the login.jsp used in FORM authentication. When I change the form's method to method=get, they request parameters are available in the form. However, I cannot change every form in my app to use "get" instead of "post." Does anyone know if there is a work around for this??? This is not a problem in JBoss3.

Thank you.

Requesting page:



login.jsp page:

14 years ago
I have seen many of you that have passed with very high scores. My respect for all of you guys. But I would like to know if you feel about scores below 80% I mean, should a tester feel as proud just for passing the exam? Also, if you passed with a high score, do you feel the test was difficult or easy?
Lastly, thanks to JavaRanch
21 years ago