Dan Lastoria

Ranch Hand
+ Follow
since Jan 30, 2002
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 Dan Lastoria

I am creating a CallableStatement to execute an Oracle (9i) PL/SQL procedure. The out parameters of this procedure have been described to me as a TABLE type. I'm not sure how to process this within my Java code. I have hunted around a little bit, but I'm a little lost.

It ends up that our problem was that we were using a custom "base" action class. Within that class we defined an instance variable to reference the session. Apparently that was causing the problem.

Our problem is resolved, but does anyone care to elaborate on why this is a problem?

Moderator: Can this be moved to the Struts forum?
13 years ago
Actually we do have an implemented reset method on the only action form of the application. But maybe your explanation would still help me.

Thanks!
13 years ago
I'm not sure if we are, can you explain?
13 years ago
Unfortunately we only ran these as Struts applications in a local test environment. So we never had a multi-user/concurrency test on an application server. I suppose we could test this out fairly easily.
13 years ago
We're experiencing a strange and dangerous behavior in WSP 5.0. We've developed and deployed a set of portlets. These were built as Struts-based stand-alone applications and then later converted to portlets and deployed. The portlets accept user search criteria and then do a database search through a custom-built persistence layer. Then the Action class of the portlet puts the results into session scope and renders the JSP.

The problem is that sometimes, other users logged into the portal will refresh the page that that portlet is on, and see the other user's result set and search criteria. This is not good. =)

We modified our BaseAction class (of which we extend all of our other Action classes), and made it use PortletSession instead of HttpSession. This still didn't help. I'm at a loss here and any help would be greatly appreciated.

Thanks!
13 years ago
Oh...this is under the following JDK. Maybe it is a bug that was corrected?

14 years ago
Run this code...but first what do you expect the results to be? Can anyone explain?

14 years ago
The compiler determines which classes get compiled with your class depending on which ones you use. So an import statement like:
java.sql.*;
Is no less efficient than importing the specific class you are using.
14 years ago
You're trying to create a method inside of a method.
private Vector euclidean(ResultSetMetaData rsmd)
is inside of...
public static void main(String args[])
Can't do that.
14 years ago
Yes, email him. He has those great communications skills you're looking for.
14 years ago
Can we see the source code?
Is the "public class" name also BasicsDemo?
14 years ago
I'd like to set up some bug tracking software for our developers. Currently we track enhancements and bugs on an Excel spreadsheet. I'm sure there's a better option. What are the best products for this? Both commercial and open-source would be considered.
14 years ago
So what's the catch? Or is that it?
14 years ago