3,747 Topics

Member Avatar for
Member Avatar for Vipin2608

hi I am new to jsp . I want to know how should I can attach a folder/file in my jsp page

Member Avatar for jwenting
0
77
Member Avatar for tllcll

Hi, I would like to find out how to call javabean from jsp page with passing values upon onChange event. Pls provide example if possible

Member Avatar for jwenting
0
193
Member Avatar for aarya

i am very new to java.i was coding on asp and php i wnat to learn jsp but i m getting confusion. i can see jsp,jee,jbos,javabeans ext. any one pls help me what i ahve to learn how i have to start? thanks :-|

Member Avatar for jwenting
0
69
Member Avatar for hemanth.balaji

I have a href in my JSP.... say page1.jsp --------------- <a href="<%=response.encodeURL(FRONT + "/RemoveReport?reportTemplateName=Test123#&'")%>"> In my second JSP ------------------ I have String reportTemplateName1 = request.getParameter("reportTemplateName"); Now what is getting stored in reportTemplateName1 when i an printing is Test123. I am also trying to pass Test123#&amp;' and then also its not …

0
81
Member Avatar for sam1

hi im new to jsp iam using netbeans. I have a image in C: called w.gif. in index.jsp i have <img src="C:/w.gif" alt="W"> but it doesnt show the picture. any help? thanx

Member Avatar for sam1
0
105
Member Avatar for DiTony

Please help I keep getting this error message after compiling the following SimpleList.java C:\jakarta-tomcat-5.0.28\webapps\Ch04\WEB-INF\classes\Ch04>javac SimpleList.java SimpleList.java:21: cannot resolve symbol symbol : class Questions location: class Ch04.SimpleList Questions questions = new Questions(); ^ SimpleList.java:21: cannot resolve symbol symbol : class Questions location: class Ch04.SimpleList Questions questions = new Questions(); ^ 2 …

Member Avatar for DiTony
0
161
Member Avatar for sam1

hi does any1 knw how to put the path for servlets in netbeans. it is located in src/java/controll/servlet i have this in my code action = "servlet/controll.servlet" but it says directory not found thanx

Member Avatar for sam1
0
97
Member Avatar for grajeshmsc

Hi all I'm using Business Objects Crystal Reports.I want to add my Custom print image and javascript.I can remove the default toolbar.But I cant able to add the custom javascript to the image i inserted in the crystal report.Please Help.

Member Avatar for grajeshmsc
0
82
Member Avatar for ylithian

Hi all, I'm a newbie of JSP programming... I've a great problem (but for you surely is a little thing)... I get an error on the last version of Tomcat with my webapp (weird but with the older 5.4 it runs perfectly...) this line in my index.jsp is the source …

Member Avatar for jwenting
0
268
Member Avatar for Brims

Hiya all ive decided to do my final year project designing an online music video library that will allow multiple access by many users to the same files that will be highly available, with facilities to access the video library by pc, pda and mobile phones. i want to concentrate …

0
62
Member Avatar for Brims

Hiya this is Brims i need an idea for a final year project computer science, nothing too hard time is running out. I want to use either php or asp with database cant seem to think of any applications can someone help please. I was thinking of doing an online …

0
86
Member Avatar for opfamily55

I can't figure out what I am doing wrong. I am learning JavaScript and am lost. Can someone please offer guidance. :confused: <html><!--Kimberly R. Owens--> <head> <title>Jennifer's Floral Garden</title> <SCRIPT LANGUAGE="JAVASCRIPT"> <!--Hide from old browsers function roller() { var banner = new Array("images/florist.jpg", "images/florist2.jpg", "images/florist3.jpg"); var banctr = '0' if …

Member Avatar for opfamily55
0
119
Member Avatar for phani8123

i want to know how we can connect from jsp in web-inf folder to a servlet inside the classes folder . what is the diffference if we connect to database by a -servlet and a ejb?which is the best .when are they best.why is jsp used to refer to a …

Member Avatar for jwenting
0
79
Member Avatar for phani8123

:cool: hi,iam working with sqlserver and i want to connect to jsp file i know the code but inorder to connect we also need some jar files how to set the path in tomcat? :?:

Member Avatar for shyamNambiar
0
108
Member Avatar for zaman1111

Hi, can anyone suggest any clue on this. I am trying to display info on a JSP page. The problem is if the DB date is null then I get the error message below. java.util.Date loginTime=new java.util.Date(login_time); the login_time is a Oracle DB date. Now I want to somehow skip …

Member Avatar for zaman1111
0
96
Member Avatar for shyamNambiar

hi how can i search a string inside a doc file ...for example ..say i have three doc files and two amoung them contains a word [B]'java'[/B] . i want to bring up the results with the file name which contains that...i think its clear .. ;) can anyone give …

0
131
Member Avatar for sweetyp

I have 2 text field in a form. 1st field for input date. I want to use onclick event handler for 2nd text field. When user click 2nd text field then show up the value of 10 days before the input date in 1st field. how do i do that? …

Member Avatar for shyamNambiar
0
211
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
219
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
105
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
266
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
163

The End.