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
0 Endorsements
~6K People Reached
Favorite Tags

51 Posted Topics

Member Avatar for hajjo

I have following questions, can someone tell me if i answered correctly Can we configure portlet wiring for two portlets mapped on two different pages? no Custom Validators in JSF will be executed during the Render phase, is it correct? yes SOAPUI is specialized in optimizing the web services message …

Member Avatar for stultuske
0
143
Member Avatar for hajjo

Hello, I am setting up a website which downloads and stores music. I want on download link to check if user downloaded that music , that is I want to check if file downloading exists on his computer. how can it be done?

Member Avatar for hajjo
0
96
Member Avatar for hajjo

Hello, How can I do a login form in jsp using oc4j server. (oracle jdeveloper). Assume I have this page. [CODE] <HTML> <HEAD> <TITLE>Login into the Employee Records Center</TITLE> </HEAD> <BODY> <H1><CENTER>Login into the Employee Records Center</CENTER></H1> <FORM NAME="LoginForm" ACTION="index.jsp" METHOD="post" ENCODE="application/x-www-form-urlencoded"> <P>To login to the Employee Records Center, submit …

Member Avatar for javaAddict
0
335
Member Avatar for hajjo

I have <a title="jjj jjj" /> it appears as jjj new line jjj in itnernet explorer. but in firefox it ignores new lines and replaces them with space. any solution for this on firefox?

Member Avatar for Admiral
0
77
Member Avatar for hajjo

I have this window.top.onscroll = function(){moveScroll(); } It works perfect in ie, but in firefox I get permission denied to get property onscroll. why? and whats the solution? on top of my page i have done this though var url = document.URL; url = url.substring(7,url.length); url = url.substring(0,url.indexOf(":")); if(isMoz) document.domain …

Member Avatar for stbuchok
0
150
Member Avatar for hajjo

[CODE]<html> <head> <style type="text/css"> [B].maintable { position:fixed; top:20px; }[/B] body { height: 1000px; } </style> </head> <body> <h1>This is a heading</h1> <table class="maintable"> <tr> <td>00001</td> <td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td><td>00001</td> </tr> </table> <table> <tr> <td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td> </tr> </table> </body> </html> [/CODE] If I do that this is heading , and maintable overlap in firefox.but in …

Member Avatar for ko ko
0
131
Member Avatar for hajjo

Hi, I have a page with data like this. ----------------------------------------------------1st paragraph ---------table ------2nd paragraph I want on page scroll, the table headers to remain fixed until table data is over and it reached second paragraph. Any way to do this? I dont want to do another scroll in table body. …

Member Avatar for hajjo
0
217
Member Avatar for hajjo

[CODE]function moveScroll(){ try { var $j = jQuery.noConflict(); var scroll = $j("#applicationBody").scrollTop(); var anchor_top = $j("#searchResults").offset().top; var anchor_bottom = $j("#bottom_anchor").offset().top; alert(anchor_bottom); if (scroll>anchor_top && scroll<anchor_bottom) { clone_table = $j("#clone"); if(clone_table.length == 0){ clone_table = $j("#searchResults").clone(); clone_table.attr('id', 'clone'); clone_table.css({position:'fixed', 'pointer-events': 'none', top:0}); clone_table.width($j("#searchResults").width()); $j("#searchResultsList").append(clone_table); $j("#clone").css({visibility:'hidden'}); $j("#clone thead").css({visibility:'visible'}); } } else { …

0
66
Member Avatar for hajjo

[CODE]Imports System Imports System.Drawing Imports System.Windows.Forms Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub End Class[/CODE] Hello, I have a textbox and I have a button. Okey, when the button is clicked I want my mouse to go and click a …

Member Avatar for josephbeluan
0
951
Member Avatar for hajjo

[CODE]public void buildTree(List<Fool> treeArr,Fool tr) { if(tr.getChild().size() == 0) { for (Fool cur : treeArr ) { if (cur.getParentId().intValue() == tr.getRight().getRightId()) { tr.getChild().add(cur); cur.setParent(tr); buildTree(treeArr, cur); } } } }[/CODE] there is around 10000 data, and the code is very slow. Its taking 8.5 second, I need to speed it …

0
57
Member Avatar for hajjo

Just a begginner question Object x = new Object(); System.out.println(x); everytime i get sthg. 16:18:35,222 INFO [STDOUT] --java.lang.Object@adfaec 16:19:26,937 INFO [STDOUT] --java.lang.Object@181db77 16:21:34,538 INFO [STDOUT] --java.lang.Object@14e5e21 what is the thing being printed? the object memory place? please help a beginner

Member Avatar for jon.kiparsky
0
85
Member Avatar for hajjo

[CODE]function showModalSummary(path, ownerWin, pos, passObj, onClose, title, setFocusEnabled) { path = rootPath + path; if(!title) title = ""; // var doc, dl, features=''; if(!pos) pos=new Object(); if(!pos.width) pos.width=300; if(!pos.height) pos.height=200; if(!pos.left && pos.left!=0) pos.left=(screen.availWidth-pos.width)/2; if(!pos.top && pos.top!=0) pos.top=(screen.availHeight-pos.height)/2; if(isMoz) { pos.height-=27; pos.width-=6; features = features.replace(/:/g, "=").replace(/;/g, ","); } features = …

0
64
Member Avatar for hajjo

I am copying from microsoft word a simple word into my application(rich text editor).. i get special characters added to it. how can i get rid of them? how can i solve the issue? thank you

Member Avatar for hajjo
0
65
Member Avatar for hajjo

paths = [ "nodeA1", "nodeA1/nodeB1/nodeC1", "nodeA1/nodeB1/nodeC1/nodeD1/nodeE1", "nodeA1/nodeB1/nodeC2", "nodeA1/nodeB2/nodeC2", "nodeA3/nodeB2/nodeC3" ] you have list of strings there. how can i create a tree by system.out.println from all those paths. nodea1 ----nodeb1 -----------nodec1 -------------------noded1 ------------------------------nodee1 -----------nodec2 -----nodeb2 -----------nodec2 nodea3 -------nodeb2 ------------nodec3

Member Avatar for moutanna
0
147
Member Avatar for hajjo

I want to resize a page dynamically so that it removes the scrolls i want to resize both heights and widths.. I want to bring the size of heights and widths of the scrollls..and resize based on it making overflow:hidden wont solve it.. because it will remove scrolls but wont …

Member Avatar for hajjo
0
63
Member Avatar for hajjo

I have table in html and each line has checkbox... what I want to do.. I click on checkbox +shift button together in line 1... then click it on line 5.. it selects all booleancheckboxes from line 1 to line 5... but if i click on the checkbox of line …

0
45
Member Avatar for hajjo

<iframe id="theIFrame" onLoad="resize()" style="width:100%; height:100%;" frameborder="0"></iframe> I have this.. the src is file go.jsp in go.jsp changes occur.. how can I resize go.jsp the iframe so that there wont be scrolling dont give me solution use scorlling="no".. simply..data will be hidden below..I want to resize the page...

Member Avatar for hajjo
0
101
Member Avatar for hajjo

Hello, when the page is being opened I want loading.gif image to appear. Then when loading is over and page is opened I want that image removed from the page ( loading image) anyone got sample code?

0
54
Member Avatar for hajjo

I have in javascript a text say I am an idiot I want to do it. "I am...." and on mouseover it shows up I am an idiot. How can I do it?

Member Avatar for me655321
0
94
Member Avatar for hajjo

[url]http://www.mattkruse.com/javascript/mktree/[/url] I have tree like that style. I want on node click, to show word loading below the node clicked until new nodes are opened..anyone know how to do this?

Member Avatar for me655321
0
104
Member Avatar for hajjo

I have this var x = window.event.clientX; var y = window.event.clientY; i get the x and y coordinates on button click i do this x = x+10; y = y +10; how can I now on this position X AND Y, pop up an imageon that position??

Member Avatar for hajjo
0
42
Member Avatar for hajjo

I have a tree am working it dynamically on server side. i want on click an image like loading to appear. anyone knows how to workout this with div and span??? any little example?

Member Avatar for network18
0
62
Member Avatar for naziatarannum

as far as i know ajax is a football club, dont know what it has to do with html

Member Avatar for Sirabbub
0
103
Member Avatar for naziatarannum

You have to use instead of session, application. IN JSP, using beans. You can specify the bean/object to be application then a session. This used as well to keep counter how many times ur site been visited

Member Avatar for naziatarannum
0
81
Member Avatar for hajjo

[CODE] for(Iterator it2 = tries.iterator();it2.hasNext();) { tobedeleted2 = (FpiRightTree) it2.next(); tobedeleted2.setIndex(f); f = f+1; }[/CODE] I want to that in thread function.can someone give me help in creating thread? Tries is global. so in all threads it will be shared. i want to call thread. to do a for loop …

Member Avatar for zortec
0
100
Member Avatar for hajjo

[CODE]<div id="menu" class="menu"> <a href="/" title="Nornix TreeMenu">start</a> <ul> <li> <a href="/info" title="Information">info</a> <ul> <li> <a href="/info/features">features</a> </li> <li> <a href="/info/layers">layers</a> </li> <li> <a href="/info/compatibility">compatibility</a> </li> <li> <a href="/info/usage">usage</a> <ul> <li> <a title="HTML structure">HTML</a> </li> <li> <a href="/info/usage/css" title="CSS classes">CSS</a> </li> <li> <a href="/info/usage/js" title="JS behavior">JS</a> </li> </ul> </li> </ul> </li> …

Member Avatar for Atli
0
93
Member Avatar for hajjo

anyone knows how? if its empty or null? events.get(x).getOccurredDate() == null thats not working. neither events.get(x).getOccurredDate().equals("")

Member Avatar for masijade
0
95
Member Avatar for hajjo

say in textbox its written you, and i erase it and write bingo. how can i retrieve back the old value you? simple solution i dont want to use, i want different way. i do inputhidden where i store the old value always

Member Avatar for Cronless
0
62
Member Avatar for hajjo

Hello all I am using the request scope. I have parent window, which opens a child window on button click. Am using window.open That child window opened is request scope. Problem is, on that child window there is a button.. say I write "greg" in the textbox and click the …

Member Avatar for peter_budo
0
88
Member Avatar for hajjo

I have a table, and insde the table dynamic inputtextboxes how can i set the id of textbox "row" + row number id of first textboxt row0, second one row1 and so on..

Member Avatar for Luckychap
0
91
Member Avatar for hajjo

imagine i have inputtext i have list of values ..which are merchandise, auotmobile, car if user types c in textbox i want car to show up ..how can i do that? like when u type hotmail message..and u write k..and emails starting with k in ur list comes up.. sthg …

Member Avatar for Thirusha
0
62
Member Avatar for hajjo
Member Avatar for Troy III
0
62
Member Avatar for hajjo
Member Avatar for ShawnCplus
0
52
Member Avatar for hajjo

on firefox its working. on ie it gives me error on page.. how to solve it?

Member Avatar for Troy III
0
52
Member Avatar for hajjo

I have, <input type=text> inside a table.. The table is static... how can i in a javscript function, retrieve number of rows.. which will also be number of textboxes..

Member Avatar for Traevel
-1
76
Member Avatar for hajjo
Member Avatar for kvprajapati
0
59
Member Avatar for hajjo

consider i have this bean [CODE] private string name = "fadi"; public String getname() { return (name); } public String setName(String name1) { name = name1; return (name); } [/CODE] Now I have jsp file.. [CODE] <% beanid.setname("lol"); beanid.getname(); %>[/CODE] Now with this code name was fadi, i changed it …

Member Avatar for kvprajapati
0
141
Member Avatar for hajjo

[CODE] < form name=form1> <% int x = 0; while ( x < 10) { %> <label name="<%=x%>"> <input type=textbox name=inaki> <br> <% x = x + 1; } %> <input type=button value=go onclick="doit(this)"> </form> <script> function doit(sthg) { var x = 0; while( x < 100) { alert(document.form1.inaki[x].value); x …

Member Avatar for javaAddict
0
79
Member Avatar for hajjo
Member Avatar for TryingToDo

i dont know mysql.. but with toad. you have to open toad for oracle. then click on tnsnames editor. then click on orcl. there is something called host= something, port="number" and servicename=something "jdbc:mysql://something:number/something"; you have to replace those. plus also the user pass you have to put the username and …

Member Avatar for stephen84s
0
139
Member Avatar for hajjo

how can i write a code which counts to me number of visits a user had to site, and total number of visits to that site from all users.

Member Avatar for hajjo
0
79
Member Avatar for hajjo

hello i am trying the following code [CODE]<%@ page import="java.util.*" %> <HTML> <BODY> <%! Date theDate = new Date(); Date getDate() { System.out.println( "In getDate() method" ); return theDate; } %> Hello! The time is now <%= getDate() %> </BODY> </HTML>[/CODE] its so simple, taken from a tutorial. the question …

Member Avatar for peter_budo
0
112
Member Avatar for hajjo

[CODE]<html> <head> <script type="text/javascript"> function formValidator(theForm) { if (theForm.location.value == "") { alert("Please choose a location"); theForm.location.focus(); return (false); } if ( ( theForm.browser[0].checked == false ) && ( theForm.browser[1].checked == false ) && ( theForm.browser[2].checked == false ) && ( theForm.browser[3].checked == false )) { alert("please choose a subscription …

0
58
Member Avatar for hajjo

[CODE]<%@ page import="java.util.*" %> <%@ page import="java.sql.*" %> <%@ page import="java.text.*" %> <% Statement stmt =null; Connection conn =null; ResultSet rs = null; try { String url = "jdbc:oracle:thin:@ahmad:1521:PLSExtProc"; String user = "training"; String password = "training"; Class.forName("oracle.jdbc.driver.OracleDriver"); System.out.println("--------------"); //Get a connection to the database conn = DriverManager.getConnection(url, user, password); …

Member Avatar for hajjo
0
94
Member Avatar for hajjo

[url]http://www.jsptut.com/Forms.jsp[/url] I am not able to get that example working. how do i create userdata.class??? how do i get it compiled?? I am workign tomcat. I am using the browser to check up my results. And where do i store userdata.class Also aniother question, whats a bean? plus, why if …

0
51
Member Avatar for hajjo

hello, what is java spring? i read its a framework. but what compiler do i use to work with it? and from where i can download java spring? i tried this page [url]http://www.roseindia.net/spring/springdownload.shtml[/url] but their explanation, i dont find the things they put.

Member Avatar for BestJewSinceJC
0
117
Member Avatar for hajjo

[url]http://www.sendspace.com/file/g0v6po[/url] thats my little code. When I execute it it gives me error..which it shouldnt. the ls is called, its result is stored in fd[1], and the second child less reads the answer from fd[0] ... its not working..anything wrong with close methods sthg..plz help

Member Avatar for Fest3er
0
116
Member Avatar for hajjo

[url]http://www.sendspace.com/file/g0v6po[/url] thats my little code. When I execute it it gives me error..which it shouldnt. the ls is called, its result is stored in fd[1], and the second child (less) reads the answer from fd[0] ... its not working..anything wrong with close methods sthg..plz help

Member Avatar for Narue
0
105
Member Avatar for hajjo

I am doing fork(), I need to send messages between parent & child.. am using this.. char readbuffer[80]; int fd[2], nbytes; if(child == 0) { close(fd[0]); nbytes = read(fd[0], readbuffer, sizeof(readbuffer); index = atoi(readbuffer); } else{ close(fd[1]); sprintf(sending, "%i", index); write(fd[1], sending, strlen(sending)+1); } Index is an integer am sending …

Member Avatar for bionicseraph
0
198
Member Avatar for hajjo

I have this code [CODE]#include <stdio.h> int addthree(int x); int main() { int num; int d = 0; printf("enter ur num"); scanf("%d", &num); d = addthree(num); return 0; } int addthree(int x) { int s = 0; s = x +3; return s; } [/CODE] Okey I want this code …

Member Avatar for Narue
0
107

The End.