Questions tagged as 'vraptor'

1
answer

How to redirect the link in web.xml from vraptor 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> <error-code>500</error-code>...
asked by 15.07.2015 / 20:54
1
answer

Doubt with Vraptor Image Download

Hello everyone, I have a question about the Vraptor Download function, I have an IMG on my server and I try to display it in my Mobile Application but when I make the request to the server it does not return an IMG type response (type="image / jp...
asked by 04.12.2015 / 18:38
0
answers

Expired Apache session Shiro + vraptor-shiro

I'm using vraptor-shiro to integrate 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 DefaultWebSessionManager launches an exception becaus...
asked by 05.12.2014 / 00:05
1
answer

Vraptor: route conflict

I'm developing a news system for a client, and I'm going through a difficulty, the moment I'm going to record the news in the bank, the following message appears:   POST: [FixedMethodStrategy: / news / {latestListlist} plus [POST]], [FixedMet...
asked by 19.08.2015 / 18:26
1
answer

Problems in hibernate update

I'm having some unforeseen issues with Hibernate in my application. I would like to know if the annotations implementations made in the java class are taken to the database or treated only inside the system, since I added...
asked by 23.02.2016 / 00:33
1
answer

How to deserialize a geometric polygon with Gson?

I'm using Vraptor 4 and the intent is to create a polygon convert class that does deserialization and which serialize. My problem is just deserializing. How to deserialize a geometric polygon with Gson? Follow the json where I need to deseria...
asked by 17.10.2014 / 15:44
1
answer

How to handle error 404 and 500 in vRaptor?

I have already 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> <location>/404.jsp</location> </error-page&...
asked by 14.07.2015 / 19:36
1
answer

How do I call the intercept () method of an Intercept class in another project method?

Okay, everyone? Well, I'm having a hard time and would like a little help. I have the following method of my AccessIntercept class: @Intercepts @RequestScoped public class AcessarIntercept { @AroundCall public void intercepta(Sim...
asked by 26.06.2015 / 16:32
1
answer

Vraptor task does not work

I'm having a problem with the vraptor task. I have a Vraptor 4 project created that is sending mail normally, but when I try to create a task it does not send email. See the task class Controller public class EntrevistaTask { private final...
asked by 26.05.2016 / 02:36
1
answer

Vraptor Authentication + AngularJs

I am trying to authenticate users on my system, however I am somewhat lost. How do I return the user logged in from the server pro front-end ? Currently I can check if the user exists in my database as follows: @Post @Path(value = "/a...
asked by 29.09.2015 / 15:33