Most voted "vraptor" questions
Vraptor is a web MVC framework for agile development with JAVA created in 2003 at IME-USP, currently maintained by Caelum and several developers from other companies.
Learn more…54 questions
Sort by count of
-
8
votes1
answer6420
viewsApache Tomcat (Production Setup)
Good morning, I’m doing a project and using Tomcat 8 as my server. The point is, I have a Linux server to host my application, but I would like to know if I need to do any different configuration…
-
5
votes1
answer317
viewsError while uploading an Angularjs+Vraptor file
I have a system where I can upload files through an Angular library (ng-file-upload), but if the file is larger than 3MB when I try to upload I have the following errors: GRAVE: Servlet.service()…
-
4
votes2
answers359
viewsHow to use @Delete annotation in Vraptor + AJAX?
In my Vraptor project I am trying to delete a record from a list without the page being reloaded. By the book I am following, AJAX is used so that the record removed "suma" without the whole page…
-
3
votes1
answer94
viewsHow to exit the controller before reaching the end with Vraptor 3?
Do you have a command in vraptor 3 that will allow you to log out of the controller before you get to the end of it? 'Cause I have a controller that if a particular one happens process in the middle…
-
3
votes2
answers202
viewsView . HTML with Vraptor. Is it possible?
I am a student of Analysis and development of systems and I love programming, I studied the basics of Java and I am searching frameworks just to get a sense. How do I return an HTML page in a…
-
3
votes0
answers53
viewsUse vraptor-brutauth in jsps
Expensive, I have a problem that when I put a rule with @GlobalRule, I can’t use it in jsps.. When I just put ${rules} to list the rule map, which has the @GlobalRule does not appear. When shot it…
-
3
votes1
answer377
viewsSave data through POST in the database with Vraptor
I have two methods in my Controller, one that lists all database data and a method to save data in the database. I can already list all data when accessing URI but when I try to save from that…
-
3
votes1
answer767
viewsHow to pass a list of an object that contains another object (composition) to a JSON
I have two classes: Contact and Operator. A in the Contact class I have a composition: private Operadora operadora; I have a DAO where I have a class that returns a list of Contacts, in the console…
-
3
votes1
answer58
viewsVraptor - Uploading files to IE 8/9 does not work
I’m trying to upload files and it’s not working on IE 8. OBS.: Works on Chrome and Firefox perfectly. I did some research and saw that the IE 8/9 can not stand FormData as enctype. Ex: <form…
-
2
votes0
answers126
viewsProblem expiring Apache Shiro + vraptor-Shiro session
I’m using the vraptor-Shiro to integrate the Apache Shiro as a security mechanism in a project of mine and I’m having a problem when the session expires. In the method onInvalidation class…
vraptorasked 9 years, 11 months ago Jayr Motta 121 -
2
votes1
answer251
viewsDoubt with Vraptor Download Images
I have a question about the function of Download Vraptor, I have an IMG on my server and I try to display it in my Mobile Application but when I request the served it does not return me an IMG type…
-
2
votes1
answer542
viewsHow to redirect the vraptor web.xml link to a Controller?
I have the following codes below: web xml.: <error-page> <error-code>404</error-code> <location>/error/404</location> </error-page> <error-page>…
-
2
votes1
answer3456
viewsHow to configure Log4j to generate a file in the WEB-INF folder with different dates?
I want to generate *.log or *.txt files with different dates (e.g., file-log-22-10-2015.log) within the WEB-INF folder of my Javaweb project I created the log4j.proprieties file as follows:…
-
2
votes2
answers2057
viewsConsuming Json with Angularjs
I’m trying to access a EndPoint through the Angularjs. This is my Service: angular.module('empresa-view') .factory('empresaService', ['$resource', function ($resource) { return…
-
2
votes1
answer969
viewsTable paging with Angularjs
I was trying to put a pagination in my table, after a help I managed to partially solve the problem, but it was not the way I expected. I can get the currentPage every click on <pagination>…
-
2
votes2
answers106
viewsStandardization in building Rest api with Vraptor
Well I have a question about standardization in the creation of Rest endpoints. According to Vraptor documentation I can set the request path using the annotation > @Path("/paciente-api") here at…
-
1
votes2
answers1966
viewsReturn of select objects (Combobox) with Hibernate + JSP + Vraptor. Does not fill relationship between tables
I have an object TabelaPrecoItem with all the structure formed and almost everything working, follows the model of the model. @Entity @Table(name = "fov_tabela_preco_itens") public class…
-
1
votes1
answer1138
viewsHandle get(403,404,405) errors with jquery
I’m using history API to load the clicks in the menu, in a div #content, ok so far so good, but I’m handling the errors by JQUERY even look only $('a').click(function() { pageurl =…
-
1
votes1
answer162
viewsHow to deserialize a geometric polygon with Gson?
I am using Vraptor 4 and the intention is to create a converting class of Polygon that does the deserialization and serializes. My problem is only in deserialize. How to deserialize a geometric…
-
1
votes1
answer205
viewsHow do I call the intercept() method of an Intercept class, in another project method?
All right, guys? Well, I’m having a hard time and I’d like a little help. I have the following method from my Acessarintercept class: @Intercepts @RequestScoped public class AcessarIntercept {…
-
1
votes1
answer465
viewsBreaking net.vidageek.mirror.exception.Reflectionproviderexception error: Could not invoke method, how to fix?
I am in a code where at the moment I run this java method from Htmlunit: // SIMULANDO UM NAVEGADOR WebClient client = new WebClient(BrowserVersion.getDefault()); client.setJavaScriptEnabled(false);…
-
1
votes1
answer584
viewsHow to treat error 404 and 500 in vRaptor?
I have seen tutorial of vraptor4 teaching to put this error in web.xml, to redirect, the following xml code: <error-page> <error-code>404</error-code>…
-
1
votes0
answers107
viewsDoubt about dependency injection in Customer Systems of Hibernate
I wonder if there is any way I can inject resources into an Hibernate Event Listener using vraptor 3.5. I wish I could simulate the behavior of a Rigger that we have in the database. And this…
-
1
votes1
answer188
viewsVraptor: conflict of routes
I am developing a news system for a client, and I am going through a difficulty, at the moment that I will record the news at the bank, the following message: java.lang.Illegalstateexception: There…
-
1
votes1
answer514
viewsThe find() method of my entityManager from DAO Generica is giving Nullpointer, how to correct?
The change of my DAO is like this: private EntityManager entityManager; public void alterar() throws Exception { System.out.println("T encontrada"); System.out.println("iniciando Alterar id: " +…
-
1
votes1
answer49
viewsProblems with the Hibernate update
I’m having some unforeseen events with Hibernate in my application. I wonder if the implementations of annotations made in class java are taken to the database or processed only within the system,…
-
1
votes1
answer104
viewsVraptor task does not work
I’m having a problem with the vraptor task. I have a Vraptor 4 project created that is sending email normally, but when I try to create a task it does not send email. See the task class Controller…
-
1
votes0
answers301
viewsDisable caching in Wildfly navigation
Hello, I am using Vraptor 4 with Wildfly 9, and I noticed that in my localhost browsing, every refresh or browsing among other pages, the HTML content is normally reloaded. However, when I am making…
-
1
votes1
answer84
viewsRetrieve Bigdecimal Value from @Pathparam
I have the following call http://localhost:8080/app-teste/produto/1234/76.60 and I want to recover like this: @Get("/{produtoDto.codBarras}/{preco}") public void produtoComPreco(ProdutoDto…
-
1
votes0
answers76
views@Skipserialization
I’m having a problem serializing my classes. I have a circular reference problem, so I’m trying to treat this by adding the @Skipserialization annotation to the class to prevent it from being…
-
1
votes1
answer1066
viewsFormat date in Angular for Java.util.Date
I have the following date generated in Angularjs: 2015-09-14T18:38:03.637Z when I try to give a POST the following error happens in the backend: Caused by: java.text.Parseexception: Unparseable…
-
1
votes1
answer471
viewsVraptor + Angularjs authentication
I’m trying to authenticate users on my system, but I’m a bit lost. How do I return the logged user from the pro server front-end ? Currently I can check if the user exists in my database as follows:…
-
1
votes0
answers312
viewsProblem deserving Json object with Vraptor4
Good afternoon Personal. I am having problems deserealizing json object with Vraptor4. Taking some tests, you realize a situation: I am using Curl only to test the service, but when I do this…
-
1
votes1
answer165
viewsVraptor Mockito unit test (CDI)
someone can give me a light, how to make the unit tests using Mockito next to the complete CDI of the Vraptor application? I use CDI a lot to control my objects like automatic management of my dao…
-
1
votes1
answer91
viewsHow to use Localdate in Vraptor4?
I am trying to make a simple application in Vraptor 4. In an Entity, I have two attributes, one of the kind LocalDate and another of the kind LocalTime. I added the Vraptor Java 8 plugin, which…
-
0
votes1
answer20
viewsDisplay only one view from a link
I’m beginner in vRaptor bla bla Want to when clicking a view button and redirect to a view only page. Need to create a controller just for this or a <li><a…
vraptorasked 9 years, 5 months ago Raphael Onofre 1 -
0
votes1
answer111
viewsDifficulty to view data in a Vraptor web project
Check my JSP page <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"…
-
0
votes1
answer369
viewsAWS + Tomcat 8 + Vraptor 4: after increasing the volume of the instance, app does not starta
Good afternoon! We have an application running on Amazon and everything was working perfectly until yesterday. We had to change the volume of the instance because the old one had reached 100% of its…
-
0
votes1
answer1400
views -
0
votes1
answer94
viewsUtf-8 Server Issues with Mysql
Good afternoon, I have an accents problem with my application running Ubuntu server 14.04 VPS American. All the application running on my development machine are registering normally at the base…
-
0
votes0
answers152
viewsError saving request | java web application + jsp + Hibernate + vraptor
I am making a web application (E-commerce), which is the final work of the web discipline, only need to save the request in the bank but is giving an error that I can not solve. I searched, but I…
-
0
votes1
answer25
viewsEndpoints using Vraptor
I have a problem here but I do not know if it gives p/ solve . I have a method that has many parameters so I made a kind of filter, and it was like this : @Get("") public void findByFilter(Filtro…
-
0
votes0
answers61
viewsMemory Leak error in connection drivers when trying to launch Tomcat
I have a Java/Vraptor4 application on a Tomcat9.0 , when I am climbing up Tomcat the following error is released: abr 09, 2019 10:50:13 AM org.apache.catalina.startup.VersionLoggerListener log…
-
0
votes1
answer2375
viewsDynamic Table Paging with Angularjs
I have the following scenario: I recover this data from a Rest API with Vraptor. I would like to display only two items per page, but I don’t know where to start. I implemented this pagination using…
-
0
votes1
answer3779
viewsUpload Angularjs Files
I have a button where I select a file, I would like to upload that file to my server(Java + Vraptor). I can already get the file and also save the name of the file in the database along with the…
-
0
votes0
answers102
viewsproblems with web service Jquery + Vraptor 4 "status of 404"
I know it says it wasn’t found, but I can’t find where I went wrong. My controller: @Controller public class ProdutoController { @Inject private Result result; @Path("/") public…
-
0
votes0
answers366
viewsHow to get Result from Controller Vraptor with Jquery?
I have a controller. Newslettercontroller.java @Controller public class NewsletterController{ @Inject private Result result; @Post("/gravarEmail") public void gravarEmail(String email){ String…
-
0
votes1
answer129
viewsProblems (Vraptor + Hibernate request)
I’m using the Vraptor to develop a web application. More in certain tests, I saw that the Hibernate is adding in the database, but when I send the Result to my page with a new list of that object I…
-
0
votes1
answer302
viewsError 500 (Internal Server Error), when I try to create a session
I am trying to create a session for a login using Java, vRaptor, Hibernate, Angularjs. But when the session will be created I get this exception (500 (Internal Server Error)). This is my session…
-
0
votes0
answers59
viewsVraptor (Method with URL connection)
Good afternoon, I am trying to execute a code in Vraptor, that when running my route, I need the system to trigger a connection using URL to a page and return the body. This is a method of my…