Configuration TomCat Netbeans Local

1

Currently I download the version of netbeans

The version that brings Apache Tomcat, once this I am directed to netbans to create a WEB project, I choose Apache TomCat

which brings me to this configuration screen

My goal is to work locally, but try

  

localhost and localhost: 8080

What should I put here to work locally

    
asked by Bruno Sosa Fast Tag 23.11.2017 в 13:29
source

2 answers

3

In the development IDE Netbeans , we position ourselves in the Services tab and in Servers add a new one ...

We select Apache Tomcat or TomEE which is the type of server we are going to add ...

In Server Location we introduce the directory where the Apache Tomcat is installed and we create a user to access assuming that you have not already edited one manually in the tomcat-users .xml of the conf in Apache Tomcat , if you have done so, just uncheck the Create user box and enter the credentials of a user between their roles is that of manager-script .

Now what we have left is to check for that we run the server from the netbeans

If the Apache Tomcat is installed correctly, it should give you an exit like this ...

And we can now create our web sites and applications in JSP with Netbeans ....

    
answered by 26.04.2018 / 20:45
source
1

You have to download a Tomcat from your website , copy it to a folder on your disk and, in the last configuration screen that you have copied, indicate the path in Server location

Once that is done, from NetBeans you make a right button-> deploy, right button-> run, and a browser should open with your application.

    
answered by 23.11.2017 в 14:00