I've got a Liferay 6 server, in a Tomcat server.
Thing is, I am editing one of my public pages (the welcome one), so the JavaScript is read from the admin console. It simply puts a script in the end of the page with whatever you want. This is working good, and I'm visualizing a popup in the corner of the page (typical popup for giving an opinion about the page).
Now that the popup is ready, I need a servlet to send the petitions from its formulary, but I don't know how to create a simple Java servlet in Liferay Server.
I guess I have to create it independently, and deploy it into the Tomcat, no? But, how do I deploy it, and how can I set the hook so it doesn't collide with Liferay's environment?
Thank you!