#2 Folder sharing
This commit is contained in:
@@ -16,5 +16,10 @@
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -2,11 +2,13 @@ package de.nbscloud.webcontainer;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.context.annotation.SessionScope;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
@SessionScope
|
||||
public class MessageHelper {
|
||||
// We have to temporarily store messages as we redirect: in some methods
|
||||
// so everything we add to the model will be gone, that's why we store messages
|
||||
|
||||
Reference in New Issue
Block a user