Posts

Showing posts from February, 2014

Partitioning and Naming Drives (Windows 8)

Image
Understanding drives, partitions, and volumes A partition is an area of a hard disk that can be formatted and assigned a drive letter. On a hard disk, a volume is a formatted primary partition or logical drive. The terms partition and volume are often used interchangeably. HP and Compaq computers with Windows 8 have hard disk drives that contain at least two partitions: the main partition for Windows and your work, and a recovery partition to restore the computer back the way it came from the factory. Here is a list of some of the partitions you might find on your hard drive: The main partition, usually labeled with the letter C, contains the system files, program files, and usable file storage space. A recovery partition, usually drive letter D and labeled RECOVERY, contains system recovery information in case the files on the C partition are damaged or unusable. A hidden partition might exist called SYSTEM. A SYSTEM partition is used by Wind

“How To Do Partition In Pen drive”

Image
By doing partition in pen-drive we can separate data and we can also format separate drive by securing the data in other drive. follow this step for doing partition in pen drive step-1 : plug in pen drive in PC’s USB port and format it. step-2: download Lexar’s BooIt software . it is specially designed for partition in USB device.by this software we can do partition in any USB device and USB pen drive.install this software in computer and restart it. step-3: click on Boo it icon and run it.then select pen drive latter in device section and click on ‘Flip Removable Bit’ button. step-4: now unplug the pen drive and then plug in. step-5: click on start button in task bar and then click on search and select search file and type ‘Disk management’ and give the enter. step-6: now go in volume section and select pen drive .then do right click and select ‘Shrink Volume’ and write down figure of new partition and click on shrink. step-7: now right click on new ‘Una

How To Setup Your Own DNS (Domain Name Server)

Image
This is only a quick tutorial, there are literally hundreds of little tricks you can do with a DNS, but this will get your basics up and running. I’m assuming you want to setup a windows DNS server, but the principals will work for most servers.               You will need. A domain name over which you have full control DNS server software(Windows server always comes with one of these) At least one fixed IP address, allthough two is highly desirable  An idea of what services you want on your server The first thing you need to do is create your New Domain Entry . In windows this is called a “Zone” and you will have one for every domain name you have. Add your main domain in the forward lookup zone as a Primary zone, which will be in the format “DomainName.com”, or .co.uk, or whatever , you shouldn’t need any more details for this bit. Do *not* allow dynamic updates unless this is a local network DNS . Once it is created you will have 2 entry’s under y

Tutorial: Creating Struts application in NetBeans

Image
Things We Need Before we starts with our first Hello World Struts  Example, we will need following Software & Resource. Software or Resource Version Required NetBeans IDE 7.1, 7.2, 7.3, 7.4, Java EE Java Development Kit (JDK) 6 or 7 GlassFish server   or   Tomcat servlet container Open Source Edition 3.x or 4.0       version 6.x or 7.x Notes: The Java installation enables you to optionally install the GlassFish server and the Apache Tomcat servlet container. You must install one of these (or register a different server in the IDE) to work through this tutorial. If you need to compare your project with a working solution, you can   download the sample application . Getting Started Let us start with our first Struts based application. Open  NetBeans and goto File -> New  Project and select  JAVA Web --> Web Application in the New Project wizard screen. After selecting Web Application Project, press Next . Write the

Introduction to Struts 2 Framework

Image
Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time. Apache Struts2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts2. This new version of Struts is simpler to use and closer to how Struts was always meant to be. Struts 2 is a pull-MVC framework. i.e. the data that is to be displayed to user has to be pulled from the Action. Struts2 supports annotation based configurations which are easy to create and more intuitive. Action class in Struts 2 act as the model in the web application. Unlike Struts, Struts 2 Action class are plain POJO objects thus simplifying the testing of the code. Struts2 also comes with power APIs to configure Interceptors that reduce greatly the coupling in ap