- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
51 Posted Topics
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 … | |
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? | |
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 … | |
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? | |
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 … ![]() | |
[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 … | |
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. … | |
[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 { … | |
[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 … | |
[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 … | |
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 | |
[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 = … | |
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 | |
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 | |
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 … | |
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 … | |
<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... | |
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? | |
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? | |
[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? | |
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?? | |
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? | |
Re: as far as i know ajax is a football club, dont know what it has to do with html | |
Re: 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 | |
[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 … | |
[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> … | |
anyone knows how? if its empty or null? events.get(x).getOccurredDate() == null thats not working. neither events.get(x).getOccurredDate().equals("") | |
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 | |
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 … | |
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.. | |
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 … | |
| |
anyone knows how to make alert box color change from normal thank u | |
on firefox its working. on ie it gives me error on page.. how to solve it? | |
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.. | |
any example to reset a bean to null using application scopre? | |
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 … | |
[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 … | |
anyone got examples on this? | |
Re: 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 … | |
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. | |
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 … | |
[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 … | |
[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); … | |
[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 … | |
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. | |
[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 | |
[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 | |
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 … | |
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 … |
The End.