3,760 Topics

Member Avatar for
Member Avatar for shrekattack

Hi, Can anybody tell me why in the following peace of code the link does not get hidden when "locationid" is empty? thanks, torsten <%if IsNull(cursor("locationid")) = false then %><A href="javascript:MM_openBrWindow('http://www.mapminder.co.uk/getmap/default.asp?page=viewlocation&locationid=<% =cursor("locationid") %>&source=82YWNH0INZZDY-zIkhkce2L£wY!Pbgx6&zoom=<% =cursor("mapbytezoom") %>','','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,width=585,height=585,screenX=0,screenY=0,top=0,left=0');" onMouseOver="window.status = 'Link To Location Map'; return true;" onMouseOut="window.status = ''; return true;"><IMG SRC="../images/pubs/gpg_getmap_button.gif" WIDTH=58 …

Member Avatar for jwenting
0
220
Member Avatar for shyamNambiar

hi Can any one tel me how to display seconds in jsp page..here i want to show the user 1 to 10 seconds its quiz program can any one throw some light on this issue :?:

0
75
Member Avatar for tllcll

Hi, I would like to open a hidden popup window to pass value when user enter the value on the textbox. The popup window will perform operation that call the javabean to retrieve values to be displayed on the form that open the window. how to pass values from popup …

Member Avatar for tllcll
0
124
Member Avatar for tllcll

Hi, I would like to know how to assign and display the value to a column name 'item_name' in first.jsp I have 2 jsp pages - first.jsp , second.jsp. The first.jsp will call the second.jsp and pass in the value. In the second.jsp, I will call the method in the …

0
72
Member Avatar for phani8123

1) i have written and compiled the EJB server programs in package - statedemo but on generating the deployement descriptors using weblogic builder iam getting an error saying : no j2ee component installed.plz tell me what it means and what to do to run the program 2) with the xml …

0
69
Member Avatar for suhabassam

Hi all, I am trying to check String field if it is null or not to excute some commands. But it is not working ... any help pls ?? String foryear = request.getParameter("foryear"); String decreeno = request.getParameter("decreeno"); I've tried to use : if (decreeno.length() > 1) sqlstr = sqlstr + …

Member Avatar for jwenting
0
108
Member Avatar for hsharma65

i made the following jsp file <%@ page import="mybeans.NameBean" %> <jsp:useBean id="pageBean" class="mybeans.NameBean" scope="page" /> <jsp:setProperty name="pageBean" property="*" /> <jsp:useBean id="sessionBean" class="mybeans.NameBean" scope="session" /> <jsp:setProperty name="sessionBean" property="*" /> <HTML> <HEAD> <TITLE> The UseBean JSP </TITLE> </HEAD> <BODY BGCOLOR=red> <H3> Welcome to the UseBean JSP </H3> <P><B>Page bean: </B> <% if …

0
83
Member Avatar for LA-Vida

Hi all, I'm kinda new to all this stuff so maybe I'm totally starting off on the wrong foot here... Here is my problem.. I have an acces database residing on the webserver from where I get some information onto my webpages, these pages are asp. The database connection and …

Member Avatar for LA-Vida
0
268
Member Avatar for bsmith

I'm trying to set a 301 redirect in my jsp code (this is tomcat btw) using this: <% response.setContentType("text/html"); response.setDateHeader("Expires", 0); response.setHeader("Location", "http://www.mysite.com/record/[B]pleasehelpme[/B] /[B]helpmeheretoo[/B]"); response.setStatus(301); %> the [B]pleasehelpme[/B] and [B]helpmeheretoo[/B] need to use variable values i get from mysql which i would normally express in the application like <%=(((Recordset1_data = …

Member Avatar for hooknc
0
199
Member Avatar for muktidaniweb
Member Avatar for forashish

I am trying to built an application using JSP and MYSQL. The problem is as follows. "signup" table - Schema as CompanyID: Username: Password int varchar :Varchar 1 :A: :xxx 1 :B: :xxxx 2 :c: :xxxx 3 :d: :xxxx "Participants" Table - schema as Companyid :Empname : EmpLastName int : …

0
68
Member Avatar for Wolf_22

[CODE] <html> <head> <title></title> <script> if(navigator.userAgent.indexOf("Firefox") != -1) { window.location = "secondLayer/indexFF.htm"; } else if(navigator.userAgent.indexOf("MSIE") != -1) { window.location = "secondLayer/indexIE.htm"; } else if(navigator.userAgent.indexOf("Netscape") != -1) { window.location = "secondLayer/indexNS.htm"; } else { window.location = "secondLayer/indexX.htm"; } </script> </head> <body> <p>Please wait while the browser redirects you...</p> </body> </html> [/CODE] …

0
65
Member Avatar for tllcll

Hi, I would like to check with you how JSP codes residing in js function works. How can I get the 2nd select stmt executed based on the values retrieve from 1st select statement and the conditions pass in to this js function How can I get the select statement …

Member Avatar for tllcll
0
164
Member Avatar for spidey

hi, im just a newbie web developer. in the page im working on with, there's a textarea and a remove button. :-| the textarea displays the records selected from checkboxes. my problem is this... :sad: i have a remove button and i want it to function this way. wen clicked, …

Member Avatar for hooknc
0
123
Member Avatar for muktidaniweb
Member Avatar for faridah

please assist me in doing this assighnment. To design and implement an applet that graphically displays the processing of a selection sort. use bars of various height to represent the value being sorted. Display the set of bars after each swap. put a delay ib the processing of the sort …

Member Avatar for hooknc
0
127
Member Avatar for wchitamb

Can anyone help me in this matter i am looking for a code to connect my MS SQL so i need the APPROPRIATE SQL SERVER DATABASE CONNECTOR . i have a download which only works with MySQL ,and i do need help with the MS SQL one Thank you in …

Member Avatar for hooknc
0
169
Member Avatar for prasanna_godugu

Hi Is ther any open source code for Spell check in java script or java so we can integrate with html or jsp pages for spell check of TextArea on the form Thanks & Regards Prasanna

Member Avatar for hooknc
0
86
Member Avatar for dmissai

hey i am try to design webserver by using java /C++ programming or any programming language so if any one interesting to assist me i am attaching source hear .you can use plugs in to access source code by using any programming language

Member Avatar for server_crash
0
111
Member Avatar for ripdeath987

First of all thanks everyone for the replies...They helped a lot. Now I want to mail multiple files as attachments also on 1 button touch...And how do i create a Directory to store files that I save . So far i have written this code but maybe you can upgrade …

0
96
Member Avatar for grajeshmsc

Hi All I want to validate the format of file path using struts.That is if the user gives c/:Test.txt instead of c:\Test.txt.PLz Help. Thank you

Member Avatar for mmiikkee12
0
154
Member Avatar for samrat_cs

Hi all, I have designed a Form in PDF using Adobe Designer 7.0. That will be linked within every user account in intranet, which is developed using JSP and running by Tomcat 4.0.1. There are some fields in PDF form like "User ID","User Name". After login to the account,user can …

0
60
Member Avatar for samrat_cs

I am encountered with the Problem in using getAttribute() in JSP. In JSP, getAttribute( ) does not show value properly from Java Beans but after refrash it shows.There is no error in coding Java beans and JSP as well. I am using Tomcat 4.0.1. Is it problem of web server …

0
95
Member Avatar for mmiikkee12

I just got a JSP hosting account and I'm wondering how I can connect to the PostgreSQL DB and execute queries. According to the host's FAQ, the database URL is: jdbc:postgresql://localhost/username,username,password .

Member Avatar for mmiikkee12
0
134
Member Avatar for yulka2

Hi, My jsp form has a table that has 7 columns, one of them is a "Comments" textarea field. Is it possible to display Comments field beneath/under first 6 columns, that it will look like a separate row and display it ONLY when radio button on the row has been …

0
75
Member Avatar for elimera

I wrote a JSP page that connects to a Oracle database. I did a SELECT statement to find out procedures and I printed the procedure into a form. In this form I can modify the procedure and save it. Then I created a sql statement to modify the procedure and …

0
65
Member Avatar for kokliong

hi all, i want to create an on screen keyboard that running on linux. can anyone give me some idea or sample application on that. thanx.

Member Avatar for techy
0
92
Member Avatar for nishanth

allright here is my question!!! if i have a login page with user name and password and i have a situation where in two users are logging in with the same id with a little time gap though (assuming that the other user is still logged in) how will u …

Member Avatar for techy
0
112
Member Avatar for Kuldeept

Hi All, I am working in jsp,and there is an image on my webpage.The image is created dynamically based on the data on the webpage.The scenario is like this. 1.I make some changes in my web page data and press recalculate buuton on the page. 2.this resubmits the page and …

Member Avatar for techy
0
116
Member Avatar for server_crash

I've created an html form that allows the user to login, or register. Here is what I've thought about(just for the registration page, not login): HTML FORM --> servlet ---> servlet calls java class that verifys the data, and shoves it into the database... ----> Makes a few tests --- …

Member Avatar for server_crash
0
108

The End.