Automatic HTTP to HTTPS redirection in Tomcat

Automatic HTTP to HTTPS redirection in Tomcat
Automatically we can redirect non secure HTTP URL to secure HTTPS URL in tomcat. Any web application to secure the data transfer use to configure https access. Some times even after setting up the https access default http access also available along with https. This could a security thread for the application.

Assuming your already configured HTTPS access for the application , Now we need do the change web.xml in tomcat under apache-tomcat-8.0.36/conf/web.xml to redirect all non http access to https.

<!-- Added to redirect http to https -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Whole Application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>



Read More

Telnet test simulation in Unix and Solaris

Telnet test simulation in Unix and Solaris
Simulating telnet test in Linux ans Solaris is very easy. NC tool used to simulate the telnet test,We do telnet test to validate the connectivity between two machines.Telnet test gives us information mainly host and port are accessible from another machine. In order to validate this service should be running on specific port in other machine and in case this not running how can we simulate the port accessibility?

If the service is already running on specific port we can do the telnet test as like below.

telnet 128.25.65.12 8090

Now if the service is not running how to simulate telnet behavior?. This can be achieved by using 'NC' utility in linux/solaris. To simulate telnet first we need login destination machine and we need to start the system in listening mode as like below.

nc -l 8090

Once destination machine is started in listening mode, We can hit telnet test as mentioned abouve.
Read More

Easy FM radio any channels anywhere in the world

Easy FM radio any channels  anywhere in the world
Do you miss your favorite FM radio channels when you travel? or you want to hear your language FM when you outside your place?.Do you know we can play FM radio without head set in android mobile ?..All these are possible with one application.Now a days world is short and we are travelling across the world and we might feel missing our families some times. Hearing our local FM channels in outside our place making us to feel like staying in our place.Let's come to the point.

  There is an global radio connection provider which ties up with more than 4000 FM radio channels across the globe. When we access this site in our mobile/computer based on your location it automatically list the available channels to play.It also provides the flexibility to change the location to hear our favorite channels for your preferred location.
There is no special app is required to access this site in mobile. This can be accessed by using below URL.

Read More

Cashless mediclaim hospitals in pollachi

Cashless mediclaim hospitals in pollachi
Pollachi is one of the second tier city and this city serves as hub for many surrounding villages. There are many small and medium hospitals are available in this city but only few of the hospitals we can avail cashless facility in Pollachi. Remaining all the hospital's we need do a post claim which means first we need to pay in the hospital later we can submit the bills and get reimbursed from insurance company. Below is the few of the hospital we can get cashless insurance in pollachi.

S.NoHospital Name
1.Ram Ploy Clinic,146/2A,NEW SCHEME ROAD,POLLACHI
2.Arun Hospital,88,NEW SCHEME ROAD,POLLACHI
3.Alva Hospital,MEENKARI ROAD,AMBARAMPALAYAM

This list may change subject to new additions.
Read More

Top 100 Famous abbreviation's

Top 100 Famous abbreviation's
Every day's lift we use many words in which many of the words are short-form's. Some times we may not know what it stands for or how these words are derived.Below is important list of abbreviations of daily used words .
Shortform - Abbreviation
1. PAN - permanent account number.
2. PDF - portable document format.
3. SIM - Subscriber Identity Module.
4. ATM - Automated Teller machine.
5. IFSC - Indian Financial System Code.
6. FSSAI(Fssai) - Food Safety & Standards Authority of India.
7. Wi-Fi - Wireless fidelity.
8. GOOGLE - Global Organization Of Oriented Group Language Of Earth.
9. YAHOO - Yet Another Hierarchical Officious Oracle.
10. WINDOW - Wide Interactive Network Development for Office work Solution.
11. COMPUTER - Common Oriented Machine. Particularly United and used under Technical and Educational Research.
12. VIRUS - Vital Information Resources Under Siege.
13. UMTS - Universal Mobile Telecommunicati ons System.
14. AMOLED - Active-matrix organic light-emitting diode.
15. OLED - Organic light-emitting diode.
16. IMEI - International Mobile Equipment Identity.
17. ESN - Electronic Serial Number.
18. UPS - Uninterruptible power supply.
19. HDMI - High-Definition Multimedia Interface.
20. VPN - Virtual private network.
21. APN - Access Point Name.
22. LED - Light emitting diode.
23. DLNA - Digital Living Network Alliance.
24. RAM - Random access memory.
25. ROM - Read only memory.
26. VGA - Video Graphics Array.
27. QVGA - Quarter Video Graphics Array.
28. WVGA - Wide video graphics array.
29. WXGA - Widescreen Extended Graphics Array.
30. USB - Universal serial Bus.
31. WLAN - Wireless Local Area Network.
32. PPI - Pixels Per Inch.
33. LCD - Liquid Crystal Display.
34. HSDPA - High speed down-link packet access.
35. HSUPA - High-Speed Uplink Packet Access.
36. HSPA - High Speed Packet Access.
37. GPRS - General Packet Radio Service.
38. EDGE - Enhanced Data Rates for Globa Evolution.
39. NFC - Near field communication.
40. OTG - On-the-go.
41. S-LCD - Super Liquid Crystal Display.
42. O.S - Operating system.
43. SNS - Social network service.
44. H.S - HOTSPOT.
45. P.O.I - Point of interest.
46. GPS - Global Positioning System.
47. DVD - Digital Video Disk.
48. DTP - Desk top publishing.
49. DNSE - Digital natural sound engine.
50. OVI - Ohio Video Intranet.
51. CDMA - Code Division Multiple Access.
52. WCDMA - Wide-band Code Division Multiple Access
53. GSM - Global System for Mobile Communications.
54. DIVX - Digital internet video access.
55. APK - Authenticated public key.
56. J2ME - Java 2 micro edition.
57. SIS - Installation source.
58. DELL - Digital electronic link library.
59. ACER - Acquisition Collaboration Experimentation Reflection.
60. RSS - Really simple syndication.
61. TFT - Thin film transistor.
62. AMR- Adaptive Multi-Rate.
63. MPEG - moving pictures experts group.
64. IVRS - Interactive Voice Response System.
65. HP - Hewlett Packard.
66.Aim - Ambition in Mind
67. News paper - North East West South past and present events report.
67. Chess - Chariot, Horse, Elephant, Soldiers.
68. Cold -Chronic Obstructive Lung Disease.
69. Joke - Joy of Kids Entertainment.
70.Date - Day and Time Evolution.
72. Eat - Energy and Taste.
73. Tea - Taste and Energy Admitted.
74. Pen - Power Enriched in Nib.
75. Smile - Sweet Memories in Lips Expression.
76. etc. - End of Thinking Capacity
77. OK - Objection Killed
78. Or - Orl Korec (Greek Word)
79. Bye - Be with you Everytime.
80.TV- Television
81.CBI- Central Bureau of Investigation
82.SEBI-Securities and Exchange Board of India
83.RBI-Reserve Bank of India
Read More