spring mvc 学习三

In addition to the basic permissions discussed above, there are also three bits of information defined for files in Linux:

  • SUID or setuid: change user ID on execution. If setuid bit is set, when the file will be executed by a user, the process will have the same rights as the owner of the file being executed.
  • SGID or setgid: change group ID on execution. Same as above, but inherits rights of the group of the owner of the file on execution. For directories it also may mean that when a new file is created in the directory it will inherit the group of the directory (and not of the user who created the file).

================================

image

 

jsp:

<html>
  <head><title>Rantz For Vehicle</title></head>
  <body>
    <h2>Rantz for: ${vehicle.state} ${vehicle.plateNumber}</h2>
    <ul>
    <c:forEach items="${rants}" var="rant">
    <li><c:out value="${rant.vehicle.state}"/>/
        <c:out value="${rant.vehicle.plateNumber}"/> --
        <c:out value="${rant.rantText}"/></li>
    </c:forEach>
    </ul>
  </body>
</html>

spring config:

<bean id="viewResolver" class=
    "org.springframework.web.servlet.view.
         ? InternalResourceViewResolver">
  <property name="prefix" value="/WEB-INF/jsp/" />
  <property name="suffix" value=".jsp" />
</bean>

 

image

================================

bigot

你可能感兴趣的:(spring,mvc,学习,职场,休闲)