add ASF Header
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/642f47de Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/642f47de Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/642f47de Branch: refs/heads/master Commit: 642f47dec913cfa364eee90db76c2477c800841f Parents: 11df999 Author: Daniel Dias <[email protected]> Authored: Thu Dec 6 19:43:51 2018 -0200 Committer: Daniel Dias <[email protected]> Committed: Thu Dec 6 19:43:51 2018 -0200 ---------------------------------------------------------------------- .../superbiz/application/MVCApplication.java | 16 ++++++++++++ .../org/superbiz/controller/HomeController.java | 16 ++++++++++++ .../superbiz/controller/PersonController.java | 16 ++++++++++++ .../main/java/org/superbiz/model/Address.java | 16 ++++++++++++ .../main/java/org/superbiz/model/Errors.java | 16 ++++++++++++ .../main/java/org/superbiz/model/Messages.java | 16 ++++++++++++ .../main/java/org/superbiz/model/Person.java | 16 ++++++++++++ .../superbiz/persistence/PersonProducer.java | 16 ++++++++++++ .../superbiz/persistence/PersonRepository.java | 16 ++++++++++++ .../src/main/resources/META-INF/beans.xml | 17 ++++++++++++ .../src/main/resources/META-INF/persistence.xml | 18 +++++++++++++ .../src/main/webapp/WEB-INF/views/change.jsp | 17 ++++++++++++ .../src/main/webapp/WEB-INF/views/home.jsp | 17 ++++++++++++ .../src/main/webapp/WEB-INF/views/insert.jsp | 17 ++++++++++++ .../src/main/webapp/WEB-INF/views/list.jsp | 20 +++++++++++++-- examples/mvc-cxf/src/main/webapp/index.jsp | 17 ++++++++++++ .../src/main/webapp/templates/footer.jsp | 23 ++++++++++++++--- .../mvc-cxf/src/main/webapp/templates/menu.jsp | 27 +++++++++++++++----- 18 files changed, 305 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/application/MVCApplication.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/application/MVCApplication.java b/examples/mvc-cxf/src/main/java/org/superbiz/application/MVCApplication.java index 1639854..c021feb 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/application/MVCApplication.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/application/MVCApplication.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.application; import javax.ws.rs.ApplicationPath; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/controller/HomeController.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/controller/HomeController.java b/examples/mvc-cxf/src/main/java/org/superbiz/controller/HomeController.java index d1abe7f..87b00c5 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/controller/HomeController.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/controller/HomeController.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.controller; import javax.mvc.Controller; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/controller/PersonController.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/controller/PersonController.java b/examples/mvc-cxf/src/main/java/org/superbiz/controller/PersonController.java index 9ebc0d6..cc78129 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/controller/PersonController.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/controller/PersonController.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.controller; import static java.util.stream.Collectors.toList; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/model/Address.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/model/Address.java b/examples/mvc-cxf/src/main/java/org/superbiz/model/Address.java index aea3a37..1539de1 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/model/Address.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/model/Address.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.model; import java.util.Objects; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/model/Errors.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/model/Errors.java b/examples/mvc-cxf/src/main/java/org/superbiz/model/Errors.java index 2ee0c54..ecc3761 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/model/Errors.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/model/Errors.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.model; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/model/Messages.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/model/Messages.java b/examples/mvc-cxf/src/main/java/org/superbiz/model/Messages.java index 3c09e75..050efcc 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/model/Messages.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/model/Messages.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.model; import java.io.Serializable; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/model/Person.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/model/Person.java b/examples/mvc-cxf/src/main/java/org/superbiz/model/Person.java index ae57049..0bc3d87 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/model/Person.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/model/Person.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.model; import java.util.Objects; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonProducer.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonProducer.java b/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonProducer.java index 4bfb622..605cc48 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonProducer.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonProducer.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.persistence; import javax.enterprise.context.ApplicationScoped; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonRepository.java ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonRepository.java b/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonRepository.java index dd6d15c..97967af 100644 --- a/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonRepository.java +++ b/examples/mvc-cxf/src/main/java/org/superbiz/persistence/PersonRepository.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.superbiz.persistence; import java.util.Optional; http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/resources/META-INF/beans.xml ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/resources/META-INF/beans.xml b/examples/mvc-cxf/src/main/resources/META-INF/beans.xml index 8ae1a57..1d7c79f 100644 --- a/examples/mvc-cxf/src/main/resources/META-INF/beans.xml +++ b/examples/mvc-cxf/src/main/resources/META-INF/beans.xml @@ -1,4 +1,21 @@ <?xml version="1.0"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd" http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/resources/META-INF/persistence.xml ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/resources/META-INF/persistence.xml b/examples/mvc-cxf/src/main/resources/META-INF/persistence.xml index 6a9e49f..a1dbf86 100644 --- a/examples/mvc-cxf/src/main/resources/META-INF/persistence.xml +++ b/examples/mvc-cxf/src/main/resources/META-INF/persistence.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" @@ -16,6 +33,7 @@ <property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.H2Platform"/> <property name="eclipselink.ddl-generation" value="create-tables"/> <property name="eclipselink.ddl-generation.output-mode" value="database"/> + <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true, Indexes=false, IgnoreErrors=true)"/> </properties> </persistence-unit> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/WEB-INF/views/change.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/change.jsp b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/change.jsp index 0bc296b..8f7f886 100644 --- a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/change.jsp +++ b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/change.jsp @@ -1,3 +1,20 @@ +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <%@ page contentType="text/html;charset=UTF-8" language="java"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!DOCTYPE html> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/WEB-INF/views/home.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/home.jsp b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/home.jsp index f389806..7f05346 100644 --- a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/home.jsp +++ b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/home.jsp @@ -1,3 +1,20 @@ +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <%@ page contentType="text/html;charset=UTF-8" language="java"%> <!DOCTYPE html> <html> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/WEB-INF/views/insert.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/insert.jsp b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/insert.jsp index 4260d46..ed27ce6 100644 --- a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/insert.jsp +++ b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/insert.jsp @@ -1,3 +1,20 @@ +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <%@ page contentType="text/html;charset=UTF-8" language="java"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!DOCTYPE html> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/WEB-INF/views/list.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/list.jsp b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/list.jsp index b06de65..26e93db 100644 --- a/examples/mvc-cxf/src/main/webapp/WEB-INF/views/list.jsp +++ b/examples/mvc-cxf/src/main/webapp/WEB-INF/views/list.jsp @@ -1,5 +1,21 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/index.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/index.jsp b/examples/mvc-cxf/src/main/webapp/index.jsp index b943d37..5e59d9c 100644 --- a/examples/mvc-cxf/src/main/webapp/index.jsp +++ b/examples/mvc-cxf/src/main/webapp/index.jsp @@ -1,3 +1,20 @@ +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <%@ page contentType="text/html;charset=UTF-8" language="java"%> <!DOCTYPE html> <html> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/templates/footer.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/templates/footer.jsp b/examples/mvc-cxf/src/main/webapp/templates/footer.jsp index b7b153d..4491769 100644 --- a/examples/mvc-cxf/src/main/webapp/templates/footer.jsp +++ b/examples/mvc-cxf/src/main/webapp/templates/footer.jsp @@ -1,12 +1,27 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<link - href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> +<link href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <body> <footer align="center"> http://git-wip-us.apache.org/repos/asf/tomee/blob/642f47de/examples/mvc-cxf/src/main/webapp/templates/menu.jsp ---------------------------------------------------------------------- diff --git a/examples/mvc-cxf/src/main/webapp/templates/menu.jsp b/examples/mvc-cxf/src/main/webapp/templates/menu.jsp index de564e1..d70d4bb 100644 --- a/examples/mvc-cxf/src/main/webapp/templates/menu.jsp +++ b/examples/mvc-cxf/src/main/webapp/templates/menu.jsp @@ -1,3 +1,20 @@ +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!DOCTYPE html> @@ -6,8 +23,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" name="viewport" content="width=device-width, initial-scale=1"> <title>MVC 1.0 DEMO</title> -<link - href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> +<link href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> </head> <body> <div class="navbar navbar-inverse"> @@ -17,16 +33,15 @@ </div> <div> <ul class="nav navbar-nav"> - <li class="active"><a - href="${mvc.basePath}/mvc/show">Peoples</a></li> + <li class="active"><a href="${mvc.basePath}/mvc/show">Peoples</a></li> </ul> </div> </div> </div> <script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/jquery.min.js"> - </script> + </script> <script type="text/javascript" src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js"> - </script> + </script> </body> </html> \ No newline at end of file
