Servlet issue while connecting

Browser is displaying the servlet code.
It is not executing what is written inside. Can anyone please guide me through the process how to get that work.

What I did:
Created Register,html whose contains Register.java Servlet

Do I need to upload any other file also?
Am I missing something here?

Are you trying to connect to MySQL database?

I know that RemoteMYSQL is unavailable on freeium, only on premium

1 Like

No, currently I am not.
I just wanted to get that servlet page executed

So you don’t need JDBC/ODBC?

As far as I am informed you won’t be able to run servlets on the free hosting :frowning:

Oh is it!! So that’s why I am not able to execute that servlet code.
Thank you so much for your responses

Is anything else I was doing wrong, other than that. As I am gonna buy one.
Do I need to include any xml file or any folder structure should I need to maintain.