How to install / Configure Mantis For Apache-PHP-PostgreSQL combination → I wanted to write this blog a long back, but better late than never. Three years back I was working on a project where we had used Mantis Bug Tracker for managing our bugs list, for that, I had to install it on a server from where our teams could access it to log the software bugs and update the fixes. Important learnings - with new php versions, I faced few issues with postgresql configs, then while setting up database instance for mantis I faced few issues with postgres port configs and how to give it on mantis config files, database user grant problem. I had to set up everything from scratch so learned a lot. (Note - mantisbt → mantis bug tracker) Why I have written this post → at that time I could not find any resource on web which would give me good tutorial on how to install mantisbt on Apache and PostgreSQL. So I wanted to put it on web so others could some of thei...
This isn't really a post, I am just writing a code to get all request parameters/attributes of a (HttpServletRequest) request object (almost every web developer must have tried this when in need). Sometimes while coding for form-submit-handling, or ajax request i.e. any request made to server, at server end, we need to know what all different parameters we receive from request. If this request was redirected/directed from some other jsp/servlet then we also would like to know if there is any request attribute present and if yes what all are those. So, to get all the request (i.e. javax.servlet.http.HttpServletRequest) object's parameters and attributes - Use this - System.out.println("To out-put All the request-attributes received from request - "); Enumeration enAttr = request.getAttributeNames(); while(enAttr.hasMoreElements()){ String attributeName = (String)enAttr.nextElement(); System.out.println("Attribute Name - "+attributeName+", V...
I think Fibonacci is one of the most studied sequences in mathematics and which is named after Leonardo Fibonacci . The Fibonacci numbers , and in conjunction the golden ratio , are a popular theme in culture (from Wikipedia ). It is used in many real-world applications like stock markets predictions (e.g. retracement, etc). I was also fascinated so I started looking at pattern formed by Fibonacci numbers and I found out few amazing things about it:- Java code for printing → Fibonacci Series (left/right/normal aligned) → FiboSeries.java Important → Why am I doing it? 1. for the love of numbers and maths, and 2. I wanted to find (which I haven't found yet) n-th Fibonacci number without going through all previous Fibonacci numbers, or at least find out how many digits are there in any n-th Fibonacci number or what is the sum of all digits of such n-th Fibonacci number. 1. Fibonacc...
Comments
Post a Comment