Salesforce | Invoking a Visualforce page in a managed package

| By Webner

Remember one thing i.e to use __ (double underscore) after package name. Suppose you have a Visualforce page that uses custom controller. Visualforce page name is Upload_a_File. You have created a button on this page to choose a file and

Importance of Website for Business – Part 3

| By Webner

In previous 2 posts in this series we covered benefits of having a website for your business and difference between Responsive and Non-Responsive website. We also shared some stats on how small business presence on Internet is going up. In

Connection Pool with Tomcat6 and Mysql

| By Webner

Inside $tomcat_home/conf/context.xml add this inside <Context> <Resource name=”jdbc/datasourcename” auth=”Container” type=”javax.sql.DataSource” maxActive=”100″ maxIdle=”30″ maxWait=”1000″ username=”dbuser” password=”dbpwd” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/exodus”/> Now restart tomcat Inside you web.xml add this before </web-app>: <resource-ref> <description>My DB Connection</description> <res-ref-name>jdbc/datasourcename</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> Java code to connect: Context