4,248 Topics

Member Avatar for
Member Avatar for push

how to work servlet, jsp programs at eclipse 3.0.? Please give any online tutorial site for larning eclipse, and seting up envirnomets for eclipse. Please help me for this.

Member Avatar for suvitha_raj
0
73
Member Avatar for akash_msrit

hi everyone how to display mysql query results in a html or jsp page. using java script or any other if u have working code or sample code please send me please help me . its very urgent regards Manjunath

Member Avatar for ~s.o.s~
0
112
Member Avatar for jadeite100

Hi All: I needed to passed an integer value from the following code: <%=ic.getTotalNumOfRecords()%> to an attribute of a custom tag <inquiry:tableClaimHistory numberOfRecords="5" dataAction="claimHistoryViewData.do" emptyKey="error.noData"/> The function getTotalNumOfRecords returns an int. The attribute numberOfRecords expects an string. Here are the different ways I tried in a jsp page but I …

Member Avatar for jwenting
0
112
Member Avatar for Acidburn

Hello guys, I've got my JSP set up so when I click on a href link it redirects it to a form, the form then takes in user information and has a html:submit and a html:cancel buttons. Actions are associated with these... Anyway my question is that when a user …

Member Avatar for peter_budo
0
84
Member Avatar for uninvitedm

Hiya.. I have a jsp page to upload some files.. The session is used to store a Map ( session.setAttribute("filemap", filemap ) ). This map contains all the files to be uploaded. I have a file-input type, onChange the file here is added to the map. The map is stored …

Member Avatar for jwenting
0
87
Member Avatar for aruna_k_2006

hello everyone I am using jstl tags such as c:forEach to retrieve values from Bean through servlet ...........For some page if i put this statement (xmlns="[URL]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL]http://java.sun.com/xml/ns/j2ee[/URL] [URL]http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd[/URL]" version="2.4") in web.xml ,i get the correct ouput & for other jsp its showing ${} values as it is like ${bean.name}.......... …

Member Avatar for jwenting
0
84
Member Avatar for saurav

Hi All, I am getting the below error when i am trying to run my app. I am sun one app server.I have deployed my classes and jsp using the deply tool. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for …

Member Avatar for saurav
0
250
Member Avatar for akash_msrit

Hi friends, how to include an applet into jsp page, here i am using IBM websphere to design my GUI. here i am getting an class not found error. please tell me the procedure to include an applet into an jsp page. and where should i place the java class …

0
56
Member Avatar for Acidburn

Hello there, I've got some information which is stored in a class object, these objcts are transfered to an action in the format of a set. I'm trying to put the set into a bean into my JSP, however im not having much luck. The error is as follows: [quote]org.apache.jasper.JasperException: …

0
80
Member Avatar for dirty273

I have been having alot of trouble with my computer lately. It runs so slow. I have run adaware and spybot and it had some problems but it stills has not fixed the problem. I dont have alot of info on it so should I reformat it? Here is my …

Member Avatar for murcom
0
117
Member Avatar for sonu1

[COLOR=red]Hi frins[/COLOR]...i have done file uploading on client side but can any one just help me out with [COLOR=red]uploading file on server side[/COLOR]......[COLOR=red]Please [/COLOR]my deadline for project submission is approaching....I dont want it done using applet.

Member Avatar for jwenting
0
288
Member Avatar for JSP_javascript

In a JSP file I have this: <script language="JavaScript" src="cookies.js"> </script> <Form …….> <INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');"> </form> How can I add the javascrit function Save_field( this) tot the element <Input ……..> or <Form …..> aanroepen. Must I use this: save_field(this); …

Member Avatar for ~s.o.s~
0
76
Member Avatar for akash_msrit

hi this akash i have created a frame, in that frame i am inputing some text fields like txt1,txt2....., now i want to accept these inputs into mysql query. please suggest me how i can do this. this is the query select * from cartable where owner = 'akash' and …

Member Avatar for jwenting
0
58
Member Avatar for akash_msrit

hi this is Akash , i need help in adding java code to jsp. i have a class called JTree , which displays a tree structure menu. now i want to include this code in jsp. i am using websphere to design my GUI. i trying this but i am …

Member Avatar for peter_budo
0
91
Member Avatar for mahajanrahuld

hi i need to connect the jsp page with database using hibernate framwork how to possible ? can any one have the example or source code for this it's urgent my configration is following hibernate+jsp+netbean5.0+tomacat server+postgreSQL database [COLOR=red][B][U]HELP ME URGENT PLZ[/U][/B][/COLOR]

Member Avatar for jwenting
0
65
Member Avatar for qaizaar

I have to make a simple JSP page that takes 2 inputs as file names and then when you hit submit these files a passed to another method that takes 2 file inputs. i just wante to know how to do this in the second page. the first page is …

Member Avatar for ~s.o.s~
0
106
Member Avatar for student_help

Can someone please advise me. I have a program which is who interface is JSP. It is running Java in the background. I have a timeout session which works. The problem starts when you log back in. Some of the files are set up with authorized access when created, howver …

Member Avatar for ~s.o.s~
0
66
Member Avatar for megha777

hi,sir pls help me to send email using jsp, i see many code thorugh net but its nt working, so pls tell me what r u the requirement files means jar files or wat to add to send emails ,pls give me any code that can very helpful to me, …

Member Avatar for peter_budo
0
84
Member Avatar for muthumari

Hi , i have some elements in one form(sample.jsp).I want to insert that fields into database.But i know abt, the insertion of form values in to the database using next page(next page contains database connection) .But i don't know how do write the database connection within the same page(sample.jsp). Anyone …

Member Avatar for peter_budo
0
170
Member Avatar for suigion

Hi All, I want to develope database-driven application using JSP and JRun as the server. THe thing I want to know is how do I connect to the MSSQL Server 2000 database using JSP? What type of JDBC? And how to install the JDBC driver? Thanks in advance... :)

Member Avatar for alimirmd
0
164
Member Avatar for siva gouru

currently iam doing the project in java with jsp,javascrpit and html ,oracle backend the problem is we cal as combo box (or) drop down list all these are 5 lists .in that if u select any one item in the first drop down list some other names are there those …

Member Avatar for bosko
0
85
Member Avatar for apontutul

hi friends.....I created a folder under webapps put 2 files 1html & 1jsp. though the html one is running the jsp one isn't. the error message: [B]HTTP Status 404 - /helloJSP/hello.jsp type Status report message /helloJSP/hello.jsp description The requested resource (/helloJSP/hello.jsp) is not available. I've set the JAVA_HOME (environment variable>user …

Member Avatar for ~s.o.s~
0
217
Member Avatar for uninvitedm

Hiya.. i posted before but heres the prob in more detail.. I'm making a JSP page where (ideally) you select files to upload, each selected file is added to a listbox. The form is submit, (along with some other parameters), and the files are uploaded. They arent uploaded (written) tradionally …

Member Avatar for peter_budo
0
75
Member Avatar for kahilw

The function below is sending audio that has been converted into bytes and then placed into a byte array, after which it is placed in the DataoutputStream and sent to a servlet. My question is How do I make a servlet that will receive this data and then turn it …

0
143
Member Avatar for alimirmd

Hi, My program is something like this: [code] java.util.Vector v1991=new java.util.Vector(30); int f1=1; int f2=10; v1991=mb1.Sel(f1,f2); [/code] // Here,mb1 is the bean and sel is the function where I select the // records between employee number f1 and f2 [code] if(request.getParameter("submitxyz")!=null) { f1=f1+10; f2=f2+10; v1991=mb1.Sel(f1,f2); } [/code] // submit xyz …

Member Avatar for jwenting
0
123
Member Avatar for uninvitedm

I've been using Tomcat/local machine to produce some jsp pages for uploading files. Files are selected and added to a listbox on a form, once the form is submitted - the filenames in the list are uploaded. Firstly there is a check to see if they exist. Something to the …

Member Avatar for jwenting
0
80
Member Avatar for alimirmd

Hi, I think I have already posted this,but may be in some other forum. I need to post this in JSP forum. Here,all I need is a replacement of goto statement.I want to check for a condition,and if that condition is true,I want the compilet to goto if() statement and …

Member Avatar for ~s.o.s~
0
254
Member Avatar for hegRT

Hi there, I have a class that returns a value based on a calculation with in the class 2 of the variables are called from a database, which is working however when I try to output the result on a jsp page ie. calling the property 'rating' I am told …

Member Avatar for alimirmd
0
140
Member Avatar for uninvitedm

Hi. I have a JSP page and I'm having trouble with some parameters... The page has a form containing a listbox, something like... [code]<select name="listnames" MULTIPLE>[/code] Files are browsed for with a <input type=file> object, when this is changed (onChange) the value is added to the listbox. When the form …

Member Avatar for uninvitedm
0
151
Member Avatar for ashitha

hi....i am write a programme for uploading a fie using multipart/form data in jsp.it's working..but the problem is i want to write the textbox values into that file.if i am changing the multipart/form data as text/plain...then the textbox value is taken...but the uplading is not working..what to do...

Member Avatar for jwenting
0
101
Member Avatar for Thendral

Hai.. I need to display one image per day from an array depending upon the day in jsp/servlet. Intially i am having 5 images in an array. Then i want to display sunday --- 1st image monday--- 2nd image tuesday -- 3rd image wednesday--4th image thursday -- 5th image friday …

Member Avatar for ~s.o.s~
0
101
Member Avatar for suigion

Hi, I am new to JSP and I am using JRun as my server. But, there is a few things I am not understand about JCS. [LIST=1] [*]When we want to create a JCS file, do we need to install any driver or software? [*]How do I call the JCS …

0
49
Member Avatar for ashitha

hello... i am write a programme for copy file and stores into each another file.like this way i want to copy multiple files.but the error null pointer is coming.. why the value is not displayed?I can't understand null pointer exception.. the code <%@ page language="java"%> <%@ page import="java.io.*"%> <%@ page …

Member Avatar for jwenting
0
313
Member Avatar for sujitdebnath

Hi, My self Sujit.I m working in Delhi NIC as a Software trainee.I m a newer in jsp and now i am working in a prject.In my project i have used ireport1.3.0.I already built the report with oracle jdbc driver and it is working.But i don't know how to use …

Member Avatar for jwenting
0
61
Member Avatar for ashitha

i am trying for copied the file from a local system to another file.but it displays the null pointer exception.y the null pointer exception is coming.

Member Avatar for rgtaylor
0
346
Member Avatar for senthil_yoga

dear friends, i am able to get a bunch of datas from select box , but while inserting into database , only one data had been getting inserted, how to insert all the datas... i will show the code, please give ur valuable suggestions <% String s1=(String)session.getAttribute("eid"); String s3[]=request.getParameterValues("language"); int …

Member Avatar for ~s.o.s~
0
108
Member Avatar for iam_rob

Hi all, I'm currently building a login page for a JSP application, I've realised that im going to need to use sessions to recall the username on the login screen for other functionality. Unfortunately i'm very new to the whole web development approach and i've tried searching for guides on …

Member Avatar for iam_rob
0
229
Member Avatar for assoora

[COLOR=#000000]Hi all,[/COLOR] [COLOR=#000000] <br>[/COLOR] [COLOR=#000000]I've a JSP page that has 2 buttons one to bring data from database via a servlet & a java Bean, and the other is a next button.[/COLOR] [COLOR=#000000][COLOR=#000000] <br>[/COLOR] [/COLOR] [COLOR=#000000]i want to show the data from the database 4 rows per a page, i.e. …

Member Avatar for jwenting
0
142
Member Avatar for amherbst

I'm currently unable to access any "Windows Explorer" attached processes (My Computer, Control Panel, My Documents, etc.) Here is my HijackThis log. Any help would be greatly appreciated! Logfile of Trend Micro HijackThis v2.0.0 (BETA) Scan saved at 6:24:13 PM, on 5/7/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) Boot mode: …

Member Avatar for gerbil
0
177
Member Avatar for ttamilvanan81

Hai, I need to read the Foxpro(dbf) file, and execute that file in MSSQL through Java code. That means Migrate the Foxpro dump file into MSSQL. Also i am using the Struts Tags for create new application. But the Tag was not working. I am using the following code for …

0
86
Member Avatar for anitadoll

Hello, You guys tried to help me when I had problems with my computer, and wanted to know if you could help me with this. My sister has three kids who love to download everything. She recently has had popups, and who knows what else going on, and could not …

Member Avatar for kylethedarkn
0
94
Member Avatar for efui

Need help with creating a shopping cart in JSP :idea: . The problem is am very new to this environment(JSP) and I have undertaken a project to develop an e-commerce web-site with shopping cart linking to a MySQL database. The main goals of the shopping cart is to process orders …

Member Avatar for jwenting
0
1K
Member Avatar for hegRT

Hi there Im having a problem with my database connection...other instances of nearly the same code works but I cant understand why this isn't working My class which retrieves info from the data base is [code] /* * MuscleSchedule.java * * Created on 07 May 2007, 18:03 * * To …

Member Avatar for jwenting
0
291
Member Avatar for rajumurugan

Hi techies, I've a problem. My application runs in Tomcat. images are stored in the "images" folder which is in .war file in webapps folder. I've mentioned the image path in the jsps. It takes lot of time to load a page with smaller amt of dynamic content 'coz of …

0
59
Member Avatar for aruna_k_2006

import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to …

Member Avatar for masijade
0
86
Member Avatar for aruna_k_2006

import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to …

Member Avatar for Rayhan Muktader
0
110
Member Avatar for suigion

Hi All, I am new in JSP. I would like to know how to pass a value from a textbox into a parameter?? [U]For example:[/U] Insert value into Emp (Name) value (????); The "????" should be the text when the user enter the name in "Name" textbox. Thanks in Advance, …

Member Avatar for ~s.o.s~
0
82
Member Avatar for franhurley

Hi all Im a a newbie here and am currently haveing my first go at servlets. I am using netbeans5.5 and apache tomcat 6.0 and trying a simple helloThere servlet. Every time I try and compile it either with command line javac command or netbeans I get the above error. …

Member Avatar for peter_budo
0
122
Member Avatar for aruna_k_2006

see my query is like this (select studentname from student where studentid='+studentid+') then i display in jsp like this st_16 //studentid .nikki //student names .nani //student names now second time when i add select student id st_17 now jsp i have display like st_16 .nikki .nani //first id's name + …

Member Avatar for aruna_k_2006
0
172
Member Avatar for Fenerbahce

Hi, When i press "end" button on keyboard, i want to see "pressed on end button" message on screen. How can i do this. I am new in Java. Thanks

0
65

The End.