how to read excel file from java.
i have created an excel file. that is somthing like follow
Sr No Command Options Description
1 en -- enable terminal
2 config terminal terminal configuration
network network configuration
host host configuration
and so on
now i wanna read this file from java and wanna take action according to the
command in excel file. i dont know how to do it.
so please give me the solution for the same.
I don't really understand what you mean by reading the commands in Excel.
Anyway, you can download the POI library from Apache http://jakarta.apache.org/poi/index.html. This is a set of Java API to access icrosoft Format Files.
A better option is to not use Excel for that sort of thing. An ordinary text file is just as easy to maintain and a lot easier to handle in Java.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL