Category Covered

How to start stop apache tomcat  

if you are using extracted tomcat then go to your bin directory inside Tomcat directory  /Tomcat_Dir/bin

and once you are in the folder I enter: ./
And to stop the server, I navigate to the same directory and enter: ./   Thats it. if tomcat is installed then /etc/init.d/tomcat5.5 start
/etc/init.d/tomcat5.5 stop
/etc/init.d/tomcat5.5 restart  
By: Tech writer  |   Total Read: 1142  |   Read more..

How to check tomcat versions  

The following command will help you to find the current apache tomcat versions   sh mkyong@mkyong-desktop:/usr/share/tomcat5.5/bin$ sh This will return the current apache tomcat version Server version: Apache Tomcat/5.5  
By: Tech writer  |   Total Read: 1127  |   Read more..

grails manual insert sql query  

Any one can let me know how to write sql insert query manually? I have tried the following ways for manual insert query on grails but failed  def dataSource Sql sql = new Sql(dataSource) sql.executeInsert("insert into ...")  And  import groovy.sql.Sql sql.execute("insert into people (firstName, lastName) values ${firstName}, ${lastName})")   Finally I got the solutions and it works fine here, You  
By: Tech writer  |   Total Read: 5190  |   Read more..

Grails item selected on select option  

Grails item selected on select option   You can select item on option by using value on select option   Here if load a form on first time then "My Item" will be selected else the passing value will be selected   <g:select id="payment_term" name="" from="${bv.PaymentTerms.list()}" optionKey="id" required="" value="${(vendorMasterInstance?.paymen  
By: Tech writer  |   Total Read: 1754  |   Read more..

Best groovy and grails hosting provider  

I search a lot on google and ask a lot of developer for buying a best grails hosting. After a lot of study i used two grails hosting provider who are very good and cost effective. They are: Here you will get the list of grails hosting provider which you may try  
By: Tech writer  |   Total Read: 2983  |   Read more..

Install groovy and grails on windows  

At first install Java JDK on your pc

Download Java JDK and install on your computer.

Here is an example c drive is my installation directory

Download grails and extract it Now you need to setup the environment Variable

My Java bin location path “C:\Program Files\Java\jdk1.6.0_33\bin” which i copy and.
  Open the e  
By: Tech writer  |   Total Read: 1151  |   Read more..

Font Arial is not available to the JVM  

I am working on jasper report. but getting the error. On local windows server its working fine for me but when i upload the WAR file on the server its give me an error Font 'Arial' is not available to the JVM My simple solutions just replace Arial front to "SanSerif" form your xml files
And remove all jrxml which generates automatically.  
By: Tech writer  |   Total Read: 4828  |   Read more..

Groovy and grails file upload  

In your view file use the following form to upload files on grails

<g:uploadForm action="saveFile" method="post" >
    <table style="margin: auto; border-top: none!important; margin-bottom: 20px;">
By: Tech writer  |   Total Read: 6493  |   Read more..
Top 15 Posts