Thank you!
You are right that I'm setting a JavaScript cookie and that I want to get it on the same click that I set it. How would you advise that I change my setup so that it sets the cookie AND I can retrieve it? Would you recommend a transitional page that serves to redirect to my servlet...
Put your hello.class like this:
%CATALINA_HOME%/webapps/ROOT/classes/hello/hello.class
Then change the %CATALINA_HOME%/webapps/ROOT/web.xml to have the following as subelements to the <web-app> tag:
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>hello.hello</servlet-class>...
Hi.
I'm making an application that will access a database and extract prices for the certain parts that the customer requests from the home page. I've created a JavaScript that places a cookie on the customer's system which I then try to access from my servlet. The servlet goes through the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.