Paul Richard has Published 74 Articles

Using SAP T-code SM37 to check background jobs in SAP system

Paul Richard

Paul Richard

Updated on 12-Jun-2020 12:45:29

493 Views

In SM37 you can only see the scheduled background jobs as it is not used for foreground jobs. Below shows an initial screen of SM37 Transaction code:

How to get the value of the type attribute of a link in JavaScript?

Paul Richard

Paul Richard

Updated on 20-May-2020 09:35:04

391 Views

To get the value of the type attribute of a link in JavaScript, use the type property. The type attribute is used to tell that the document is html (text/html) or css (text/css), etc.ExampleYou can try to run the following code to get the value of the type attribute of ... Read More

How to use SVG images in HTML5?

Paul Richard

Paul Richard

Updated on 18-May-2020 08:29:55

4K+ Views

To use SVG images in HTML5, use element or . To add SVG files, you can use , or element in HTML. Choose any one of them according to your requirement.Here’s how you can add SVG images. If the SVG is saved as a file, it can ... Read More

Comparing Strings and Portions of Strings in Java

Paul Richard

Paul Richard

Updated on 26-Feb-2020 07:17:17

160 Views

Following is an example which compares Strings and portion of strings in Java? Explain with an example.ExampleLive Demopublic class StringDemo {    public static void main(String[] args) {       String str1 = "tutorials point";       String str2 = str1.substring(10);       int result = str1.compareTo(str2); ... Read More

Append a single character to a string or char array in java?

Paul Richard

Paul Richard

Updated on 26-Feb-2020 06:04:55

1K+ Views

The append() method in the StringBuffer class adds the specified String to the contents of the current String buffer. Using this method you can append a single character to a string or char array in java.Examplepublic class Test {    public static void main(String args[]) {       StringBuffer ... Read More

What does the method firstElement() do in java?

Paul Richard

Paul Richard

Updated on 25-Feb-2020 10:09:47

93 Views

The firstElement() method is used to return the first component (the item at index 0) of this vector.Exampleimport java.util.Vector; public class VectorDemo {    public static void main(String[] args) {       Vector vec = new Vector(4);       vec.add(4);       vec.add(3);       vec.add(2); ... Read More

What does the method elements() do in java?

Paul Richard

Paul Richard

Updated on 25-Feb-2020 10:04:48

100 Views

The elements() method is used to return an enumeration of the components of this vector. The returned Enumeration object will generate all items in this vector at the similar index location.Exampleimport java.util.Vector; public class VectorDemo {    public static void main(String[] args) {             Vector ... Read More

What does the method search(Object o) do in java?

Paul Richard

Paul Richard

Updated on 25-Feb-2020 09:59:50

288 Views

The search(Object o) method is used to return the 1-based position where an object is on this stack.Exampleimport java.util.*; public class StackDemo {    public static void main(String args[])  {             Stack st = new Stack();       st.push("Java");       st.push("Source");   ... Read More

What are favicon best practices regarding size and format?

Paul Richard

Paul Richard

Updated on 25-Feb-2020 06:36:21

3K+ Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size.The size of a favicon is 16x16 since it also gets displayed next to the URL of your site in a browser's address bar. It is visible ... Read More

How to count the number of words in a text file using Java?

Paul Richard

Paul Richard

Updated on 20-Feb-2020 05:11:12

5K+ Views

Read the number of words in text fileCreate a FileInputStream object by passing the required file (object) as a parameter to its constructor.Read the contents of the file using the read() method into a byte array. Insatiate a String class by passing the byte array to its constructor.Using split() method read the words of the String ... Read More

Advertisements