Friday, September 2, 2016

chmod 777 *?

Answer:
This will give permissions to all files currently in the folder and files added in the future without giving permissions to the directory itself.
NOTE: This should be done in the folder where the files are located. For me it was an images that had an issue so I went to my images folder and did this.

How refresh <DIV> ?

Answer:

$("#Container").html($("#Container").html());
<div id="Container">
Getting Refreshed...
<div>

JSTL Less Than Equal(<=), Greater Than Equal(>=)


Answer
Logical operation JSTL Method 1 JSTL Method 2
Less Than Lt <
Greater Than Gt >
Less Than Or Equal Le <=
Greater Than Or Equals Ge >=

Thursday, September 1, 2016

How to get Server data and time on the JSP/front end?

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>