Questions tagged as 'spring'

1
answer

How to read processed view jsp in spring?

Is there a way to get a view as String already processed? I need to send emails and I want to avoid creating the html views in a String and better create a JSP view and be able to call it as a String . I've dealt with...
asked by 31.08.2017 / 01:36
2
answers

I get this error: Failed to load class "org.slf4j.impl.StaticLoggerBinder" ...?

I get the following error when executing the project:    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".   SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J:   See link for further   details. This is t...
asked by 31.07.2017 / 01:00
1
answer

I am trying to run my ExamenMVC project and I can not find the error:

type Exception Report message Servlet.init () for servlet spring threw exception description The server encountered an internal error that made it unable to complete this requirement. exception javax.servlet.ServletException:...
asked by 24.06.2017 / 20:51
1
answer

Execute sql in java

I have the following code: <bean id="hibernateTemplate" class="org.springframework.orm.hibernate4.HibernateTemplate"> <property name="sessionFactory" ref="sessionFactory" /> </bean> My class: public class DataBaseSer...
asked by 16.06.2017 / 09:40
3
answers

How to create @repository in spring

why when a repository is created public interface BookRepository extends JpaRepository<Book,Long> { which means <Book,Long> , what is it for or what?     
asked by 01.05.2017 / 05:26
1
answer

Spring MVC that makes the mvc tag: annotation-driven /

In a Spring MVC web application in the XML configuration file the examples that I have seen use the tag I would like to know what the same is for me.     
asked by 25.03.2017 / 15:32
2
answers

How to obtain entities and their relationships using Hibernate?

I am working with Spring 4 and Hibernate 5. I am doing a test application to manage the events of a fictional theater, and also keep information about those events. I have several classes annotated with @Entity, such as Theater, User, Seat, Room...
asked by 22.03.2017 / 15:47
1
answer

how to change the state of a boolean in mysql jsf

How can I change the status of the seller, what I want to do is change the status by just clicking on the link, and change it in the database this is my managedbean @ManagedBean @SessionScoped public class VendedorManagedBean { private Ven...
asked by 08.11.2016 / 23:10
1
answer

Upload files to project spring boot [closed]

I would like to know how I can store files uploaded by form within the static directory of a spring boot project.     
asked by 26.08.2016 / 00:46
1
answer

How do I send the data of a form (symfony) and capture it in java (Spring)?

Good morning. I have a web application made with symfony2 (php), in which I have a form with some data, which I want to send to my other web application made with spring (java). What technology and / or technologies should I use to achieve this...
asked by 14.07.2016 / 00:49