Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
2 Commented Posts
~17.6K People Reached
Favorite Tags

23 Posted Topics

Member Avatar for nHulk

"httpError: The Http Transport returned a 0 status code. This is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." I am getting this error in my web page form... how to get rid of this message ............

Member Avatar for LastMitch
0
409
Member Avatar for nHulk

**registerBean.java** public void onEdit(RowEditEvent event) { Connection con = null; PreparedStatement stat = null; ResultSet rs = null; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost:3306/db", "root", ""); stat = con.prepareStatement("update regtbl set fname=? where rno=?") ; stat.setString(1, fname); stat.setInt(2, rno); stat.executeUpdate(); con.close(); } catch (Exception e) { e.printStackTrace(); } } ** …

Member Avatar for LastMitch
0
493
Member Avatar for nHulk

[CODE] <tr> [B][U]<td><a href="inbox.jsp" ><%=rs.getString(1)%></a></td>[/U][/B] <td><%=rs.getString(2)%></td> <td><%=rs.getString(3)%></td> </tr>[/CODE] See lines in Bold.....after i click it has to set session variable with value reterived from <%=rs.getString(1)% >based on which i am going to display particular contents in redirected page

Member Avatar for jalpesh_007
0
1K
Member Avatar for nHulk

public class SendMessage { public static void main(String[] args) throws UnsupportedEncodingException { //String strMsg=java.net.URLEncoder.encode("This is API msg", "UTF-8"); callURL("https://api.mVaayoo.com/mvaayooapi/MessageCompose?user=user@gmail.com:1111&senderID=TEST SMS&receipientno=9999999999&dcs=0&msgtxt=msg&state=1"); } public static void callURL(String strURL){ System.out.println(" URL is :"+strURL); try{ URL obj = new URL(strURL); HttpURLConnection httpReq = (HttpURLConnection)obj.openConnection(); httpReq.setDoOutput(true); httpReq.setInstanceFollowRedirects(true); httpReq.setRequestMethod("GET"); String iStatus = httpReq.getResponseMessage(); System.out.println("iStatus: "+iStatus); } …

0
180
Member Avatar for nHulk

Please let me know godds books for web development using Jsf,Spring,Hibernate I am beginner to learn these technologies...and i am currently working on web development using these technologies...so let me know the easy and best books to learn these technologies. Books should include complete core concepts in simplified way....please help …

0
104
Member Avatar for nHulk

i am using ubuntu 11.04, have connected an dongle to it,i am trying to find the comport no to which dongle is connected ,As in windows i get com23,com24 etc .how can i get it in linux ?

Member Avatar for rubberman
0
114
Member Avatar for nHulk

This is error its throwing : javax.servlet.ServletException: /dtl.xhtml @13,75 value="#{registerBean.reteriveData()}" Error Parsing: #{registerBean.reteriveData()} javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) dtl.xhtml <h:dataTable value="#{registerBean.reteriveData()}" var="rb"> <h:column> <f:facet name="header"> <h:outputText value="Model" /> </f:facet> <h:outputText value="#{rb.fname}" /> </h:column> </h:dataTable> registerBean.java public List reteriveData() { Connection con = null; List list = null; try { DBConnection db = new …

Member Avatar for nHulk
0
239
Member Avatar for nHulk

Below code includes both client and server code.... I am trying to read message from client and display it on server and vice versa......Problem i am facing is both the codes are executin but messages are not getting displayed ....help me import java.io.*; import java.net.*; class Client { public static …

Member Avatar for NormR1
0
295
Member Avatar for daravindm

<% try{ Class.forName("org.apache.derby.jdbc.ClientDriver"); con=DriverManager.getConnection("jdbc:derby://localhost:1527/Employee"); stmt=con.createStatement(); ResultSet rs=stmt.executeQuery("select uname,regno from emptbl"); while(rs.next()){ %> <table> <tr> <td>rs.getString(1)</td> // 1 indicates coloum number(uname) <td>rs.getString(2)</td> </tr> </table> <% } } catch(Exception e) { } finally { try { stmt.close(); con.close(); } catch (Exception ex) { } } %>

Member Avatar for anand01
0
328
Member Avatar for coding101

In java String is class You use command : javap java.lang.String on command prompt Here you can see various predefined methods

Member Avatar for dheaven
0
238
Member Avatar for dennysimon

use jar -cf name.jar file1.java file2.java //create jar the file1.java, file 2.java will be in name .jar after executing above command

Member Avatar for dennysimon
0
146
Member Avatar for nHulk

I am trying to import all the classes present in a user defined package, by using the statement as import mypack.*; but it's not working in my program. [B][B]Its Giving error : C:\Users\Nitin\java>javac AOTest.java AOTest.java:6: cannot access AOperation bad class file: .\AOperation.java file does not contain class AOperation Please remove …

Member Avatar for nHulk
0
202
Member Avatar for vijaykavin10

[CODE]public static void main(String[] args) throws IOException { Apple sam=new Apple(); double a,b; a=sam.sample(); b= sam.sample1(); sam.display(a, b); }[/CODE] its works

Member Avatar for vijaykavin10
0
295
Member Avatar for rssk

If you have installed JDK, 1) Locate where your jdk\bin folder is in your system ex : C:\Program Files\Java\jdk1.6.0_21\bin 2) Now open Command Prompt 3) Now set the path: set path="C:\Program Files\Java\jdk1.6.0_21\bin" press enter 4)now type : javac on command prompt.if you get following out put then your java is …

Member Avatar for peter_budo
0
553
Member Avatar for Hussam Alahmadi

[CODE] import java.util.Scanner; public class MaxNumber { public static void main(String[] args) { Scanner input = new Scanner(System.in); int min = 0 ; int count=1; System.out.println("Enter a number : "); int num=input.nextInt(); min=num; for(;;) { if(num==0) break; if(num<=min) { min=num; count=0; } System.out.println("Enter a number : "); num=input.nextInt(); } System.out.println("The …

Member Avatar for nHulk
0
202
Member Avatar for gourav1

Hi , As you are interested in mobile applications,you can go through this link and improve your skills [URL="http://developer.android.com/"]http://developer.android.com/[/URL] Best of luck

Member Avatar for nHulk
0
122
Member Avatar for parimalnarayan

1) You first Download WampServer 2) Start the wampserver, 3) On Desktop in Notificaion area you will see a wampserver icon 4) Click on it 5) then MySql---> Console 6) press Enter 7) Here you can create database create database student; WampServer is better and easy to use. It also …

Member Avatar for nHulk
0
229
Member Avatar for amit_as

Here is the code,If you like this code plz dont forget to to click on upper arrow mark on right corner of my post.. [CODE]#include<stdio.h> #include<conio.h> main() { char str[50],ch; int i; printf("Enter String : "); gets(str); printf("Enter Character of which you want to kmow position : "); scanf("%c",&ch); for(i=0;str[i]!='\0';i++) …

Member Avatar for nHulk
0
6K
Member Avatar for theCompiler

Here is the code [CODE]#include<stdio.h> #include<conio.h> main() { char str[50]; int i; printf(" Enter String\n"); scanf("%s",str); for(i=0;str[i]!='\0';i++) { if(str[i]==str[i+1]) printf ("%c\n", str[i]); } getch(); }[/CODE]

Member Avatar for nHulk
0
5K
Member Avatar for nHulk

Below is part of code !!! i am new to jsp !!! it is giving error at variable temp1... help me out [CODE] try { Class.forName("com.mysql.jdbc.Driver").newInstance(); String url="jdbc:mysql://localhost/ecops"; Connection con = DriverManager.getConnection(url,"root",""); java.sql.Statement stmt = con.createStatement(); ResultSet rs=stmt.executeQuery("Select max(cid) from citizen_info"); while(rs.next()){ int temp1=rs.getInt("max(cid)"); break; } temp1=temp1++; stmt.executeUpdate("insert into citizen_info …

Member Avatar for javaAddict
0
116
Member Avatar for nHulk

Here's the thing, I need to create three dropdown lists each for day, month, year. Once these are selected, after clicking a button, the three selected values need to be concatenated and bound to a date column in a database table. String month=request.getParameter("month"); String date=request.getParameter("date"); String year=request.getParameter("year"); how to concat …

Member Avatar for nHulk
0
243
Member Avatar for nHulk

Hello, i Want to do project on Java.... any one tell me some new ideas to do my project.... some thing new i can implement as for my final year project

Member Avatar for stultuske
0
117
Member Avatar for nHulk

Hello, I am final year student.I am doing project on Remote Desktop Viewer and Controller in JAVA. Similar to Team Viewer .I want to add some New Features that are not in Team Viewer.[B]So plz suggest some new features that can be added that are not in Team Viewer.[/B] [B]Also …

0
67

The End.