I have a website with several servlets. Each page like index, about, FAQ, contact us and so on, have a servlet connected to them. I am also planning to make it possible to add additional pages with a button create new page
, so that when somebody clicks it, a new servlet will be assigned to that page.
Is it possible to create servlets at runtime? My guess is that it is not possible (or at least very difficult).
...If not are there any workarounds?
I am using GlassFish, if that matters.