Dean Tomlinson

Greenhorn
+ Follow
since Feb 28, 2001
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 Dean Tomlinson

i have a program that makes synchronous mq calls to get data for an application. the calls need to be synchronous becasue the data retrieved will be used to build dynamic web pages.
I would like to incorporate a timeout into my calls, so if a response isn't received in 30 seconds the mq call returns an error code and the web page can feature a message, and not crash.
what is the best way to acheive this? are threads the answer?
cheers, dean
Does anyone know how to specify a startup class in IBM webSphere, I want to get a class to load when the app server starts that will read property values from a properties file, and put these into static data members.
I know you can do this in weblogic, has anyone done the same in websphere ?
cheers, dean
23 years ago
Dear friends,
I have been trying to use jsp:forward with jsp aram (s) under websphere 3.5, but the jsp's wouldn;t compile until i took out the jsp aram tags.
Does websphere not support this ? just curious as a friend told me that websphere does not implement the full J2EE standards - and perhaps this is one of the bits it doesn't do.
Any ideas ?
Cheers, Dean
23 years ago
i was being thick - incase anyone else needs to know, this is how you get at it :
request.getHeader("User-Agent")
23 years ago
is there a way to detect the browser type through some request variable. I have done this many times in ASP pages using the Request.ServerVariables.
I could detect the browser in javascript on the first page and add this as a requets parameter to the next page - but this is not ideal.
Hope someone else has encountered this basic requirement.
Cheers, Dean
23 years ago
basically you need to use a separate jsp session bean to hold the data the you want to persist between pages.
you can use your page worker beans, (the ones you currently have for handling requests parameters), to update the session bean.
on your 3rd page you can get the property values from the session bean, in exactly the same way you would get from your page bean.
hope this helps
23 years ago
Does anyone know how to specify a startup class in IBM webSphere, I want to get a class to load when the app server starts that will read property values from a properties file, and put these into static data members.
I know you can do this in weblogic, has anyone done the same in websphere ?
cheers, dean
23 years ago
I was wondering what the best solution is when you want to use JSP's, taglibraries, and EJB's but need to sepearte the http and appserver with a firewall.
Are the jsps, tag libraries, and page worker beans deployed on the web server on s servlet engine, or can they be deployed on the appserver - and requests for JSP's delegated to the appserver.
Greatly appreciate any advice .
23 years ago