About This Blog

This blog contains the information about
Programing skills
New Technologies
New Software
Information about Computers
Hardware help





Pages

Tuesday, January 11, 2011

How to read the content from a webpage with java program

Hi Friends , to day i am going to tell you about 
how to  read web page  problematically 

For example if you want to read the data from a web page that   contains important data
like exam results on the prices of the products


It will be very difficult to get the look the web page and  manually save the data


so i created a program that read the data from the web page and  save the data in the text file


---------------------------------------------------------------------------------
Go to example i am getting the data from JNTUK university results site of MCA results


you need to copy the url that shows the marks in the web page and  insert in the url instance


Actually  the program is taken from oracle.com and i modified to my requirement




i done it in jsp using tomcat server and here is the code


------------------------------------------------------------------------------------------
<%@ page language="java" import="java.io.*,java.net.*" session="true"
buffer="100kb" %>
<%   
try
{
      URL yahoo = new URL("http://results.jntuk.edu.in/result/testhallticket.php?hal=08481f0033&ec=2100814&coderep=0");
            URLConnection yahooConnection = yahoo.openConnection();
            DataInputStream dis = new DataInputStream(yahooConnection.getInputStream());
            String inputLine;
            String outputLine=null;
                
           while ((inputLine = dis.readLine()) != null) {
              //out.println(inputLine);
              outputLine=outputLine+inputLine+"\n";
          }
          out.println(outputLine);
            //dis.close();
             FileWriter fstream = new FileWriter("c:\\out.txt");
             BufferedWriter outx = new BufferedWriter(fstream);
             outx.write(outputLine);
            outx.close();
            dis.close();
}catch (Exception ioe) {
   out.println(ioe);
     }
%>

--------------------------------------------------------------------------------


so the data is save in the out.txt file as html code 
and you have to parse it using txt parser program


For Further reference visit this link below


http://download.oracle.com/javase/tutorial/networking/urls/definition.html


 

Monday, January 10, 2011

How to install windows 7

Hi Friends   , Today i am going to tell you how to install windows 7 in your new system






For the instructions  of installation visit the below link


http://www.techtalkz.com/windows-7/514412-windows-7-installation-guide-tutorial.html

Or visit this link below

http://www.computerworld.com/s/article/9139824/Windows_7_installation_how_to_step_by_step 


For visual  tutorial see this video below

  

Sunday, January 9, 2011

How to Format and Reinstall windows


Hi,Friends to day i am going to tell you how to format and then install windows xp

First you need winxp bootable disc and proceed for the next process

for step by step process visit this link given below


or


Wednesday, January 5, 2011

JBoss Application Server

Hi, Friends today i am going to tell you about another "IDE"  for java development  "JBoss"


JBoss Application Server (or JBoss AS) is a free software/open-source Java EE-based application server. 

An important distinction for this class of software is that it not only implements a server that runs on Java, but it actually implements the Java EE part of Java. 

Because it is Java-based, the JBoss application server operates cross-platform: usable on any operating system that supports Java. 

JBoss AS was developed by JBoss, now a division of Red Hat.


For downloading   JBoss Application Server visit the below link


and for the technical details visit this link given below

For visual assistance see below video




About Eclipse





Hi, Friends to day i am going to tell you about another    "IDE" develop environment  "Eclipse"


Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system.

It is written mostly in Java and can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Perl, PHP, Python, Ruby (including Ruby on Rails framework), Scala, and Scheme. 

The IDE is often called Eclipse ADT for Ada, Eclipse CDT for C/C++, Eclipse JDT for Java, and Eclipse PDT for PHP.


To download  Eclipse software please visit the below site


and for technical information please visit the below site





ur's.......pavan

For the visual aspect see the below video






Saturday, January 1, 2011

100 Greatest Discoveries Of Physics

Hi, Friends today i am not telling you any thing this videos will gives the information about

100 greatest discoveries of physics

It is the Documentary of the Discovery channel

The 100 discoveries that made the human kind living happly

watch and enjoy............

ur's .................pavan

 











About VncViewer


Hi,Friends today i am going to tell you about VNC Viewer

VNC Viewer is a desktop sharing System.

Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer.
                                                      It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.


VNC is platform-independent – a VNC viewer on one operating system may connect to a VNC server on the same or any other operating system. 
                                       There are clients and servers for many GUI-based operating systems and for Java. Multiple clients may connect to a VNC server at the same time.


To Download this  Freeware Software for windows go to this link


For the technical information  go to this link



----------------------------------------------------------------------------------
To connect the remote computer in the network follow the instructions given below in this video