This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence:persistence xmlns:persistence="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
version="2.0" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | |
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd " > | |
<persistence:persistence-unit name="onzeVencedorPu"/> | |
</persistence:persistence> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"usuario":{ | |
"nome":"Bruno Rodrigues", | |
"email":"[email protected]" | |
}, | |
"produtos":[ | |
{ | |
"ean":123, | |
"img":"https://firebasestorage.googleapis.com/v0/b/venda-top.appspot.com/o/61r0Xu9NoSL.jpg?alt=media&token=763eb81d-70f8-4879-83e8-89bfd953c378", | |
"name":"God Of War 3 Ps3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"usuario":{ | |
"nome":"Bruno Rodrigues", | |
"email":"[email protected]" | |
}, | |
"produtos":[ | |
{ | |
"ean":123, | |
"img":"https://firebasestorage.googleapis.com/v0/b/venda-top.appspot.com/o/61r0Xu9NoSL.jpg?alt=media&token=763eb81d-70f8-4879-83e8-89bfd953c378", | |
"name":"God Of War 3 Ps3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package servlets; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; |
NewerOlder