Change Photo
Armand Metz

Answers by Armand Metz

Deploying .ear file to tomcat?

Tomcat doesn't support the full EE stack, it's a servlet container only. You'll have to deploy the WARs separately. ...

What does FETCH_HEAD in Git mean??

FETCH_HEAD is a short-lived ref, to keep track of what has just been fetched from the remote repository. git pull first invokes git fetch,...

SQL Server - Remove all non-printable ASCII characters?

Another Option. This function will replace control characters and correct any residual repeating spaces. For example Jane Smith{13}was h...

Angular2: Module and Component difference?

Module and Component have hardly anything in common, except that they are classes with decorators and providers can registered with them. ...

How do I copy a 2 Dimensional array in Java??

current=old or old=current makes the two array refer to the same thing, so if you subsequently modify current, old will be modified too. T...

Define a struct inside a class in C++?

Something like this: class Class { // visibility will default to private unless you specify it struct Struct { //specify ...

A keyboard shortcut to comment/uncomment the select text in Android Studio?

To comment/uncomment one line, use: Ctrl + /. To comment/uncomment a block, use: Ctrl + Shift + /. ...

How to convert datetime format to date format in crystal report using C#??

If the datetime is in field (not a formula) then you can format it: Right click on the field -> Format Editor Date and Time tab Selec...

JavaScript replace \n with <br /> [duplicate]?

You need the /g for global matching replace(/\n/g, "&lt;br /&gt;"); This works for me for \n - see this answer if you might have \r\n ...

MySQL transaction journaling?

You are definitely on the right track here. Whenever InnoDB does a transaction that has to be committed, it is done as a two-phase commit...