Passing Checkbox values from one jsp to another

1.jsp:   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <form method="post" action="2.jsp"> My Favourite Colors are <input type="checkbox" name="cb1" value="blue">Blue <input type="checkbox" name="cb1" value="green">Green <input type="checkbox" name="cb1" value="Yellow">Yellow <input type="checkbox" name="cb1" value="Red">Red <input type="checkbox" name="cb1" value="white">White <input type="submit"> </form> </body> </html>  

206 total views, 2 views today

» Read more

Installing Ubuntu in windows 7 using vmware player

  Step 1: Download the vmware player from the below link, or|PLAYER-501|product_downloads Step 2: Download the linux (Ubuntu ) from the below link, Note: Download the iso file inorder to open via vmware player in windows 7. Step 3: Open the vmware player Create a new virtual machine ->  Installer disc image file (iso) and browse the

184 total views, 9 views today

» Read more

project facet java version is not supported tomcat

Root Cause: The version of jre mentioned in the eclipse java compiler and project facet is different. Solution: Right click the project -> properties -> project facet and change it into jre version based on your requirement.   Note: Please check the java compiler version also. Right click on the project -> properties -> java compiler. Java compiler version and

143 total views, no views today

» Read more

Ant Hello world

Step 1: Create a folder named “ant build”  and get into that. Step 2: Create a “build.xml” file inside “ant build” folder and copy the below code,  Build.xml: <project> <target name=”clean”> <delete dir=”build”/> </target> <target name=”compile”> <mkdir dir=”build/classes”/> <javac srcdir=”src” destdir=”build/classes”/> </target> <target name=”jar”> <mkdir dir=”build/jar”/> <jar destfile=”build/jar/HelloWorld.jar” basedir=”build/classes”> <manifest> <attribute name=”Main-Class” value=”agn.Hello”/> </manifest> </jar> </target> <target name=”run”> <java jar=”build/jar/HelloWorld.jar”

146 total views, no views today

» Read more

‘artifactId’ with value ‘hello world’ does not match a valid

[INFO] Scanning for projects… [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project world:1.1 (D:\My hello world maven \hello world\pom.xml) has 1 error [ERROR] ‘artifactId’ with value ‘hello world’ does not match a valid id patt ern. @ line 5, column 15 [ERROR] [ERROR] To see the full stack trace of the errors,

767 total views, 2 views today

» Read more

Hello world Maven

Step 1: Download the maven from Step 2: Set the path like below, Variable Name: M2_Home Value: Path of the maven (c:\apache-maven-3.0.4) Variable Name: java_home Value: path of the jdk (c:\program files\java\jdk1,6) Variable Name: path Value: %path%;%m2_home%\bin After setting the path go and check in the command prompt by typing mvn –version or mvn. Step 3: Once the maven

252 total views, no views today

» Read more
1 51 52 53 54 55 60