Posts

Showing posts from August, 2019

Sun Aug 11 00:16:11 CDT 2019

2.7 Implicit Objects Arguably, the most useful feature of the JSTL expression language is the implicit objects it defines for accessing all kinds of application data. Those implicit objects are listed in Table 2.5. Table 2.5 JSTL Implicit Objects Implicit Object Type Key12 Value cookie Map Cookie name Cookie header Map Request header name Request header value headerValues Map Request header name String[] of request header values initParam Map Initialization parameter name Initialization parameter value param Map Request parameter name Request parameter value paramValues Map Request parameter name String[] of request parameter values pageContext PageContext N/A N/A pageScope Map Page-scoped attribute name Page-scoped attribute value requestScope Map Request-scoped attribute name Request-scoped attribute value sessionScope Map Session-scoped attribute name Session-scoped attribute value applicationScope Map Application-scoped attribute name Application-scoped attribute value There are th

Sun Aug 11 00:12:44 CDT 2019

-i4 means only show ipv4 address and ports -P and -n fast output output like this ➜ lsof -Pn -i4 | grep LISTEN QQPlatfor 22767 xxxx 15u IPv4 0x36c2bfa04e49385d 0t0 TCP *:49969 (LISTEN) GoAgentX 33377 xxxx 4u IPv4 0x36c2bfa06e68b12d 0t0 TCP *:56154 (LISTEN) GoAgentX 33377 xxxx 20u IPv4 0x36c2bfa04e492f8d 0t0 TCP 127.0.0.1:56155 (LISTEN) tag:netstat,lsof,check,ports,listen