About This Blog

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





Pages

Thursday, January 27, 2011

ColdFusion


In computing, ColdFusion is a commercial rapid application development platform invented by Jeremy and JJ Allaire in 1995. 

Originally designed to make it easier to connect simple HTML pages to a database, by version 2 (1996) 

It had become a full platform that included an IDE in addition to a "full" scripting language. As of 2010, versions of ColdFusion (sold by Adobe Systems from 2005) include advanced features for enterprise integration and development of rich Internet applications (RIA).


Main features

ColdFusion provides a number of additional features out of the box. Among them:
  • Simplified database access
  • Client and server cache management
  • Client-side code generation, especially for form widgets and validation
  • Conversion from HTML to PDF and FlashPaper
  • Data retrieval from common enterprise systems such as Active Directory, LDAP, SMTP, POP, HTTP, FTP, Microsoft Exchange Server and common data formats such as RSS and Atom
  • File indexing and searching service based on Verity K2
  • GUI administration
  • Server, application, client, session, and request scopes
  • XML parsing, querying (XPath), validation and transformation (XSLT)
  • Server clustering
  • Task scheduling
  • Graphing and reporting
  • Simplified file manipulation including raster graphics (and CAPTCHA) and zip archives (introduction of video manipulation is planned in a future release)
  • Simplified web service implementation (with automated WSDL generation / transparent SOAPASP.NET  has no native equivalent for <CFINVOKE WEBSERVICE="http://host/tempconf.cfc?wsdl" METHOD="Celsius2Fahrenheit" TEMP="#tempc#" RETURNVARIABLE="tempf"> handling for both creating and consuming services - as an example

For Technical details and download click the below link



For the technical assistance watch the below video

Sunday, January 23, 2011

Reading Marks Data From JNTUK site and save it in the local DB

Hi, Friends to day i am posting my project module in the blog

This is about reading  marks information directly from the jntuk results website

This needs the url of the first student result

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

I am using the mysql database and apache tomcat 6.0 webserver 
and i did this in jsp

First you have to create the  student rollnumbers data and marks data tables

--->create table studentrollnumber(branch varchar(6),batch int(4),rollnumber varchar(11),primary key(rollnumber));

and enter the required data here

--->create table nettable(snumber int(4),rollnumber varchar(11),mc921int int(3),mc921ext int(3),mc922int int(3),mc922ext int(3),mc923int int(3),mc923ext int(3),mc924int int(3),mc924ext int(3),mc925int int(3),mc925ext int(3),mc926int int(3),mc926ext int(3),mc927int int(3),mc927ext int(3),primary key(rollnumber));

and this table is static . This is the sub module the table will be created automatically by the program in the previous pages

The first page  contains the information about branch and batch and url details
and the program of this file is

-->netsave.jsp
--------------------------------------------------------------------------------------------------------------
<html>
<body >
<form name="frm1" action="url8.jsp">
<font style="timesnewroman" size="5">
<center>
<b>
</br></br></br></br></br></br>
Select Branch :&nbsp;
<select name="branch">
<option value="mca">MCA
<option value="mba">MBA
<option value="ece">ECE
<option value="eee">EEE
</select>&nbsp;
Select Batch :&nbsp;
<select name="batch">
<option value="2007">2007
<option value="2008">2008
<option value="2009">2009
<option value="2010">2010
</select>
Past the URL:
<input type="text" value="enter the url of the first student result" size="60" name="url">
</br></br></br></br>
<input type="submit" name="submit" value="submit">&nbsp;&nbsp;
<input type="reset" name="reset" value="cancel">
</b>
</center>
</font>
</form>
</body>
</html>
---------------------------------------------------------------------------------
when you enter the data it will be submited to url8.jsp page
the data will be get from the page as html format
html string is parsed and retrieve  the subject code and internal & external marks 
the data is saved in the nettable table


the program for getting ,parsing,saving is


url8.jsp
--------------------------------------------------------------------------------
<%@ page language="java" import="java.io.*,java.net.*,java.util.*,java.sql.*;" session="true"
buffer="100kb" %>
<%   
try
{
    int sno=0;   
    Connection con= null;
     Statement stmt;
             String connectionURL = "jdbc:mysql://localhost:3306/nettable";
          Class.forName("com.mysql.jdbc.Driver").newInstance();
        con= DriverManager.getConnection(connectionURL, "root", "pavan");
       stmt=con.createStatement();
      String url=request.getParameter("url");
      String branch=request.getParameter("branch");
      String batch=request.getParameter("batch");
    String rollnumber2="08481f0001";
     stmt=con.createStatement();
     ResultSet result = stmt.executeQuery("select rollnumber from studentrollnumber where branch='"+branch+"' and batch='"+batch+"'");
         while(result.next())
     {
       String rollnumber = result.getString(1);
       url=url.replace(rollnumber2,rollnumber);
       out.println("RollNumber:  "+rollnumber);
       out.println("</br>");
       out.println("</br>");
        URL jntuk = new URL(url);
            URLConnection jntukConnection = jntuk.openConnection();
            DataInputStream dis = new DataInputStream(jntukConnection.getInputStream());
            String inputLine;
            String outputLine="";
                
           while ((inputLine = dis.readLine()) != null) {
              outputLine=outputLine+inputLine;
          }
        String nohtml = outputLine.toString().replaceAll("\\<.*?>","");
        nohtml=nohtml.toString().replaceAll("&nbsp;","");
          String delims = "[ ]+";
          String[] tokens =nohtml.split(delims);
         String[] needed=new String[tokens.length];
          int ix=0,iy=0;
            for(int i=0;i<tokens.length;i++)
            {
                tokens[i]=tokens[i].trim();
                if(tokens[i].equals("Pass/Fail"))
                   ix=1;
                if(tokens[i].equals("HOME"))
                    ix=0;
                if(ix==1)
                {iy++;needed[iy]=tokens[i];}
            }           
            int[] internals=new int[iy];
            int[] externals=new int[iy];
            String[] subjectcode=new String[iy];
            int in=0,ex=0,sc=0;
            subjectcode[sc]=needed[3];
            for(int iz=1;iz<iy;iz++)
            {
                if(needed[iz].equals("Pass")  || needed[iz].equals("Fail"))
                {
                    internals[in++]=Integer.parseInt(needed[iz-4]);                   
                    externals[ex++]=Integer.parseInt(needed[iz-3]);                   
                    subjectcode[++sc]=needed[iz+3];                   
                }
            }
            for (int el=0;el<in;el++)
           {
                out.println("subject code  :  "+subjectcode[el]);
                out.println("&nbsp;&nbsp;");
                out.println("internals  :  "+internals[el]);
                out.println("&nbsp;&nbsp;");
                out.println("externals :  "+externals[el]);
                out.println("</br>");
            } 
            sno++;
     PreparedStatement pst=
    con.prepareStatement("insert into nettable values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
       pst.setInt(1,sno);
       pst.setString(2,rollnumber);
           pst.setInt(3,internals[0]);
           pst.setInt(4,externals[0]);
           pst.setInt(5,internals[1]);
           pst.setInt(6,externals[1]);
           pst.setInt(7,internals[2]);
           pst.setInt(8,externals[2]);
           pst.setInt(9,internals[3]);
           pst.setInt(10,externals[3]);
           pst.setInt(11,internals[4]);
           pst.setInt(12,externals[4]);
           pst.setInt(13,internals[5]);
           pst.setInt(14,externals[5]);
           pst.setInt(15,internals[6]);
           pst.setInt(16,externals[6]);
            pst.addBatch();         
          int count[]=pst.executeBatch();
          if(count.length>0)
              out.println("database saved successfully");
          else
              out.println("error occured");    
       rollnumber2=rollnumber;  
       out.println("</br>");
      }
     
    }catch (Exception ioe) {
   out.println(ioe);
     }

%>
--------------------------------------------------------------------------------
so the data will be automatically saved in the data base






 

Thursday, January 20, 2011

Web Grabber


Hi, Friends to day i am going  to tell you about web grabber

Web Grabber is an application for EPOC32 machines (e.g., Psion Series 5mx or 7) that download Web pages for offline viewing. 

It can download a page or an entire site easily.

It downloads images and other files as well as pages, and adjusts the URLs referenced inside each page that contains HTML to refer to the locally kept pages. 


Web Grabber's Features 

Web Grabber has the following features: 
  • pages are downloaded easily, from a single page to an entire site 
  • URLs that refer to downloaded pages are translated automatically
  • images can be downloaded with pages (this is a settable feature)
  • other file types (like ".zip" or ".sis" files) can be automatically downloaded (the types of files to accept is programmable)
  • directory tree on the local machine is created automatically to match the downloaded site 
  • individual downloads can be stopped without cancelling the entire download sequence 
  • site configuration can be programmed and stored, accessible later from a menu
  • the Web browser can be accessed from the Web Grabber application 
Web Grabber can be used on all EPOC platforms.






Some of the web grabber software s are 

0.HTML Web content grabber
1.Inter net download manager
2.Web Grabber version 1.0
3.Wgrab11
and otehers
you can download some of them from below links

http://www.download3000.com/download-web-content-grabber-count-reg-18216.html

http://www.freewr.com/freeware.php?download=webgrabber&lid=1194 

http://www.kabestin.com/webgrabber.html 

http://www.knowlesys.com/web-grabber.htm 

http://www.internetdownloadmanager.com/ 

and install it in your system and the data from the web site very easily

for visual assistance see this video

 
 

Sunday, January 16, 2011

How to create an adminstrator account and change password

Hi, Friends
today i am going to tell you how to  get administrative powers from an limited account and change its password the command is 
>net localgroup Administrators  A  /ADD
A - will be the account name that you want to create


and you can get the administrative powers and login as administrator 


And for visual assistance watch the video below 


 

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