My web pages are written in JSP and want to put online. Could you recommend some free web hosting? I searched, but can not find the one I want.

Thank you.

Dani AI

Generated

Short summary and up-to-date path forward for and others who want JSP + JDBC hosting years after this thread was started.

Several early replies pointed to generic searches or low-cost paid hosts (, , ). Long-term, worry-free free hosting that natively supports a Java servlet container plus a managed JDBC database is uncommon — many PaaS free offerings were removed or restricted in recent years, so relying on an unmanaged VM or a cloud "always free" tier is the most predictable route. (devcenter.heroku.com)

Practical options that remain viable:

  • Use an "Always Free" cloud account that provides VMs + free database resources and run Tomcat/Jetty + a database (install the JDBC driver). Oracle Cloud maintains an Always Free tier with compute and database resources. (docs.oracle.com)
  • Use a cloud provider free tier VM (Google Cloud always-free e2‑micro; GCP has a persistent free‑tier offering) to host a small Tomcat instance and a local DB. (cloud.google.com)
  • AWS offers free-tier credits/VMs under specific terms (historically 12 months; the program has been updated for new signups). Treat AWS free resources as time-limited unless an "always free" service covers the need. (aws.amazon.com)

Compatibility and deployment notes:

  • Modern servlet containers moved Java EE packages from javax. to jakarta. (Tomcat 10+). Existing JSP/servlet apps compiled against javax.* usually need Tomcat 9 or a conversion step (Tomcat provides a migration tool). plan for that when choosing the server image. (tomcat.apache.org)
  • JDBC itself remains part of the Java platform (java.sql / javax.sql are part of Java SE/JDBC); JDBC is not being removed from Java SE — use the appropriate JDBC driver (MySQL, PostgreSQL, Oracle) and copy the driver JAR into the container or bundle it with the WAR. (docs.oracle.com)

Quick checklist (deployable workflow):

  • Pick provider with SSH/container support (Always Free VM or small VPS).
  • Install JDK + Tomcat (or run WAR in a Docker image).
  • Add JDBC driver JAR; configure a DataSource (Tomcat context.xml or app-managed).
  • Use connection pooling (HikariCP), store credentials in env vars, and set firewall rules so DB access is limited.
  • Monitor free‑tier limits and enable backups or snapshots.

This gives a stable, low-cost path: run the servlet container where control over JDK/Tomcat and JDBC jars is available, and place the database on the same VM or an included free DB service to avoid network and quota issues.

Recommended Answers

All 5 Replies

I do not know any free hosting, but if you interested for reasonable price hosting I can recommend one

  • 6 months € 4.5 € 27.0
  • 12 months € 4.0 € 48.0

If you interested just PM me and I will send you contacts on provider, I have web service from him so as I said I can recommend it

> I searched, but can not find the one I want.

A simple google query turns up a lot of interesting results. You can't be choosy when it comes to something which is given for *free*, so your argument of 'not finding the one you want' is kind of moot.

i am also in look for one

then read the previous reply (which has been there for 4 years already, so the "but that wasn't there when I posted mine" excuse won't fly.
do understand that, since Oracle is planning to remove jdbc from Java in the upcomming version, you may want to choose to look for an alternative to JDBC.
also: you could have started a new thread explaining exactly what it is YOU want, instead of reviving a thread that hasn't been replied to in 4 years, where you hardly give any information at all.
"one" .... what is "one"? does it just have to support jsp and jdbc, or do you have more detailed requirements?

hai Ze0001ng

i feel this the best hosting server for java but it has 15 trail period then if you want to upgrade there is upgrade option too

have a look at once (i tried it and experienced it)

http://jelastic.com/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.