Questions tagged [vraptor]

VRaptor is an open source Java MVC framework focused in simplicity.

VRaptor

VRaptor is an open source Java MVC framework. It's focused in being simple, easy to learn and non-intrusive. It has support to integrate Hibernate and Spring but is not coupled with any particular technology.

References

35 questions
3
votes
3 answers

Convert Outputstream to file

Well i'm stucked with a problem, I need to create a PDF with a html source and i did this way: File pdf = new File("/home/wrk/relatorio.pdf"); OutputStream out = new FileOutputStream(pdf); InputStream input = new…
gmlyranetwork
  • 91
  • 1
  • 2
  • 10
2
votes
1 answer

How send information from forms without submit modal?

Right now i'm using jsp and bootstrap to make my front-end, and i have an option to make a new register inside a modal and this new register needs to be in my behind screen, in the past projects I used angular and it was very easy to do, but now…
2
votes
1 answer

How to link css

I am new to web design and am having some problems , one of them (which is killing me ) is that I can not link the css my JSP page . My problem is " simple " : 404 NOT FOUND in the css file. Actually I got the code below : < % @ include file = "…
user4075685
2
votes
1 answer

Bootstrap not 100% using $('html').html(data);

I have a form login that do the loginCheck using ajax, If I type the wrong password, it just displays an alert message, but if I use the correctly password it redirect me to the admin page. The problem is if I call $('html').html(data); after the…
user2582318
  • 1,607
  • 5
  • 29
  • 47
2
votes
1 answer

Upgrade vRaptor to 3.5.3 Java.lang.NoClassDefFoundError: br/com/caelum/vraptor/validator/Validator

I have trouble when update my pom.xml for upgrade some jars, like vraptor and hibernate... My environment is, Web project, maven, tomcat 7, vraptor, jpa, osx mavericks, before update jars, all work's fine, after the update I got this error on start…
2
votes
2 answers

How to Deploy in Heroku using VRaptor

Developed a project using VRaptor in development environment (using Eclipse) had no problem. However when trying to do a deploy on Heroku an error occurs in which I am not able to play in the development environment. 2013-02-13T13:36:01+00:00…
2
votes
2 answers

Is it possible to use CDI with VRaptor?

Is it possible to use CDI as dependendcy injection container for VRaptor framework?
Chico Sokol
  • 1,254
  • 3
  • 16
  • 24
1
vote
0 answers

Error when read or write a image to disk with servlet

I created a Servlet to write and read images in an out-of-context location When reading or writing an image to disk, the following error sometimes occurs: The application continues to run normally even with the mentioned error…
1
vote
1 answer

Insert entity with foreign keys with hibernate and vraptor via POST

Im trying to insert a json taxistaPonto in database using Ajax with JQuery via POST, with other entity without foreign key was fine, but i don't know how to insert this entity with foreign keys. Im sending the requests in Json format. Maybe my json…
Bruno Brito
  • 345
  • 4
  • 17
1
vote
1 answer

Validations pass but when merge() is called a validation error is thrown

Sorry for asking here but I can't for the life of me understand what is going on. Been looking for answers all around the web for hours with no luck. I have a simple Quiz modelled in JPA, using VRaptor (an MVC framework) running in a WildFly…
Rafael Lins
  • 458
  • 7
  • 12
1
vote
0 answers

integrating Vraptor 3.5.2 with wildfly

i'm having some trouble to deploy the blank-project of vraptor 3.5.2 on wildfly 8.2, this only occurs on version 3.5.2 or higher. We have a project that use use vraptor 3.4., and for now we can't upgrade for version 4, but we want to use the…
Juliano Grams
  • 525
  • 1
  • 5
  • 17
1
vote
1 answer

VRaptor4 @Named Components in velocity template

I have a vraptor4 project and i want to use apache velocity as the template engine. So i specialized the br.com.caelum.vraptor.view.DefaultPathResolver as @Specializes public class VelocityPathResolver extends DefaultPathResolver { @Inject …
pbaris
  • 4,525
  • 5
  • 37
  • 61
1
vote
1 answer

Using vRaptor 3 with Tomcat UnpackWARs property setted to false

I have to deploy my web app to a tomcat container with the unpackWARs property defined to false. When I do that, although the application is successfully deployed, when I try to access my url I always got a 404 error. I just don't receive that…
thitemple
  • 5,833
  • 4
  • 42
  • 67
1
vote
1 answer

Integrating deltaspike with vraptor

I have one project work with Vraptor 4 and i want to use deltaspike jpa and data modules to perform some operations. I need to deploy the application in tomcat 7+. Is it possible to integrate vraptor with deltaspike ? Also i do not want to use…
1
vote
1 answer

A field of type "String" does not appear in the result (json) serialization of the vraptor controller

A field of type "String" does not appear in the result of the serialization controller result.use(Results.json()).indented().from(list).serialize(); Some fields appear, and another not appear when null, the field I want is to type "String" and…
Edgard Leal
  • 2,592
  • 26
  • 30
1
2 3