.Maui Code to Text Ratio

Do not underestimate the importance of the percentage ratio between the code and the text of your website! Use our newly updated tool “.Maui Code to Text Ratio” to analyze your site. https://dotmaui.com/code-to-text-ratio/

Java: view all the headers in tomcat

Source Code for RequestHeader Example import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class RequestHeaderExample extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(“text/html”); PrintWriter out = response.getWriter(); Enumeration…

VB.Net convert string to title case

Our advice is to create an extension, so you can directly use the new function on strings: Public Module MyExtensions <System.Runtime.CompilerServices.Extension()> Public Function ToTitleCase(mystring As String) As String Return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(mystring) End Function End Module Now…

Latest updates

Here’s what we did this week: – Sitemap generator updated with bug fixes and published the new sitemap to display stylized with an XSL – Broken Link Checker beta 3 released with bug fixes and…

Java Tomcat Session Example

Source Code for Session Example import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class SessionExample extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(“text/html”); PrintWriter out = response.getWriter(); HttpSession…

Java servlet example for read and create cookies in Tomcat

Source Code for Cookie Example import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class CookieExample extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(“text/html”); PrintWriter out = response.getWriter(); // print out…