ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug5nnnn/bug54338.jsp

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/webapp/bug5nnnn/bug54338.jsp
Status
scanned
Type
file
Name
bug54338.jsp
Extension
.jsp
Programming language
Java Server Page
Mime type
text/html
File type
HTML document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1412 (1.4 KB)
MD5
888a1ef6247f29f59fe52d24e000bdcc
SHA1
5cb69bda47558e3f5855cde5d35efee31aa5a21f
SHA256
c21e495d1c0110f0e7671650025402d5c7a8904080e37d26e600abf66c1a3413
SHA512

      
    
SHA1_git
10f9c51836b62b1d6eab7f26f16ec1cbf29a0f99
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
bug54338.jsp | 1.4 KB |

<%-- 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. --%> <%! public class Bug54338 { private int answer; public int getAnswer() { return answer; } public void setAnswer(int answer) { this.answer = answer; } } %> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <html> <body> <% pageContext.getSession().setAttribute("foo", new Bug54338()); %> <c:set value="42" target="${sessionScope.foo}" property="answer" /> <p>OK - <c:out value="${sessionScope.foo.answer}"/></p> </body> </html>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
63.98
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9
http://java.sun.com/jsp/jstl/core 26 26