Posts

Start & Stop Runnable Jar file without CMD

Hi! To start and stop the runnable jar file in CMD is little bit complex if you are not use UI. In this chapter i will show you how to start and stop runnable Jar file by using bat files. we need to create 3 bat files as follow start.bat --> which carrying command to start the jar file stop.bat --> which carrying command to stop the jar file run.bat  --> which can control the jar file start.bat please open the notepad, copy and paste the below commands and save as start.bat @ECHO OFF call run.bat start stop.bat please open the notepad, copy and paste the below commands and save as stop.bat @ECHO OFF call run.bat stop run.bat The run.bat file contains the information about your jar file. Please replace "nameofyourjar" into your jar file name wherever you find. @ECHO OFF IF "%1"=="start" (     ECHO start nameofyourjar     start "nameofyourjar" java -jar -Dspring.profiles.active=prod nameofyourjar.ja

Export HTML into .DOCX

Hi!                In most of web-appliccation we have a chance for develop the code to download the content into .docx. But there is no more existing client side ligic is found on google. just you can found lot of dependency like npm.        I found the way and share with you as maven project. here i am using expdocx.js java script and call the function inside the HTML page.     Please find the source code in my gitlab link .