I made a JSP homepage file

Asked 2 years ago, Updated 2 years ago, 46 views

Eclipse has created a JSP homepage file.

I can connect to Oracle database, but is it possible to connect to the database after uploading it on the homepage?

In Eclipse, you can do Tomcatkey right away, so if you put a domain in a place called dohome, do you have to use only the database that you give me?

eclipse database

2022-09-21 21:14

1 Answers

The database and Tomcat are independent.

This means that you can run only the database, and you can run only Tomcat as well. No dependencies for each other.

Tomcat runs on A equipment (computer) and the database runs on B equipment, so JSP distributed on A equipment's Tomcat can access B equipment's database.

However, if you are an individual, you cannot leave A and B equipment on every day. That's why we use hosting services like dohome.

In other words, if you answer the question simply, there are firewall conditions, but you can post them on the homepage and connect to other databases.

You don't have to use only what dohome provides.(Of course, this is an exception if the firewall blocks the port.)


2022-09-21 21:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.