I guess these operators existed in C and C++ because some microprocessors have instructions for exactly these operations. A compiler has an easy job when it finds one of these operators in your source code, because it can then just convert the code to those machine language instructions directly. I think any modern C or C++ compiler nowadays would be smart enough to also optimize a statement like i = i + 1 to an efficient, single machine language instruction, but really old C compilers of the 1970's might not have such optimizations built-in.
<s:errors/> tag { it needs to be used in EmployeeLogin .jsp}.......???
with an taglib statement in the begining as: <%@taglib uri="/WEB-INF/struts-html.tld" prefix="s" %>
On the top of your jsp page you can have some like this:
view plaincopy to clipboardprint?
<%@ taglib uri="taglib.tld" prefix="s" %>
<s:forEachError>
<br><%=errorProperty%> : <%=errorMessage%>
</s:forEachError>