Posts

Showing posts from December, 2016

An internal error occurred during: "Building workspace". Java heap space

Image
An internal error occurred during: "Building workspace". Java heap space  If you are facing this error while building workspace. The Eclipse told you to close the eclipse.     For that you want to change the Eclipse.ini file. Increase the value of Xmx and Xms value. Open the Eclipse Home directory and search for eclipse.ini file.  Right click that file and give edit    Edit the file and Save the file. Then open the Eclipse and start work on it. Here  i coded the Xms and Xmx value is for my system. Based upon your system RAM. you want to give the values  

Could not publish server configuration for tomcat v8.0 server at localhost. multiple contexts

Image
Could not publish server configuration for tomcat v8.0 server at localhost.           multiple contexts containing same name /projectname The server.xml file is corrupted by Eclipse!!! I found out many times with Eclipse, don't be afraid to do some  changes in XML file. Inside the Eclipse we have Server folder. In that open the server.xml file. Just search your project name in the form of ['/Project Name']. Notice How many context tags are there in the same path? Remove the unwanted context tags.  Note:  [If there is three context tags with your project name then delete the two context tags and remaining one will remain there. ]

How to check a checkbox is checked or not using jQuery

How to check a checkbox is checked or not using jQuery <html> <head> <script type="text/javascript">  $(document).ready(function(){$('#checkdelivery').click(function(){ if($(this).prop("checked") == true) { alert("The checkbox is checked"); $('#addressbtn').show(); } else if($(this).prop("checked") == false) { alert("The checkbox is Unchecked"); $('#addressbtn').hide(); } });  </script> </head> <body> <input type="checkbox" id="checkdelivery" name = "checkdelivery"  value = "1"> Delivery address</input>  <input type="submit" id="addressbtn" name="addressbtn" value="Continue"  class="button"style="margin-left: 30px; width: 51% !important;display:none;"/> <...