Browsed by
Month: May 2014

How to increase the JVM heap size in web sphere?

How to increase the JVM heap size in web sphere?

How to increase the JVM heap size in web sphere? 1. By Server Console Servers -> Server Types -> WebSphere application servers -> Java and Process Management -> Process definition -> Java Virtual Machine -> Configuration Enter the values in, Initial heap size and Maximum heap size text boxes. (256m and 1024m) are recommended. 2. By Server.xml file: C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\config\cells\Node03Cell\nodes\Node03\servers\server1 Open the server.xml file and search with heap, <jvmEntries initialHeapSize="256m" maximumHeapSize="1024m"> Change the above values accordingly. 495 total views, no views…

Read More Read More

495 total views, no views today

[Solved] Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at

[Solved] Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at session_start() should be used first line in the php code and php code should exist even above the html tag. session1.php: <html> <?php session_start(); $check = 0; if(isset($_SESSION[‘var1’])){ $check =1; } ?> <head> </head> <body> <?php if($check==1){ ?> With Session <?php }else{ ?> Without Session. <a href="session2.php">Click here to initate the session</a> <?php } ?> </body> </html> session2.php: <?php session_start(); $_SESSION[‘var1′]=’Javadomain.in’; header ("Location: session1.php"); ?>…

Read More Read More

639 total views, no views today

Header, Body and Footer Html CSS Example

Header, Body and Footer Html CSS Example

Header, Body and Footer Html CSS Example: Html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Learn</title> </head> <body> <div id="container"> <div class="header">Header</div> <div class="mainbody"> Body </div> <div class="footer">Footer</div> </div> </body> </html> CSS Code: <style type="text/css"> .container { width: 500px; max-height: 500px; margin: 10px; border: 1px solid #fff; background-color: #ffffff; box-shadow: 0px 2px 7px #292929; -moz-box-shadow: 0px 2px 7px #292929; -webkit-box-shadow: 0px 2px 7px #292929; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;…

Read More Read More

678 total views, no views today

Header, Body Left, Body Right and Footer Html CSS Example

Header, Body Left, Body Right and Footer Html CSS Example

Header, Body Left, Body Right and Footer Html CSS Example: Html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Learn</title> </head> <body> <div id="container"> <div class="header">Header</div> <div class="mainbody"> <div class="left_div"> Body Left</div> <div class="right_div"> Body Right</div> </div> <div class="footer">Footer</div> </div> </body> </html> CSS Code: <style type="text/css"> .container { width: 500px; max-height: 500px; margin: 10px; border: 1px solid #fff; background-color: #ffffff; box-shadow: 0px 2px 7px #292929; -moz-box-shadow: 0px 2px 7px #292929; -webkit-box-shadow:…

Read More Read More

564 total views, no views today

jQuery select onchange Example

jQuery select onchange Example

jQuery select onchange Example: Select dropdown onchange can be done using both javascript and jQuery. We have done here using jQuery. Please find the program below, Select Onchange jQuery Sample: <html> <head> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(document).ready(function(){ $( ‘.left_select’).change(function() { alert($(‘.left_select’).val()); }); }); </script> </head> <body> <div class="dropdown"> <select class="left_select"> <option value="java" selected>Java</option> <option value="php">PHP</option> <option value="javascript">JavaScript</option> </select> </div> </body> </html> Output: Recommended jQuery Books: 911 total views, no views today

911 total views, no views today

Javascript Alert Message Color Example

Javascript Alert Message Color Example

Javascript Alert Message Color Example: In Javascript we can not customize the alert contents/messages like font color, font type, bold, italic etc… If you want to achieve the same, you can go for jquery scripts. We have tried the alert message with color using the jQuery. You can find the jsfiddle below, jsFiddle Sample: Thanks for reading this post..!! 1,307 total views, no views today

1,307 total views, no views today