Java servlet example - HttpServletRequest, getPathInfo, and getRequestURI
Java servlet example - HttpServletRequest, getPathInfo, and getRequestURI alvin November 25, 2007 - 3:07pm Read more about Java servlet example - HttpServletRequest, getPathInfo, and getRequestURI2...
View ArticleA Hello World servlet
A Hello World servlet alvin April 9, 2009 - 5:06pm Read more about A Hello World servletLog in to post comments Last week I was working with OpenSSO quite a bit, and at one point I just needed a really...
View ArticleJSP URI/URL - How to get the request URI, URL, and Context from a JSP
JSP URI/URL - How to get the request URI, URL, and Context from a JSP By Alvin Alexander. Last updated: June 3 2016 JSP URI/URL FAQ: How do I get a URI or URL from a JSP (the request URI or request...
View ArticleHow to test for a valid user session in a JSP
How to test for a valid user session in a JSP By Alvin Alexander. Last updated: June 3 2016 Note: This approach is very old; Java/JSP scriptlets were deprecated a long time ago. I don't have time to...
View ArticleHow to put an object on the request in a servlet
How to put an object on the request in a servlet alvin June 1, 2009 - 9:00am Read more about How to put an object on the request in a servletLog in to post comments Many times when you're working with...
View ArticleHow to encode a Java String to send to a web server URL
How to encode a Java String to send to a web server URL By Alvin Alexander. Last updated: January 27 2018 Java URL FAQ: Using Java, how can I encode a String that I want to safely pass in a URL to a...
View ArticleJSF HttpSession - How to access the servlet session from JSF
JSF HttpSession - How to access the servlet session from JSF alvin October 16, 2009 - 9:08am Read more about JSF HttpSession - How to access the servlet session from JSFLog in to post comments JSF...
View ArticleJava servlet session - how to test for a valid session in a servlet
Java servlet session - how to test for a valid session in a servlet alvin November 3, 2009 - 7:35am Read more about Java servlet session - how to test for a valid session in a servlet3 commentsLog in...
View ArticleHow to forward from a Java servlet to a JSP
How to forward from a Java servlet to a JSP alvin November 11, 2009 - 9:05am Read more about How to forward from a Java servlet to a JSPLog in to post comments Here's a quick example that shows a...
View ArticleHow to replace XML servlet mappings with Scalatra mounts
How to replace XML servlet mappings with Scalatra mounts By Alvin Alexander. Last updated: October 8 2016 This is an excerpt from the Scala Cookbook (partially modified for the internet). This is a...
View Article
More Pages to Explore .....