Paul Richards

Greenhorn
+ Follow
since Jul 25, 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 Paul Richards

Folks
Could someone please tell me if WAS4.0.3 and http server can run on Windows XP ?
cheers in advance
21 years ago
We are using Websphere 3.5 and it also works for us
21 years ago
Folks
Is it possible to launch a completely new window from a servlet and if so how?
cheers Paul
21 years ago
Folks
A quick question.
Does Http server expect the index page to be always a HTML file such as index.html or home.html?
In our app we do not serve up any html files. The first page we would like as the index page is index.jsp. Is this possible and how?
We are using HTTP SERVER ans WAS3.5
cheers in advance
21 years ago
thanks for the replies
I have tried using your suggestion and using the following code
<%String url = new String();
url = request.getHeader("Referer");
System.out.println(url);%>
I actually got this
http://209.185.240.250/cgi-bin/linkrd?_lang=EN&lah=13ee0e019bbebffce9957610d0f949ac&lat=1017859774&hm___action=http%3a%2f%2fwww%2econfused%2ecom%2fpages%2findex%2ejsp%3fMediaCode%3 d122
as the url
This is not what I was quite expecting, have I done something wrong?
thanks in advance Paul
21 years ago
JSP
Folks
Here is my problem. I need to determine which web site called ours.
For example if the user did a search in yahoo.com and this provided a link to our website, how could I determine that the previous site was www.yahoo.com?
I need to do this for marketing reasons!!! They want to know who is coming to our site via which search engine.
cheers Paul
21 years ago
JSP
Thanks for that.
I will check out the link later.
To be more precise, the checkout.jsp is displayed but does NOT appear to be under the secure socket Layer. There is no padlock displayed in the browser.
If I type the URL in the browser address then the padlock appears in the browser (to which I ampresuming that the page is secure).
I have set up certificates and verified that they are working.
cheers
21 years ago
I currently have the following lines of code in my servlet.
response.sendRedirect(response.encodeRedirectURL("https://www.XXXXX.com/pages/checkout.jsp"));
Basically, I would like to call a jsp using the Https protocol. I also require to maintain the session information without using cookies(hence the URLencoding.)
Using the above code does not work, but typing 'https://www.XXXXX.com/pages/checkout.jsp' in the browser address line does.
Please advise on a solution (should I be using a request.forward to request the page fromm the browser?
Thanks in advance
21 years ago
I have exactly the same situation as this.
I am in urgent need of help to resolve this problem.
Please can anyone help paul.richards@incase.com
21 years ago
I am tring to use a third party DLL which is running on MS2000 under IIS5.
I am using the JNI interface that they provided(which I have imported into Visual Age). This is on a different NT server.
I have been having problems when the interface calls the System.loadlibrary() code.
I think I need to set the system.library.path to include the
DLL on the MS2000 server, but I can't seem to do this.
I have been using the command line
java -D"system.library.path = \\DOM2000\d:\path where DOM2000 is the server on which the DLL lies.
This does not work!. Is the command line syntax correct?
when I run the application I am building I get the following message
java.lang.NoClassDefFoundError: QAProWeb java.lang.Throwable(java.lang.String) java.lang.Error(java.lang.String) java.lang.LinkageError(java.lang.String)

Please can someone help?
22 years ago
I am using VAJ 3.5 and trying to create a JNI header file for a class.
Basically, in VAJ how do you do this?
cheers in advance
Hi folks
I am required to call a windows DLL called "C:/WINNT/system32/pcpv232.dll". This dll has several functions such as GETAddress which require parameters and obvuiously return data that my Java Program will then use.
Is this possible? I have read that using JNI may help.
Could anyone point me in the right direction?
cheers in advance
22 years ago
Could anyone suggest an application I could use/purchase
so that I can look up UK addresses based on PostCode searches.
I need to build this functionality into an application that we are building

cheers Paul
Hi all
I am a little confused as to the purpose of the JSP "setproperty".
Am I correct in saying that if within a JSP page I have an input field within a form and use the setproperty to set a bean property within the same JSP page then the setproperty will not do anything, because it is required to be used in a different JSP (which is requested from the JSP with the input field).

If this is the case, what are the advantages of this as regards to the first JSP posting to a servlet and this servlet setting the bean properties using the setter properties and then requesting the second JSP to dislay the bean properties.
cheers Paul
22 years ago
Just a general question for you all.
Is it better to develop java classes or java beans.
I know that java beans are generally used for developing GUI applications( I have used them for developing with JSP's and Websphere studio).
As I am using Visual Age for Java 3.5 creating beans is fairly easy as the bean info class is generated for you corectly if you follow the correct procedures.
What I would like to know is there any advantages of using classes instead of beans and visa versa? Are there any performance issues etc.
Thanks in advance
Paul
22 years ago