Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~21.6K People Reached
About Me

Software Engineer

Favorite Tags
Member Avatar for rpjanaka

[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 …

Member Avatar for NavedAhmed
0
474
Member Avatar for kobi

Hello there, How can i add a node in a certian place in a treeView control? Thanks ahead

Member Avatar for JirkaJirka
0
208
Member Avatar for rpjanaka

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 …

Member Avatar for Ice515
0
2K
Member Avatar for rpjanaka

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 …

Member Avatar for Jacob Majana
0
359
Member Avatar for rpjanaka

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 …

0
56
Member Avatar for rpjanaka

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" …

Member Avatar for jakethesnake86
0
2K
Member Avatar for rpjanaka

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() …

Member Avatar for rpjanaka
0
105
Member Avatar for rpjanaka

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 …

Member Avatar for sadz2k9
0
205
Member Avatar for rpjanaka

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 …

Member Avatar for stephen84s
0
89
Member Avatar for rpjanaka

Hi, Please can anyone help me to find a way to shutdown an SimpleXMLRPCServer.

0
57
Member Avatar for rpjanaka

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...

Member Avatar for daviddoria
0
163
Member Avatar for rpjanaka

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 …

Member Avatar for ardeezstyle
0
80
Member Avatar for rpjanaka

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 …

0
64
Member Avatar for rpjanaka

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 …

Member Avatar for Belrog
0
96
Member Avatar for rpjanaka

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. …

Member Avatar for Salem
0
100
Member Avatar for rpjanaka

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

Member Avatar for Duoas
0
82
Member Avatar for rpjanaka

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 …

Member Avatar for dwks
0
61
Member Avatar for rpjanaka

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 …

Member Avatar for digital-ether
0
330
Member Avatar for rpjanaka

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 …

Member Avatar for TkTkorrovi
0
118
Member Avatar for rpjanaka

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

Member Avatar for digital-ether
0
8K
Member Avatar for rpjanaka

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 …

Member Avatar for masijade
0
4K
Member Avatar for rpjanaka

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 …

Member Avatar for MattEvans
0
140
Member Avatar for rpjanaka

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.. …

Member Avatar for GreenDay2001
0
67
Member Avatar for rpjanaka

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 …

Member Avatar for jwenting
0
184
Member Avatar for rpjanaka

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)….?

Member Avatar for jwenting
0
66
Member Avatar for rpjanaka

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) …

Member Avatar for jwenting
0
68
Member Avatar for rpjanaka

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 …

Member Avatar for rpjanaka
0
185
Member Avatar for rpjanaka

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..

Member Avatar for masijade
0
563
Member Avatar for rpjanaka

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 …

0
64
Member Avatar for rpjanaka

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 …

Member Avatar for aniseed
0
106