Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to configure memory argument and server mode for Liferay in Tomacat server?

To increase memory and change server mode you just need to write below arguments in setenv.sh file. Example: path: /bundles/tomcat-7.0.42/bin/setenv.sh CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apach

How to put validation on a file at the the time of selection in Jquery?

Sometimes we need to apply validations on file-size and file-type of a file while uploading. We can check this by attaching a function to the "change" event. Examlpe: <input type="file" name="uploadFile" id="uploadFile" class="upload" title="Ch

How to find the extension of a file to be uploaded in JSP?

Sometimes we need to find the extension (file-type) of a file at the time of uploading to apply some validation on it. We can do this by handling "change" event of input-file. Example: In the below example I want to upload the file having extension

How to find the size of a file while uploading in JSP?

Sometimes we need to find the size of a file at the time of uploading to prevent the file that is greater than a particular size. We can achieve this by handling "change" event of a input-file. Examlpe: Suppose I want to upload a file less than 3 MB

Changing Placeholder Color

WebKit, Blink (Safari, Google Chrome, Opera 15+) and Microsoft Edge are using a pseudo-element: ex- ::-webkit-input-placeholder. Mozilla Firefox 4 to 18 is using a pseudo-class: :-moz-placeholder (one colon). ex- :-moz-placeholder Mozilla Firefox 1

How to change the enter key to search key in soft keyboard

If you want to change the enter key to search key, here is the code to get the same:- Step 1:- In your xml file add the following EditText <EditText android:id="@+id/ed_search_key" android:layout_width="wrap

How to show the cordinates on Google Map in OpenERP/Odoo ?

To Add two fields to product for storing a latitude and a longitude, then for this you have to create a new form widget to display the latitude and longitude of a product's origin on a map. Displaying the two position fields and a map widget using th

CakePHP built-in sessions

CakePHP have several In-built sessions configurations. We can use these sessions as the basis or can create a fully custom solution for that. To use defaults inbuilt sessions, we can simply set the ‘defaults’ key to the name and can override any sett

Agile development model

Agile development model is also a type of Incremental model. Software is developed in incremental, rapid cycles. This results in small incremental releases with each release building on previous functionality. Each release is thoroughly tested to ens

Change day in date through coding.

The following code changes the day from the given "date" for example: if you want to add or subtract 5 days from the date put a value 5 or -5 respectively for "timeSliceDay". -(NSString *)getTimeSliceDate:(NSString *)date format:(NSString *)format r

1 51 342
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: