Posts

Showing posts from 2009

Read an Excel file and return a string-Java

package beans;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

/**
*
* @author anjana
*/
import java.io.*;
import jxl.*;
import java.util.*;

import java.sql.*;

public class ConvertCSV {

public String str = "";
String shippingcompanyID = "1";
String Excelfilnename = "";

public String getExcelfilnename() {
return Excelfilnename;
}

public void setExcelfilnename(String Excelfilnename) {
this.Excelfilnename = Excelfilnename;
}

public String getShippingcompanyID() {
return shippingcompanyID;
}

public void setShippingcompanyID(String shippingcompanyID) {
this.shippingcompanyID = shippingcompanyID;
}

// public void readExcelFile() {
public static void main(String args[]){
try {
String str = "";
String shippingcompanyID = "1";
//File to store data in form of CSV
File f = new File("D://T…

Installing joomla and wamp server

Step-1:download wamp server
Step-2: click on wamp sever icon
step-3:click on restart all service
step-4: type:http://localhost/
if you are prompted from password,then your port 80 has been occupied by IIS Server
go to control panle-add and remove-windows components- Uncheck- information internet services.
step-5:restart all services in wamp server
step-6:http://localhost/
step-7:put the joomla directory in the wamp directory c:/wamp/joomla
step-8:rename joomla to www
step:9-follow the instuctions in the browser installation and install.