There are 9 coins. Out of which one is odd one i.e weight is less or more. How many iterations of weighing are required to find odd coin? Try yourself first and finally, Select all to know the answer. ItContinue reading… Coin weighing and finding defective
Common BPEL Errors
Few common errors in BPEL of Oracle SOA suite are: 1. No domain available for the current user This occurs due to failure to contact Olite database instance while loading SOA suite in the system. As this db has theContinue reading… Common BPEL Errors
Adding new responsibility to an user
Choose the responsibility as System Administrator, 1. Navigate to Security -> User -> Define. 2. Search for the user for which you want to add new responsibility. 3. Bottom page shows the current responsibilities attached to current user. There youContinue reading… Adding new responsibility to an user
Typical Unix/Linux recursive search commands
The Typical one is – to find the files with some pattern recursively in a given directory. $ find path/to/dir -name “*.html” You can replace the “*.html” to your own filename pattern. Another one is, in addition to above IContinue reading… Typical Unix/Linux recursive search commands
Empty links in javascript
Best of way of writing empty links in javascript is <a href=”javascript:void(0);” onMouseOver=”status=”;return true” onClick=”myPopup();” > here, due to onMouseOver attribute, it won’t display the link location in the browser status bar. Otherwise, you see the ugly location to “javascript:void(0)”Continue reading… Empty links in javascript
Setup TortoiseSVN & Subversion on local windows
http://justaddwater.dk/2007/04/26/howto-create-a-temporary-local-subversion-repository/
Core Java: StringBuffer and StringBuilder
StringBuffer is used to store character strings that will be changed (String objects cannot be changed). It automatically expands as needed. Related classes: String, CharSequence. StringBuilder was added in Java 5. It is identical in all respects to StringBuffer exceptContinue reading… Core Java: StringBuffer and StringBuilder
Core Java: marker interface
A marker or tagging interface is an interphase with no methods. It can be created by ANYBODY. the purpose of these interfaces is to create a special type of Object, in such a way that you are restricting the classesContinue reading… Core Java: marker interface
Building DOM tree by reading an xml file in Java
import java.io.*; import javax.xml.parsers.*; import org.w3c.dom.*; import org.xml.sax.*; public class BasicDom { public static void main(String[] args) { Document doc = parseXmlFile(“infilename.xml”, false); } // Parses an XML file and returns a DOM document. // If validating is true, theContinue reading… Building DOM tree by reading an xml file in Java
MySQL error 1067 (42000): Invalid default value for ‘ban_id’
# # Table structure for table ‘phpbb_banlist’ # CREATE TABLE phpbb_banlist ( ban_id mediumint(8) unsigned DEFAULT ‘0’ NOT NULL auto_increment, ban_userid mediumint(8) DEFAULT ‘0’ NOT NULL, ban_ip varchar(8) DEFAULT ” NOT NULL, ban_email varchar(255), PRIMARY KEY (ban_id), KEY ban_ip_user_id (ban_ip,ban_userid)Continue reading… MySQL error 1067 (42000): Invalid default value for ‘ban_id’