No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, I have a browse button for sending single image with other text inputs in jsp type I have chosen Multipart-Form data . I got 'parameter not set error' for blob field. I am using MySql database. I am using DefaultFileItemFactory clss [CODE] FileItemFactory factry= new DefaultFileItemFactoy(); FileUpload upload= new … |
|
This is my code. [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Registration Page</title> </head> <body background= "bg8.jpg" width="1000" height="1000" alt="work1"> <form action="clientlogin.jsp"><table> <tr> <td> Company Name</td><td> <input type="text" name="cname" value="" /></td> </tr> <tr> <td> Password </td><td><input type="password" name="pwd" value="" /></td> </tr> <tr> <td>Location of company </td><td><input type="text" name="location" value="" /></td></tr> … |
|
I got one interview question, what's the advantage of objects in java ? I surfed, surfing regarding these. |
|
How to do form based authentication? I submit my code here. [CODE] <html> <head> <title>Enter your name and password</title> </head> <body bgcolor="#999966"> <p> </p> <form method="POST" action="Order.jsp"> <p><font color="#800000" size="5"> Enter your company name:</font><input type="text" name="coname" size="20"></p> <p><font color="#800000" size="5"> Enter your password:</font><input type="password" name="password" size="20"></p> <p><input type="submit" value="Submit" name="B1"></p> <% … |
|
Is there anything like that links should be given inside(outside) the <form></form> tags. Can form tag be left without any action? |
|
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.[CODE] String id= t1.getText(); int c1=Integer.parseInt(rc1.getText()); /* rc1 is a radiobutton */ statementobj.executeUpdate("Update tablename(fieldvalue) values('"+c1+"')where ID='"+id+"'"); [/CODE] |
|
I am having one Authentication frame in swings. i have created another frame where authentication page on successful completion of verification should go. How to link or connect these two things? I am using Swings with Netbeans. Is there any UserInterface controls in netbeans or i have to code inside … |
|
Can anybody suggest me a tutorial for Perl. I have to prepare for a interview. And have to practise |
|
I am retrieving values from database. I initialized a variable outside the loop. I am using while loop to move one record after other to last using ResultSet object.next(). Inside the while I am assigning the record value to the variable initialized outside while. But It shows variable might not … |
|
I got Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at this line.[CODE]File f1= new File(args[0]);[/CODE] I guess i have to give a command line argument. How to give a file as command line argument. Or is this someother one? |
|
|
|
In which package is Grid(in-built) class is there? I guess util. But Grid creation using create() shows error. |
|
i have a codelike this: [CODE] do { int i; }while(i!=0); [/CODE] Shows error "Cannot find symbol i" |
|
[CODE] File file = new File(args[0]);[/CODE] what this line of code actually mean? |
|
I have 3 threads. 3 are going to do a different tasks , so different run() methods. How to overload run() method? |
|
I got error :At the constructor MyStackThreads "class , interface or enum expected" [code]import java.util.*; import java.io.*; class MyStackThreads extends Thread { Stack thestack= new Stack(); String expression; String splitexpr[]; MyStackThreads[j] { public void run() { try { DataInputStream dis=new DataInputStream(System.in); expression=dis.readLine(); for(int i=0;i<expression.length();i++) { splitexpr=expression.split(expression); thestack.push(splitexpr[i]); } } catch(IOException … |