Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for dineshswamy

Session is not working everytime,but when i restart my machine everthing works fine .Why this happens?

Member Avatar for CoursesWeb
0
99
Member Avatar for dineshswamy

i dont know why my onreadystatechange function is not working var xmlhttp; var time; function init() { time=0; t=setInterval("timer()",1000); } function timer() { time++; } function sendrequest(v,qno) { if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 && xmlhttp.status==200) { alert("Came Inside"); postdata(v,qno); } } } …

Member Avatar for rotten69
0
72
Member Avatar for dineshswamy

i m new to coding a style sheet by hand.i did a website with positioning all the elements by adjusting their margins,some settles in the desired place automatically.now , i use absolute positioning, but for this i need to arrange each and every element . i do not know what …

Member Avatar for Lorel
0
107
Member Avatar for dineshswamy

i did a simple bubble sort but it is ot working . help me out. [CODE] #include<stdio.h> main() { int i,j,k; int a[]={7,9,4,2,3,6}; for(i=0;i<7;i++) for(j=i+1;j<7;j++) if(a[j]<a[j-1]) { k=a[j]; a[j]=a[j-1]; a[j-1]=k; } for(i=0;i<7;i++) printf("a[%d]==>%d",i,a[i]); } [/CODE]

Member Avatar for dineshswamy
0
107
Member Avatar for dineshswamy

i ve already worked many time on this code ,but couldnt find whats wrong. [CODE]import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.ServletException; public class AppletServer extends HttpServlet { public void doPost(HttpServletRequest rq, HttpServletResponse rs) throws ServletException,IOException { String s,n,v; try { rs.setContentType("application/x-java-serialized-object"); InputStream i=rq.getInputStream(); ObjectInputStream oi=new ObjectInputStream(i); OutputStream o=rs.getOutputStream(); ObjectOutputStream …

0
64
Member Avatar for dineshswamy

i ve worked on this script for more than a week but couldnt find out whats wrong with this . please help me out [CODE] var c; function start() { window.setInterval("Requestvisits();",1000); } function Requestvisits() { var xmlHttpobject; if(window.XMLHttpRequest()) { c=new XMLHttpRequest(); } else if(window.ActiveXObject) { c=new window.ActiveXObject("Microsoft.XMLHTTP"); } if(c) { …

0
59
Member Avatar for dineshswamy

i tried almost a week to figure out how to insert a hyphen after successful date entry ,in my form validation, but couldnt find appropriate intrinsic event and logic. help me out.. eg: when the user enters 26 the script automatically inserts '-' since 26 is a valid date. Next,when …

Member Avatar for dineshswamy
0
100
Member Avatar for dineshswamy

[CODE] a = input("enter the string") print "%s dinesh" %l m=re.match(r'(.*)(\.*)',l,re.I) print m.group() print m.group(2) [/CODE] i m getting the following error ,when i give input [CODE] Traceback (most recent call last): File "regularexp.py", line 1, in <module> a = input("enter the string") File "<string>", line 1, in <module> NameError: …

Member Avatar for dineshswamy
0
131
Member Avatar for dineshswamy

how can i calculate float value? eg it is 32/10 3.2 in calculator in python 32/10 is 3.0 help me out

Member Avatar for dineshswamy
0
202
Member Avatar for dineshswamy

i did this , it adds a form field after a particular event.but it differs,if i add the same form field statically(without JS). why this happens? i used the style property display:block/none to do this.

Member Avatar for pritaeas
0
77
Member Avatar for dineshswamy

dont know the why this modified JTextField did not show up..help me out [CODE] import java.awt.*; import javax.swing.*; public class JBgtextfield extends JTextArea{ public void paint(Graphics g) { setOpaque(false); ImageIcon ic=new ImageIcon("image1.png"); Image i=ic.getImage(); g.drawImage(i,0,0,this); super.paint(g); } } [/CODE] i then created an instance of this class and added it …

Member Avatar for JamesCherrill
0
161
Member Avatar for dineshswamy

I dont understand why we are using super.paint() in this code. help me to figure out why? [CODE] public class SetJTextFieldBackgroundImage extends JTextField { public SetJTextFieldBackgroundImage() { JFrame frame=new JFrame("Set JTextField background image"); frame.add(this); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(300,65); frame.setLocationRelativeTo(null); frame.setResizable(false); frame.setVisible(true); } public void paint(Graphics g) { setOpaque(false); //Image that will be …

Member Avatar for JamesCherrill
0
1K
Member Avatar for dineshswamy

im solving a problem in linked list.how to check loop inside a linked list. i ve done implentation. always it goes without any error. but sometimes it encounters segmentation error. i dont find wny error or warning other than that.please try to help me figure out [CODE] #include<stdio.h> #include<stdlib.h> #include<string.h> …

Member Avatar for zeroliken
0
133
Member Avatar for dineshswamy

i m not convinced with the way explanation given for this drop down menu working .. please help me out [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Menu testing</title> <style type="text/css"> #nav,#nav ul { list-style:none; padding:0; margin:0; } #nav a{ display:block; width:10em; } #nav li { …

Member Avatar for dineshswamy
0
147
Member Avatar for dineshswamy

is using nodefire api for dropdown menus a right choice? or suggest a drop down api.

0
55
Member Avatar for dineshswamy

give me reasons why JVM is platform dependent? i dont find convincing answers. The ultimate aim of a compiler is to make codes that are to be understood by native machine processor ? if this is the case why there is an interference of operating system(platform)?

Member Avatar for hfx642
0
101
Member Avatar for dineshswamy

[CODE] import java.util.*; public class PetrinetSim { public int noofplaces=0; public int nooftransitions=0; public inputarc[] ip=new inputarc[50]; public outputarc[] op=new outputarc[30]; ArrayList<place> pl= new ArrayList<place>(); public Scanner in=new Scanner(System.in); place[] p; transition[] t; void createplaces() { int i; p=new place[noofplaces]; for(i=0;i<noofplaces;i++) { p[i]=new place(); p[i].token=0; p[i].id=i; } } void createtransitions() …

Member Avatar for JamesCherrill
0
221
Member Avatar for dineshswamy

i have an web project asssigned in my college . it is just to create a website to host events , such as quiz , puzzles , basically a website that has a functionality like topcoder.com. Im totally confused what tool to be used . i know php better. but …

Member Avatar for aerofly5
0
130