Questions tagged as 'vraptor'

1
answer

Error 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 () for servlet [default] in context...
asked by 14.12.2015 / 12:02
2
answers

How to use @Delete annotation in Vraptor + AJAX?

In my Vraptor project I'm trying to delete a record from a list without the page being reloaded. From the book I'm following, AJAX is used so that the removed record "adds" without the whole page being loaded. The error below occurs when I try t...
asked by 11.05.2015 / 22:05
1
answer

Save data via POST on the bank with Vraptor

I have two methods in my Controller , one that lists all the data in the database and one method to save data in the database. I can already list all data when accessing URI but when I try to save from this error:    java.lang.Il...
asked by 10.09.2015 / 20:12
2
answers

View .HTML with VRaptor. It's possible?

I'm a Systems Analysis and Development student and I love programming, I've studied the basics of Java and I'm working on frameworks just to get a feel for it. How do I return an HTML page in a controller with VRptor instead of JSP. I'm d...
asked by 21.01.2015 / 17:36
1
answer

How to pass a list of an object containing 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 the list is displayed like this: [Cont...
asked by 14.09.2015 / 18:53
0
answers

Use vraptor-brutauth in jsps

Expensive, I have a problem that when I put a rule with @GlobalRule , I can not use it in jsps .. When I put only ${rules} to list the rule map, the one with @GlobalRule does not appear. When I shoot it it reappears ....
asked by 12.12.2015 / 19:42
1
answer

VRaptor - File upload in IE 8/9 does not work

I'm trying to upload files and it's not working in IE8. NOTE: It works in Chrome and Firefox perfectly. I've been researching and seen that IE 8/9 does not support FormData as enctype . Ex: <form id="form" method="post"...
asked by 29.09.2016 / 20:49
1
answer

How to configure Log4j to generate a file in the WEB-INF folder with different date?

I want to generate * .log or * .txt files with different dates (eg file-log-22-10-2015.log) inside the WEB-INF folder of my JavaWeb project. I created the log4j.proprieties file as follows : log4j.properties # Root logger option log4j.rootL...
asked by 27.08.2015 / 20:30
1
answer

Paging table with AngularJs

I was trying to put a pagination on my table, after a help I partially solved the problem, but it did not stay the way I expected. I can already get the currentPage with each click on the < pagination> the problem is on how t...
asked by 24.09.2015 / 19:55
2
answers

Consuming Json with AngularJS

I'm trying to access a EndPoint through AngularJS. This is my Service: angular.module('empresa-view') .factory('empresaService', ['$resource', function ($resource) { return $resource($SERVICES_CONTEXT + 'empresa/:params',...
asked by 11.09.2015 / 15:19