Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+3
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.3K People Reached
Favorite Tags
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
399
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
483
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
176
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
101
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
107
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
235
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
290
Member Avatar for daravindm

Hi all, How to display search results from MYSQL database in JSP page?? is it possibile to create gridview in jsp page? please help

Member Avatar for anand01
0
323
Member Avatar for coding101

How do strings work? In C we must declare the size of a char array to represent a "string". But in java we do not allocate memory for the size of a string. So how does the string work? Is there a pre deterimed size assigned to strings from the …

Member Avatar for dheaven
0
233
Member Avatar for dennysimon

Hello all I have classes all bundled in a package The name of the package is components All the classes placed in a directory c:\LJava\build\components The names of the clases are a.class b.class and c.class How to jar this package ? I use dos prompt(not net beans) main class is …

Member Avatar for dennysimon
0
139
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
194
Member Avatar for vijaykavin10

Hi All [CODE]package apple; import java.io.IOException; import java.util.Scanner; /** * * @author Mates */ public class Apple { private double sample(){ double total; int a=120; Scanner as=new Scanner(System.in); System.out.println("enter the value"); double i=as.nextDouble(); total=i*a; System.out.println("apple"+i+"kg"+" "+total); [COLOR="red"]return total;[/COLOR] } public double sample1(){ int b=50; double total1; System.out.println("enter the value of …

Member Avatar for vijaykavin10
0
191
Member Avatar for rssk

hi........ i'm new to java...... i m running a java program on cmd prompt,i want to compile but i m getting error like [B]'javac' is not recognised as internal and external command ,operable program [/B] plzzzzzzzzzzz help me:)

Member Avatar for peter_budo
0
548
Member Avatar for Hussam Alahmadi

Hi every body i have a Question How to find lowest number? this my code is there any mistake ? [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 : "); …

Member Avatar for nHulk
0
177
Member Avatar for gourav1

hello! i want to learn mobile applications using java.i know java and wana learn that now. please can anyone tell that how to learn and links or books to refer ??

Member Avatar for nHulk
0
119
Member Avatar for parimalnarayan

Hi! I have made a website which allows users to register. I want to check the functionality of the site, so I want to create a database on my computer using mysql and link it to my site. I have already created the registration form and login form, but I …

Member Avatar for nHulk
0
226
Member Avatar for amit_as
Member Avatar for theCompiler

i dont have idea what string function must be used to find consecutive characters . example is the word commit it will output the letter m . tnx for th help :D

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
110
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
215
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
101
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
65