This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

L. Riley

Greenhorn
+ Follow
since Mar 20, 2001
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 L. Riley

I have instantiated a java bean with the following code:
<jsp:useBean id="cust" class="myBeans.Customer" scope="session" />
When I display my session variables, I see that I now have a session variable that looks like this:
cust=myBeans.Customer@9fdbcb
I understand that beans that have session scope 'hang out' in the HttpSession object. What I am wondering is, what is meaning of "@9fdbcb"? Is this pointing to a place in memory for my bean?
19 years ago
JSP
No...I want to delete some records from a database if the session ends...
19 years ago
JSP
Yes...I want to clean up some records in a table if the user ends the session. Do you know of another place that describes this more clearly than the API?
19 years ago
JSP
I have the need to do some cleanup work after a session ends. In ASP (oh my!) this can be done using session.onEnd in the global.asa.
How can this be done in JSP?
19 years ago
JSP
How do you compare Floats to Floats (wrapper classes)? Some books I've read say always use .equal'. One says that in comparing Floats, "= =" is the same as '.equal'.
20 years ago
Thanks. I think I'm beginning to understand now.
20 years ago
I am importing the java.applet.* and java.awt.* packages in a program.
Please explain why I then have to add the 'extends Applet' to my class header but I don't have to add 'extends awt'.
20 years ago
...but won't users have to type 8080 to get to jsp applications?
If I change tomcat's port to 80, then IIS won't be doing much of anything...true? (maybe that wouldn't be all bad)
On the previous version of tomcat, I used the ISAPI re-director. The way I understood that was whenever IIS saw something with a jsp extension, it tossed it over to tomcat.
There doesn't seem to be an ISAPI for the most recent version of tomcat...
20 years ago
Do I understand then that you are not running IIS in this setup?
20 years ago
How do I retrieve the number of records in a ResultSet?
20 years ago
How do I retrieve the number of records in a ResultSet?
I have just realized that if I display the session id, every time I click refresh, I get a different session id. Perhaps this is why session variables aren't working....? What would cause an new session id to be assigned with every request?
20 years ago
JSP
Well the interesting (or frustrating) thing here is that cookies aren't working either. The cookies are created, but when I try to display them on a page, nothing displays. I know my code is correct because it works when I run tomcat standalone. Please if you have any suggestions....
20 years ago
JSP
Is there any special setup that is required for session variables in tomcat?
I have two jsp's. One jsp creates some session variables. One jsp displays session variables.
I run these on tomcat running standalone and they work correctly. If I run them on a server that is running tomcat with windows 2000 NT, they don't work.
Please, please...does anyone have any suggestions?
20 years ago
JSP
I have a jsp that creates cookies and I have a jsp that displays cookies. If I run these on a standalone version of tomcat, they work just fine. If I put these two JSPs on my server running tomcat under windows NT, the cookies are created, but they won't display. Any guesses as to why?
20 years ago
JSP