Eric Christensen

Greenhorn
+ Follow
since Jul 29, 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 Eric Christensen

Somehow now the servlet is working. Arrrggggh. I don't know why but it is. I definitely restarted earlier. Thanks for all your help though.
20 years ago
Yes. In fact I changed it to 'French' language and formatting and such. When I restarted the server, all of the server messages and such were in french, but the output was in the U.S. format.
20 years ago
I changed the regional settings in Windows. Control panel, region and language settings.
I'm using WSAD which runs WebSphere. I am testing with a 'test environment' which is something like running a little app server on the pc to see how the app would work deployed to a real server.
20 years ago
I have some code that I'm using to try and format dates between US and Canada. When I use the code in a stand alone:

everything works great. If I change the regional settings, everything is cool, I see the different formats and all. Now when I transform the code above into a servlet:

the date format never changes. I'm deploying this servlet in a test environment with Eclipse on my local machine, so shouldn't it be looking at my local settings? Is my code okay? Thanks in advance!
20 years ago
Thanks for the responses.
Kathy, what exactly do you mean by 'pseudo random number generator'?
20 years ago
I'm writing a simple program with a 'for' loop. I want the first line of this 'for' loop to generate a random number. So if the loop runs 25 times, I want to have a new random number for each iteration. What's the best way to accomplish this?
20 years ago
I think that you should continue to learn the stand-alone stuff. The applet stuff is nice to know, but if you know the stand-alone stuff well, you'll be better served should you ever need to do applets.
Just my 2 cents.
20 years ago
I was just looking at the server.xml and answered my own question. I noticed the examples in Tomcat had a reloadable entry set to true. I made a same entry for DefaultContext and it worked. Here's the line I put in:
<DefaultContext reloadable="true"/>
It works like a charm now.
20 years ago
How can I set Tomcat up so that when I reload a new version of a servlet and an old session accesses the same servlet, it will be reloaded and the client will see the changes?
20 years ago
William, do you know why they started turning the invoker servlet off?
20 years ago
Please excuse my horrible formatting/style above. It was not intended.
20 years ago
Here's your new code:
20 years ago
How many people use these operators on a day to day basis?
20 years ago
I had the same problem. I uninstalled Tomcat and when I re-installed, I made sure to NOT check the box that has to do with services on NT and XP. After that, everything ran fine.
20 years ago
Just in case you don't know about it, IBM also offers WebSphere Studio Site Developer. I'm not sure on the specific differences, but I know it's cheaper. My company is using WSSD for current J2EE development on iSeries 400.