50% Off/-

50% Off/-

Php

50% Off/-

50% Off/-

Web

50% Off/-

50% Off/-

Latest Added Tutorials

${requestScope['javax.servlet.forward.request_uri']} : gets current relative URL...Continue Reading
The main purpose of this project is to avoid infamous change -> restart and wait -> check development lifecycle. Save&Reload during development should be standard and many other languages (including C#) contain this feature Currently Tomcat 8.0.23 version is supported. Before using Hotswap Agent in Tomcat, please visit HotswapAgent web page to install: https://github.com/HotswapProjects/HotswapAgent Lastly add -XXaltjvm=dcevm -javaagent:C:\Users\myuce\Desktop\hotswap-agent.jar JVM parameters ass follows: ...Continue Reading
To improve performance a JSP application running on Tomcat server, we have to change some configurations in Tomcat. 1. Disable auto deploy feature false in conf/server.xml file in Tomcat location: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="false"> 2. Change jsp servlet configuration settings located in conf/web.xml file in Tomcat location: <servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <...Continue Reading
Jsp Page In Jsp, there is no break element to break foreach loop, so we have used begin, end and var attributes. When parentPage is null, then count variable will be set to end attribute value to break foreach loop as follows: <section class="in_sec_nrd"> <article class="art_loop_nrd"> Where I am: <c:forEach begin="0" end="100" var="count"> <c:if test="${not empty parentPage}"> <a title="${parentPage.title}" href="<c:url value="/content/${parentPage.url}" />"> ${par...Continue Reading
ignore="true" is used when an object can be null: <put-attribute name="displayedTitleShortInfo" cascade="true" expression="${problem.title}"/> <h1><tiles:insertAttribute name="displayedTitleShortInfo" ignore="true"/></h1> As seen above, we defined Tiles tag named as displayedTitleShortInfo. The expression attribute of this tag contains jsp expression. When problem variable is null, we encounter runtime-exception: ELResolver cannot handle a null base Object with identifier To solve this problem, ignore="true" attribute must be used....Continue Reading

© 2019 All rights reserved. Codesenior.COM