The function to be realized now is as follows: express is used as the middle layer, the initial data is obtained through node requesting the java interface, and then the page is rendered. After the request of the front-end page is sent to express, it is forwarded to the api of java end and the data is returned to the front end. This is no problem
What about the session and cookie? JSESSIONID cannot be saved in cookie.
I don’t know much about express. The middle tier requests the server to get the cookie containing jsessionId and return it to the front end with the processing result. The front end requests to bring the cookie to express next time. Can express then send it to the server?