Set and Read/Retrieve cookie using javascript within a java file(.java) -
Let me cool it I am writing a new HTTP server using sockets in Java-language (not JavaScript) And I want to ask the client to set a cookie. I want to do this JavaScript (setin to read cookie). If this is not possible, then is there any other solution? Thanks to all of you.
Your question / requirement is very ambiguous, are you not really confused or maybe ? Or are you using server-side javascript? Why do you want to do this for "http server"? Why would you like to write an HTTP server instead of using one or the other as an existing server?
At least, in Javascript you can manage cookies, depending on the context in which you are talking in Java. If the servlet is used in context, and if in the JSP EL reference, use the URL in the streaming context, and if the "raw" socket reference is followed only HTTP state management specification and indirectly " Raw "data is also HTTP 1.1 specification while writing. But you should already know that as you wanted to create an HTTP server.
Comments
Post a Comment