Questions tagged as 'tomcat'

2
answers

I can not install tomcat and I do not get message when accessing localhost: 8080

I'm starting with Java. I downloaded the e-book and started to read. I'm paralyzed, I can not complete the Tomcat installation. I downloaded it on link . In the "tomcat 8.0.20 Released" option, I chose "apache-tomcat-8.0.20-windows-x86". My...
asked by 13.03.2015 / 21:23
1
answer

Error in the end bar with mod_rewrite and mod_jk

I have the following structure on my server. Apache HTTPD (port 80) Tomcat (port 8080) I used mod_jk to make the connection between apache and tomcat and this is working perfectly. I created a subdomain to point to an applicat...
asked by 29.01.2014 / 19:28
2
answers

Access control and permission

I have a CRUD project to manage teachers and courses at a college using jsf + primefaces + jpa. My problem is this: There are users who are the course coordinators and the users who are civil servants. Officials have access to the list of a...
asked by 30.03.2016 / 14:30
0
answers

Uploading excel (.xlsx) with jsp

I'm developing an application to submit Excel files to an application. However if I try to submit a file .txt , it works correctly, if I send a file .xlsx the copied file to the server directory appears empty. I'm using lib: co...
asked by 20.06.2016 / 16:26
1
answer

Android App After Multiple Requests Receives SocketTimeoutException

I developed a menu application for Android , the waiter by the app sees all the tables, by the application opens the table, makes the request that goes out in the kitchen and so on. The web service returns a JSON for each request and makes...
asked by 30.06.2015 / 14:30
1
answer

What is the simple way to create a WebService Rest from an existing Java Web Dynanic project? [closed]

Talk to people I'm a beginner in the java world and I created a Web Dynamic project where I use Hibernate, PrimeFaces and TomCat. Everything is working, screens, registers (CRUD) and stuff. Only now I want to turn it into a webservice so I ca...
asked by 10.06.2015 / 21:26
6
answers

Hibernate is not creating the tables

I'm new to Hibernate, because of the little I've learned, I believe I did everything right, that is, I downloaded the dependencies, I wrote down the classes, etc. Below is my example class: package br.com.evolutionary.modelo; import javax.per...
asked by 12.05.2016 / 01:18
1
answer

Hide version of Tomcat in error pages

I have API Rest running on a Tomcat server. If I try to access the API directly and an error occurs the Tomcat errors page is displayed: Note that at the end you will find the following excerpt: Apache Tomcat / 8.0.30...
asked by 05.05.2016 / 20:50
3
answers

Save same object multiple times

Solution: setar id = null The code saves 10 times if it runs on the Tomcat server, but if it runs on Glassfish it only adds one time. <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xm...
asked by 29.01.2014 / 14:09
1
answer

Is it possible to use libraries within the java project framework?

My question is as follows, can I by way of relative path link my .JSP to a library within the project directory? Or just in the server directory: Webapps, etc? Currently, when I want to show an image on my system, I do the following: <im...
asked by 10.08.2018 / 15:53