- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Software Engineer
41 Posted Topics
[COLOR=SeaGreen][COLOR=Black]hi all, in javascript normaly page redirection can be done as follow with a parameter. [/COLOR] window.location = "add-new-cos.jsp?id="+id; [COLOR=Black]but this id value is send to the next page with in the GET method. but i want to send it with the POST method. is there any way to do … | |
Re: if I needs to get the index of the last node in the tree, how can I do that. In the Add() method, it normally add the new node to the end of the tree, so how the add method find the last position...? | |
hi all. I have a form in [COLOR=darkred]page1.jsp[/COLOR]. the action for that form submit is in [COLOR=sandybrown]page2.jsp[/COLOR] so I want to just come back to the [COLOR=darkred]page1.jsp[/COLOR] after processing the request.(reload the first page again) so in [COLOR=orange]page2.jsp[/COLOR], how can i redirect the display page to the [COLOR=darkred]page1.jsp[/COLOR] here I … | |
hi im janaka priyadarshana, I want to write a program to access a given URL. dont need to show it on a browser. only want to get the html tags and write it on a text file. serch on internet for this purpos, but unable to find any idea. please … | |
Hi all, Is there a way to get system memory consumption and CPU consumption in a platform independent way, using python...? Basically my requirement is, get the memory status and CPU status of a particular process. If there is a way to get memory info and CPU info by just … | |
Hi all, My program have two threads (parent thread & child thread). I want to set a high priority to my child thread when it is created. So I just follow the example given in the follow ([url]http://cs.pub.ro/~apc/2003/resources/pthreads/uguide/users-12.htm[/url]) ************************************************** [code=c] #define _MULTI_THREADED #include <pthread.h> #include <sched.h> #include <stdio.h> #include "check.h" … | |
please can anyone explain the reason for the following behavior #include <iostream> #include <boost/enable_shared_from_this.hpp> using namespace std; class A; typedef boost::shared_ptr<A> A_sptr_t; class B; typedef boost::shared_ptr<B> B_sptr_t; class A : public boost::enable_shared_from_this<A> { public: A() {} virtual ~A() {} }; class B : public A, public boost::enable_shared_from_this<B> { public: B() … | |
hi im janaka i tried to do the unit testing with JBuilder. download and install Junit set the class path. but according to the readme file, i was unable to test my installation. these are that instructions. [COLOR=DarkRed] add[B]junit-4.1.jar[/B] to the CLASSPATH. For example: set classpath=%classpath%;INSTALL_DIR\junit-4.1.jar;INSTALL_DIR test the installation by … | |
hi all im janaka priyadarsahana i want to write actions for buttons. i have 4 buttons and when they click i want to do four seperate things for this i have several options 1. create new class by implimenting Action listener interface and using an object of that class, can … | |
Hi, Please can anyone help me to find a way to shutdown an SimpleXMLRPCServer. | |
Hi all, I want to just write a simple test case for a method which multiply two numbers. I am using the Linux platform. in the web ([URL="http://cpptest.sourceforge.net/tutorial.html"]http://cpptest.sourceforge.net/tutorial.html[/URL]) there are some examples. But I do not know what is the header file that should include. please can anyone help me... | |
hi all, in my form there are number of checkboxes that is dynamically generated. accordig to the user,s action (when going to edit a record), i want some of them are checked using javascript. but i dont have id of checkboxes that i want to check, only have the value … | |
I am using an open source library called IGI_UDP for measure the available bandwidth of a link ([EMAIL="http://www.cs.cmu.edu/%7Ehnn/igi/"]http://www.cs.cmu.edu/%7Ehnn/igi/[/EMAIL]). with that library they have provided a "Makefile" which is not an auto generated one. the following is the given Makefile, ***************************************************************** CC = gcc INCS = -I. CFLAGS = -g -Wall … | |
hi all, i have a problem with pthread programming. function_1(){ . . rc = pthread_create(&thread, &attr, my_function, (void *)&my_data); . rc = pthread_create(&thread, &attr, my_function, (void *)&my_data); . } As the above “`function_1`” do, the “`my_function`” can be executed any number of time according to our need, but the problem … | |
hi all, i want to execute a function by a separate thread and get that functions return value in to the main thread. one way to do this is set a global variable by that separate thread and access that variable from the main thread. This procedure is as follow. … | |
hi all, i want to get the dependancy graph from the make file or make rules. please if anyone can, help me to do this | |
hi all, i have Theora video codec source code (a C library) and i want to debug it using GDB in linux. but if its developers have not provide debuging enable option, how can i manualy chnaged the make file for unabling debuging optins. please can anyone help me to … | |
Hi all, I am using AJAX to submit a data from a web page, it is properly working on the local host (when test with the local machine it is ok). When access from another machine the pages are properly lord. But when send data it gives an http request … | |
i am using ubuntu and i have never use "make files" with C but i want to study an open source video codec called "Theora". so i guess that first of all i have to understand the dependencies of the project, but i cant understand their make file. also it … | |
hi all, i am using an image as a button. so i want to disable it on some actions. so i used document.getElementById("imagName").disabled = true; but it seems that this property is not working for | |
Hi all, I want to set an integer variable that is begins with 0 (ex: 01, 055 etc). So I don’t want to use strings here, because I want to use this values as mathematical values.. What is the data type that i have to use here..? So please anyone … | |
hi all, I want to disable some of text fields and several buttons on my webpage when click on "Edit" button.. I am using images as buttons. document.getElementById("textFieldID").disabled = true; document.getElementById("imageID").disabled = true; but on clicking the Edit button, still the other buttons(images) does not disabled. those are acting (those … | |
Hi all, Instead of writing javascript functions on the html page it self, we could write those in separate “.js” file and import it as follow. <script src="fileName.js" ></script> But when we do this and check the web page source on the browser, there is no any JavaScript function there.. … ![]() | |
I am trying to use an iframe in my application [COLOR=Red]mainpage.jsp[/COLOR] <HTML> <BODY> <form name="form2" method="post" action="action.jsp"> <input type="text" name="name" value=""/> <input type="submit" name="submit" value="submit"/> <iframe src="ifream-page.jsp" frameborder="0"> </form> </BODY> </HTML> [COLOR=Red]ifream-page.jsp[/COLOR] <HTML> <BODY> <input type="text" name="address" value=""/> </BODY> </HTML> But when I press the submit button I can only … | |
Hi all. I want to know in which case, it should use two forms in a one web page (example situations) (Except that when the action pages are separate)….? | |
Hi I am using the "< jsp:setProperty " tag.... so I want to set the properties manually if the corresponding property field is empty(null) in the web form. So it was hard corded in the setter method of the bean class. [COLOR=sienna]public void setName(String name) { if (name == null) … | |
hi i want to break the following string.. {ok,[{operators,'sri','mob',45,45,45,45},{operators,'sri','dia',45,45,45,45}]} by using [COLOR=red]{operators, [/COLOR][COLOR=black]this point.. i used the StringTokenizer class to do this by giving the [/COLOR][COLOR=red]{operators, [/COLOR][COLOR=black]as Delimiter. But when it runs it gives completely different result than I expected that is it was matched any character that the delimiter … | |
hi all, i am using the tomcat server.. can i show the java out puts(System.out.println) on the browser that is issude from java classes, not from the jsp pages. i think there may be a way to change the configuration in the tomcat server.. thanks.. | |
Hi all, I want to use the [COLOR=DarkOrchid]<jsp:setProperty….>[/COLOR] tag. When this is used it says that it calls to the setter methods and set the instance variables that submitted from a web page. (I suggest that it gets the instance fields from JSP request object and assign those). But in … | |
hi all, i want to know about simple java concept, public class Operator{ //this is a bean class and there is a method to insert object of this class, into the database. public int saveObject(Operator _operator){ //here are codes for insert the given object in the database. }//end of the … | |
hi all, i got this example from a website, but unfortunately i cant understand some cording in that source. the green color lines are the difficult points that i could not understand. also the database name, user name and password has not specified at anywhere in this cord. how can … | |
hi i am tring to use connection pooling in java with postgresql database. in given examples, i cant understand these file names that is given to create InitialContext object, also that file names are different for each and every examples. how can i get those files, and what are those..? … | |
Hi all............. I want to get the database error cord return by the database, to identify the error message and other messages. I am using postgresql database, they have provided their error cords, but still I don’t have any idea about how to do this, please any one can help … | |
hi i want to know what happen if we do not "setAutocommit(true)" after a transaction.. at the begining of the transaction it is "setAutocommit(false)"; but then at the end of the transaction if i do not setAutocommit(true), is that will affected for the anoter transaction comming next....? please help me...... | |
hi these days im trying to use ANT build tool. but when runing a given example in ant documentation it will give an error build process is success when try to execute the following target [COLOR=Sienna]<target name="run" depends="jar"> <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/> </target> it will give the following error <target name="run" … | |
hi all. i am going through the hibernate tutorials from http://www.hibernate.org but i cant build my project with the ant as specified, i have used ant befor now .there is no problem with ant. the error given is as follow ; compile: [javac] Compiling 2 source files to C:\Documents and … | |
hi all, i am janaka priyadarshana, i have a doubt about java and OSI layers. i want to know that , java sockets are belongs to which layer .....? that mean when I write to, or read from a socket, that process is going on in which OSI layer......? ex....network … | |
hi all im janaka priyadarsahana, i got this code segment from the sun java tutorial. but cant understand how this for loop works. out.print("File system roots: "); for (File root : File.listRoots()) { out.format("%s ", root); } out.println(); please if anyone can help me...... thank you...... | |
hi all, i have a java code, here "rs" is a result set. [COLOR=DarkRed] ByteArrayInputStream byteStream = new ByteArrayInputStream(rs.getBytes(objName)); ObjectInputStream objStream = new ObjectInputStream(byteStream); obj = objStream.readObject(); return obj; [COLOR=Black]i cant understand why it is used both "[/COLOR][/COLOR][COLOR=DarkRed]ByteArrayInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]" and "[/COLOR][/COLOR][COLOR=DarkRed]ObjectInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]"...? can't i do this with one inputStream....? please help me............! … | |
hi im janaka priyadarshana for get data frome a particuler URL I want to set may proxy. for that i want to create a proxy object with java. the following is the code segment. import java.net.*; import java.io.*; import java.net.Proxy; public class MyURLConnection { private URL myURL; private URLConnection myConnection; … | |
I got an error as "java.lang.NoClassDefFoundError: JBuilder".my programe is create simple jframe and show hellow world on it. i think this is some problem with JBuilder, because when i run the same programe with "IntelliJ IDEA" did not get that error. thank you. |
The End.