i want to retriev and update in same form but its not working pls help....

i want to retriev and update in same form but its not working pls help....

<p><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html></p>

<p><head>
&lt;TITLE>view particular applicants application details</TITLE>
<link rel="stylesheet" type="text/css" href="style.css" /></p>

<script type="text/javascript" src="valid.js">
</script>

<p></head></p>

<p><body></p>

<div id="page">
    <div id="header">
        <a href="#"><h1>PASSPORT SERVICE</h1></a>
        <div class="description">REPUBLIC OF INDIA</div>
    </div>

    <div id="menulinks">
        <a href="useracc.html">HOME</a>
        <div class="menulines"></div>
        <a href="modifypro.html">MODIFY PROFILE</a>
        <div class="menulines"></div>
        <a href="feedback.jsp">FEEDBACK</a>
        <div class="menulines"></div>
        <a href="cont.html">CONTACT</a>
        <div class="menulines"></div>
        <a href="help.html">HELP</a>
        <div class="menulines"></div>
        <a href="index.html">LOGOUT</a>
        <div class="menulines"></div>

    </div>

    <div id="mainarea">
    <div id="sidebar">
        <div class="sidebarheader1">SERVICES</div><br>
        <a href="fpptstep1.jsp">APPLY FOR FRESH/REISSUE OF PASSPORT</a><br><br> 
        <a href="">TAKE APPOINTMENT</a><br><br>
        <a href="">VIEW PASSPORT STATUS</a><br><br><br>
        <a href="locatepsk.html">LOCATE PASSPORT OFFICE</a><br><br> 
        <a href="">DOCUMENTS REQUIRED</a><br><br>
        <a href="feecalcu.html">FEE CALCULATOR</a><br><br>
        <a href="process.html">PASSPORT PROCESS</a><br><br>
        </div>

    <div id="contentarea">
<form name="viewpart" action="viewparticularappli.jsp">
<pre><font face="Georgia, Times New Roman, Times, serif">
<h2><b><u>VIEW PARTICULAR APPLICANTS APPLICATION DETAILS</u></b></h2>

<table cellspacing="15">
<tr><td><b>ENTER REFERENCE NUMBER :</b></td><td><input type="text" name="refno"  /></td><td><input type="submit" name="b1" value="Go"></td></tr></table>
</font>
</pre>
<%@ include file="connect.jsp"%>
<%
String refno=request.getParameter("refno");
re=stmt.executeQuery("select * from passapp where refno='"+refno+"' ");
for(;re.next();)
{
    String applyingfor=re.getString(1);
    String appltype=re.getString(2);
    String booklet=re.getString(3);
    String name=re.getString(4);
    String surname=re.getString(5);
    String dob=re.getString(6);
    String birthplace=re.getString(7);
    String state=re.getString(8);
    String district=re.getString(9);
    String gender=re.getString(10);
    String maritalstat=re.getString(11);
    String citizenship=re.getString(12);
    String pan=re.getString(13);
    String voterid=re.getString(14);
    String emptype=re.getString(15);
    String education=re.getString(16);
    String identitymk=re.getString(17);
    String fathername=re.getString(18);
    String fsurname=re.getString(19);
    String mothername=re.getString(20);
    String msurname=re.getString(21);
    String guardname=re.getString(22);
    String gsurname=re.getString(23);
    String peaddress=re.getString(24);
    String pedistrict=re.getString(25);
    String pepolicestat=re.getString(26);
    String pepin=re.getString(27);
    String pephone=re.getString(28);
    String praddress=re.getString(29);
    String prdistrict=re.getString(30);
    String prpolicestat=re.getString(31);
    String prpin=re.getString(32);
    String prphone=re.getString(33);
    String enameadd=re.getString(34);
    String ephone=re.getString(35);
    String refnameadd1=re.getString(36);
    String refphone1=re.getString(37);
    String refnameadd2=re.getString(38);
    String refphone2=re.getString(39);
    String passportno=re.getString(40);
    String passissuedate=re.getString(41);
    String passexpdate=re.getString(42);
    String passissueplace=re.getString(43);
    String notissued=re.getString(44);
    String crime=re.getString(45);
    String crimeoff=re.getString(46);
    String refused=re.getString(47);
    String revoked=re.getString(48);
    String politicalaslyum=re.getString(49);
    String ec=re.getString(50);
    String applace=re.getString(51);
    String apdate=re.getString(52);
    String username=re.getString(53);
    String status=re.getString(55);

%>

<table border="1" cellspacing="5">
<tr><td>APPLYING FOR</td><td><%=applyingfor%></td></tr>
<tr><td>APPLICATION TYPE</td><td><%=appltype%></td></tr>
<tr><td>PASSPORT BOOKLET</td><td><%=booklet%></td></tr>
<tr><td>NAME</td><td><%=name%></td></tr>
<tr><td>SURNAME</td><td><%=surname%></td></tr>
<tr><td>DOB</td><td><%=dob%></td></tr>
<tr><td>BIRTHPLACE</td> <td><%=birthplace%></td></tr>
<tr><td>STATE</td><td><%=state%></td></tr>
<tr><td>DISTRICT</td><td><%=district%></td></tr>
<tr><td>GENDER</td><td><%=gender%></td></tr>
<tr><td>MARITAL STATUS</td><td><%=maritalstat%></td></tr>
<tr><td>CITIZENSHIPOF INDIA BY</td><td><%=citizenship%></td></tr>
<tr><td>PANCARD NO</td><td><%=pan%></td></tr>
<tr><td>VOTER ID</td><td><%=voterid%></td></tr>
<tr><td>EMPLOYMENT TYPE</td><td><%=emptype%></td></tr>
<tr><td>EDUCATION QUALIFICATION</td><td><%=education%></td></tr>
<tr><td>IDENTIFICATION MARK</td><td><%=identitymk%></td></tr>
<tr><td>FATHER'S NAME</td><td><%=fathername%></td></tr>
<tr><td>FATHER'S SURNAME</td><td><%=fsurname%></td></tr>
<tr><td>MOTHER'S NAME</td><td><%=mothername%></td></tr>
<tr><td>MOTHER'S SURNAME</td><td><%=msurname%></td></tr>
<tr><td>GAURDIAN'S NAME</td><td><%=guardname%></td></tr>
<tr><td>GAURDIAN'S SURNAME</td><td><%=gsurname%></td></tr>
<tr><td>PERMANENT_ADDRESS</td><td><%=peaddress%></td></tr>
<tr><td>PERMANENT ADDRESS DIST</td><td><%=pedistrict%></td></tr>
<tr><td>POLICE STATION</td><td><%=pepolicestat%></td></tr>
<tr><td>PIN CODE</td><td><%=pepin%></td></tr>
<tr><td>PRESENT PHNO</td><td><%=pephone%></td></tr>
<tr><td>PRESENT_ADDRESS</td><td><%=praddress%></td></tr>
<tr><td>PRESENT ADDRESS DIST</td><td><%=prdistrict%></td></tr>
<tr><td>POLICE STATION</td><td><%=prpolicestat%></td></tr>
<tr><td>PIN CODE</td><td><%=prpin%></td></tr>
<tr><td>PRESENT PHNO</td><td><%=prphone%></td></tr>
<tr><td>EMERGENCY_NAME_AND ADDRESS</td><td><%=enameadd%></td></tr>
<tr><td>EMERGENCY PHONE NO</td><td><%=ephone%></td></tr>
<tr><td>REF_PERSON1_NAME_AND ADD</td><td><%=refnameadd1%></td></tr>
<tr><td>REF PERSON1 PHNO</td><td><%=refphone1%></td></tr>
<tr><td>REF_PERSON2_NAME_AND ADD</td><td><%=refnameadd2%></td></tr>
<tr><td>REF PERSON2 PHNO</td><td><%=refphone2%></td></tr>
<tr><td>PREV PASSPORT NO</td><td><%=passportno%></td></tr>
<tr><td>PREV PASSPORT DATE OF ISSUE</td><td><%=passissuedate%></td></tr>
<tr><td>PREV PASSPORT EXPIRY DATE</td><td><%=passexpdate%></td></tr>
<tr><td>PREV PASSPORT PLACE OF ISSUE</td><td><%=passissueplace%></td></tr>
<tr><td>IS APPLICANT EVER APPLIED FOR PASSPORT BUT NOT ISSUED??</td><td><%=notissued%></td></tr>
<tr><td>IS APPLICANT EVER BEEN CHARGED WITH CRIMINAL PROCEEDINGS??</td><td><%=crime%></td></tr>
<tr><td>IS APPLICANT CONVICTED BY COURT IN INDIA FOR ANY CRIMINAL<br>OFFENCE AND SENTENCED TO IMPRISONMENT</td><td><%=crimeoff%></td></tr>
<tr><td>IS APPLICANT EVER BEEN REFUSED OR DENIED PASSPORT??</td><td><%=refused%></td></tr>
<tr><td>IS APPLICANTS PASSPORT EVER BEEN IMPOUNDED OR REVOCKED??</td><td><%=revoked%></td></tr>
<tr><td>IS APPLICANT EVER APPLIED FOR/BEEN GRANTED POLITICAL ASYLUM<br>BY FOREIGN COUNTRY</td><td><%=politicalaslyum%></td></tr>
<tr><td>IS APPLI EVER RETURNED TO INDIA ON EMERGENCY CERTIFICATE(EC)<br>OR WERE EVER DEPORTED OR REPATRIATED??</td><td><%=ec%></td></tr>
<tr><td>PLACE</td><td><%=applace%></td></tr>
<tr><td>DATE</td><td><%=apdate%></td></tr>
<tr><td>USERNAME</td><td><%=username%></td></tr>
<tr><td>STATUS</td><td><%=status%></td></tr>

<%}%>
</table>
</form>
<pre>
<FONT face="Georgia, Times New Roman, Times, serif" size="4"><B><u>SELECT STATUS</u></B></FONT>


<input type="radio" name="rad" value="Document's Being Verified"><FONT face="Georgia, Times New Roman, Times, serif">Document's Being Verified</FONT>

<input type="radio" name="rad" value="Under Progress"><FONT face="Georgia, Times New Roman, Times, serif">Under Progress</FONT>

<input type="radio" name="rad" value="Document's Being Verified"><FONT face="Georgia, Times New Roman, Times, serif">Document's Being Verified</FONT>

<input type="radio" name="rad" value="Under Police Verification"><FONT face="Georgia, Times New Roman, Times, serif">Under Police Verification</FONT>

<input type="radio" name="rad" value="Dispatched"><FONT face="Georgia, Times New Roman, Times, serif">Dispatched</FONT>

<input type="radio" name="rad" value="Rejected"><FONT face="Georgia, Times New Roman, Times, serif">Rejected</FONT>

  <input type="submit"  name="submit" value="update"  class="cmdbutton" />

</font>


</pre>
</div>

<p></div></p>

<div id="footer">
<center> © Copyright and Design by: Chandan and Indrajeet </center>
</div>

<p></BODY></p>

<p></HTML></p>                                                                                              
View Answers









Related Tutorials/Questions & Answers:
i want to retriev and update in same form but its not working pls help....
i want to retriev and update in same form but its not working pls help.... ... id="contentarea"> <form name="viewpart" action="viewparticularappli.jsp...="update" class="cmdbutton" /> </font> </pre> </div>
servlet not working properly ...pls help me out....its really urgent
servlet not working properly ...pls help me out....its really urgent  ...;html> <body> > > <form method="post" action="get"> >... FORM:</font></div> > <b><font color="marron" >
Advertisements
i want to update values
i want to update values  in my form i have 2 submit buttons one... and later once i press update it need to update details into database and before pressing edit button the update button should be disabled please help me to write
Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!
Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!  I have got a certificate in my resource folder-> src/main/resources/cacerts. When I do a mvn assembly
I want to update the multiple values of database depending on checkbox..? Please help me out..
I want to update the multiple values of database depending on checkbox..? Please help me out..   Hi .. I want to Update the multiple values of database using checkboxes and want to set the session for selected checkboxes
pls help its eating my time:(
pls help its eating my time:(  hi am new to struts2.0 in my application i have declared a list in static how to get the static list values in my result.jsp??? if i remove the static in the list the result is getting displayed.why
pls help me sir its urgent
pls help me sir its urgent  thanks for reply, but i am getting this error pls help me its urgent type Exception report message description The server encountered an internal error () that prevented it from
I am trying to develop a Image Sliding application but unfortunately its not working... Can any one help me in this
I am trying to develop a Image Sliding application but unfortunately its not working... Can any one help me in this  Can Anyone Help Me In This import java.awt.*; import javax.swing.*; import java.awt.event.*; class SlideShow
same thing i want but from db..
same thing i want but from db..  http://www.roseindia.net/tutorial/javascript/dynamicCombo.html same thing i want but from db
pls i need help with my assignment
pls i need help with my assignment  how to write a code that ask the user for the height of the triangle and prints the triangle using * eg if height is 3 it prints * and also using import java.util.Scanner
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
do the combinations in java, pls help me its urhent - Development process
do the combinations in java, pls help me its urhent  import... or condition5) ") p.evaluate(); } } i need the ouput as follows can any one help me: action when condition1 and condition3 action when condition1
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
help i want it now the answer pleas...
help i want it now the answer pleas...  write a program that will display the exactly output as below: Hints: declare and initialize value of array in double type.Read and write all elements of array.perform the multiply
i have a problem to do this question...pls help me..
i have a problem to do this question...pls help me..  Write a program... reversedNumber = 0; for (int i = 0; i <= num; i...; reversedNumber = reversedNumber * 10 + r; i = 0
pls help me it urgent
pls help me it urgent  hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger
pls help me it urgent
pls help me it urgent  hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger
pls help me it urgent
pls help me it urgent  hey, pls help me i want to know that can we call java/.bat file from plsql/proceudre /trigger
hi , i cant make this programmer , can any one help me to make it pls - Java Beginners
hi , i cant make this programmer , can any one help me to make it pls  ...://www.roseindia.net/java/example/java/io/ Thanks  i want to make the whole program. i cant find delete records or update records  pls can
I want to build sessionfactory in hibernate 4. Need help.
I want to build sessionfactory in hibernate 4. Need help.  Hello, I want to build sessionfactory in hibernate 4. Need help
Hii i want a JMS application can anybody help me
Hii i want a JMS application can anybody help me  jms application
Update not working in hibernate.
Update not working in hibernate.  Update not working in hibernate
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
Dynamic-update not working in Hibernate.
Dynamic-update not working in Hibernate.  Why is dynamic update not working in hibernate?   Dynamic-update is not working. It means when you are running your update, new data is added in your table in place
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session   sig
want help regarding a project
want help regarding a project  hiii this is hemangi and I want guidance that I am working on a project of hospital management system so I want guidance that how can i implement that in swings or with other frame work? and any
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
how do i update my database with the help of update syntax in html ? How to write 'where' statement in this?  var sqlmek="update into Student_info...); alert('I am Fine!'); rs.Open(sqlmek, cn); alert('Fine
i want to find the byte code of a image file ... for my project..plz if anybody help me for java coding i will grateful..
i want to find the byte code of a image file ... for my project..plz if anybody help me for java coding i will grateful..   i want to convert a image file to its byte code format that help me for the pattern matching in my
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session   sig   Hi Friend, Please visit the following link:ADS_TO_REPLACE_1 http://roseindia.net/jsp/bank.shtml
pls help me with this question
pls help me with this question  how to write a program in C++ using encapsulation,polymorphism,inheritance and abstraction?(all these concepts should come in a single program
Pls help me with strings
Pls help me with strings  To reverse a every other word in a string. Example :- If the input is "This is a line of message" the output should be "sihT is a line fo message
Pls help me with strings
Pls help me with strings  To reverse a every other word in a string. Example :- If the input is "This is a line of message" the output should be "sihT is a line fo message
Pls help me...........
Pls help me...........  how to use the text file as input to insert the values injdbc?   Please visit the following link: Insert text file data into database
hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..
hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work on it ..   hi .. need help ASAP ..i have a project buit in eclipse , i have installed jasper. i want the steps to work
Displaying error on the Same form
Displaying error on the Same form  I want to display the errors on the same form(Top of the form) after validation. I am used Div element and Table to display the error messages. It is working properly. But those error messages
i want to create invoice report editable. values should be taken from dabase and editable .. help out asap
i want to create invoice report editable. values should be taken from dabase and editable .. help out asap   i want to create invoice report .. help out asap
sir i want small project with of health care system with struts and hibernate plz help me
sir i want small project with of health care system with struts and hibernate plz help me  sir i want small project on health care system with struts and hibernate plz help me
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
pls. help me - Java Beginners
pls. help me  please help me i do need now if its okay... Consider the method headings: void funcOne(int[] alpha, int size) int funcSum(int x,int y) void funcTwo(int[] alpha, int[] beta) and the declarations: int
i want to create invoice report editable. values should be taken from dabase and editable .. help out asap
i want to create invoice report editable. values should be taken from dabase and editable .. help out asap   i want to create invoice report editable. values should be taken from dabase and editable .. help out asap
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out
sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out  sir/mam i want to have knowledge on live projects of java/jsp/servlets.Can you plz help me out.I want to have a through knowledge

Ads