Skip to content

Commit

Permalink
Tener mas de unsa vista @component y media types
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiasMorochi committed Sep 15, 2019
1 parent c4a242d commit 3f53e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/view/csv/ClienteCsvView.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.Map;


@Component("listar")
@Component("listar.csv")
public class ClienteCsvView extends AbstractView {

public ClienteCsvView() {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spring.servlet.multipart.max-request-size=10MB
spring.mvc.contentnegotiation.favor-parameter=true
spring.mvc.contentnegotiation.media-types.pdf=application/pdf
spring.mvc.contentnegotiation.media-types.xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
spring.mvc.contentnegotiation.media-types.csv=text/csv



0 comments on commit 3f53e4c

Please sign in to comment.