4,248 Topics

Member Avatar for
Member Avatar for claudiu_is

I`m trying to write a web crawler but i `don`t know how to handle the situation when i have to login to acces a site. [B]How to type in that login form from my java program?[/B] I`ve searched on the net but the results points to JSP. I haven`t worked …

Member Avatar for dkhang
0
183
Member Avatar for suretd

Good Day, When I run my servlet in my web browser, everything runs fine ... until i press one of the option buttons, Deposit, Withdraw or Balance, then i get the following error: [COLOR="Red"] type Status report message /servlet/HTMLBank description The requested resource (/servlet/HTMLBank) is not available.[/COLOR] Here is the …

Member Avatar for ~s.o.s~
0
251
Member Avatar for chints22

hello all, I am developing a website in dreamwiever 8 first time and chose jsp dynamic page. can anyone tell me how can I add CSS to my jsp page.?? i have downloaded 100s of templates from net and tried it in <link> tag but it dint work. please help …

Member Avatar for peter_budo
0
57
Member Avatar for sriups

hi all! i am new to jsp, i have two comboboxes,in which values of 2nd combo box are linked two first combo box and we get values for both these boxes from database. [B]table1[/B] [CODE](pk)itemno:text itemname:text (no duplicates)[/CODE] [B]table2[/B] [CODE](pk)itemno:text(duplicates) (pk)pcode:text pname:text(no duplicates) [/CODE] i want to display.. combobox1:itemname combobox2:pname …

Member Avatar for amarjeetsingh
0
1K
Member Avatar for pradeepptp

Hello, This is pradeep.can any one tell me how can i send an pdf file to a single or multiple persons everyday by using which java api's we can do this task. And what are the steps wll take for finish this task. Regards, Pradeep

Member Avatar for blue72
0
77
Member Avatar for gshockneo

Hi everyone Plz reply..its urgent I am trying to track progress of a database operation . and want to dislplay percentage progress on page asynchronously. Process.jsp - In this i used javascript to call ajax function continuously which returns precentage progress. My Code is : [code] <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for masijade
0
119
Member Avatar for kwesiaryee

I need desperate help; I need to extract a user id from mysql database to make the id into a session, i have tried all that i know and it doesn't. My last resort was the following code from DW and it just breaks my design. The code is; [icode]<%=(((private_d_data …

Member Avatar for Airshow
0
71
Member Avatar for gr8_human_12

I want to design a simple jsp home page with hyper links on it , then want to insert data in database ... i m using netbeans .. need help plz ... i ve to submit it on monday 29 june .. so do help me out guys plz i …

Member Avatar for peter_budo
0
83
Member Avatar for bwinfrey

I hope my post is not redundant. Many of the titles used make it difficult to determine their content. I am looking for a good tutorial on cookies - I think. I'm new to this stateless kind of development. Briefly, I would like to store ID key in a cookie …

Member Avatar for bwinfrey
0
109
Member Avatar for suretd

Hi All, I have to compile a servlet WebStocks.java. It does not compile in TextPad as it cannot locate the javax.servlet packages. I have done my homework, so I know, that the servlet package I am looking for is loaded in Tomcat in my directory: C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar I …

Member Avatar for suretd
0
174
Member Avatar for alsoumhi

Hi all, I got an error when I start admin server this is the error an error occurred while trying to start admin. check console log for more details please help how to avoid this error please

Member Avatar for alsoumhi
0
63
Member Avatar for happy8899

How can i develop a website where user can design their own webpage design??? thanks

0
89
Member Avatar for memegha123

hi! I m using netbeans 6.5.1 i am trying to read a text file from a jsp using the code [code] BufferedReader input = new BufferedReader(new FileReader("contactus.txt")); [/code] this file "contactus.txt" is placed in the same folder (ie web folder) as the jsp file. but the browser is giving the …

Member Avatar for memegha123
0
124
Member Avatar for balquees

Hello every body I m new in this site, I m getting some difficulties to solve the following problem please help out me. Problem Statement: You are required to write a small Conversion web application using JSP action elements and JavaBean. This application contains one html file (index.html) one JSP …

Member Avatar for kvprajapati
0
235
Member Avatar for deepak_8917

i have an html page with a hyperlink. when i click on it. it should move on to other html page and display the records of a database in that second html page. so i'll write a jsp (writing jdbc code in it)to retrieve the records and now since i …

Member Avatar for deepak_8917
0
343
Member Avatar for juhaa

Hey, first of all... I have no experience on JSP at all so my question might be a bit silly.. However, what I want to do is to query mysql database and get three columns and put them into a table, so that the "URL" column would be a link …

Member Avatar for javaAddict
0
84
Member Avatar for CodeBoy101

Hi all. I was wondering if there's a way to assign the value in a text field to a variable in jsp using Java (not Javascript). Normally in Javascript you might do something like: [icode] document.formName.fieldName.value[/icode] to access the value. How can this be achieved using Java? :icon_confused:

Member Avatar for javaAddict
0
12K
Member Avatar for farahshafilla

hi, actually i want to set a order id by automatically... example: oderId : GB0001 and it will increase automatically each time some one make order.

Member Avatar for kvprajapati
0
98
Member Avatar for farahshafilla

i have the below code: its appear error when i run the code: [CODE=jsp]<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ page import="java.io.*,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %> <html> <% int val =0; StringcontentType = request.getContentType(); if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) { DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new …

Member Avatar for javaAddict
0
82
Member Avatar for CodeBoy101

Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

Member Avatar for kvprajapati
0
187
Member Avatar for CS Lover

Hi iam having really an annoying problem .. iam inserting some to DB ( Mysql ) throught ( jdbc ) from ( servlets ) and want to get the last insert id to move on .. but just it doesnt work .. always throws NULL in the exception .. this …

Member Avatar for CS Lover
0
139
Member Avatar for orangedog

I have a jsp page where certain parameter/value pairs need to be sent to one application server and a different set to another totally different server, is there a way to do that by the user pressing one submit button. And if not why not?? Wouldn't you think it is …

Member Avatar for orangedog
0
93
Member Avatar for joglekar

Hi All, I have been facing this issue for a while now. We have a site and it has the a few JSPs for the *view* part. In it, if the screem resolution of the monitor is reduced below 1280 x 600. i.e. if the display resolution is set to …

Member Avatar for joglekar
0
283
Member Avatar for alsoumhi

Hi all , I have been given a task which is to create a (log in )web page , user has to log in to the page after that a page with many links of forms such as leave form, feedback form,complain form,...etc. once a user has clicked to one …

Member Avatar for kvprajapati
0
102
Member Avatar for mudunuru
Member Avatar for alsoumhi

Hi all , I have been assigned to do a task which is to create a web based application, the task is actually a normal form application, I have to use that form and make it online as a web-based application and store the information in a database I know …

Member Avatar for alsoumhi
0
153
Member Avatar for anshusharma

hello, My application is rendering the map by using the geospatial data from the database.when i zoom the map by certain value of the zoom factor, my map image gets zoomed.but the text that is there on the map image remains the same size.how to zoom this text ?? thanx …

0
42
Member Avatar for anshusharma

hello everybody i am newbie to jsp. working on some project and struck into some problem. my poject is about web rendering . i am creating a buffer image and storing that in to some file .when i am trying to open this file on browser using jsp,it is not …

Member Avatar for anshusharma
0
108
Member Avatar for Ankita B

Hi,Im makin a web based application.For users to access it they need to login. I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in i.e. if user types in URL of some page of application in the address …

Member Avatar for deepak_8917
0
171
Member Avatar for mc080201812

1 [icode]<%@page import = “java.util.*” %>[/icode] 2 [code=JSP]<% String s1= request.getParameter(“str1”); String s2= request.getParameter(“str2”); str = concatenateStr(s1, s2); %>[/code] 3 ) [code=JSP] <%! String str ; public String concatenateStr(String s1, String s2){ return s1+s2 ; } %>[/code]

Member Avatar for javaAddict
0
36
Member Avatar for mc080201812

Question 1 You are required to write the code for sevlet which will take username and password from the html file and matches with database which contains two columns; one for username and other for password. Providing correct information leads to welcome page otherwise to a login page again. You …

Member Avatar for javaAddict
0
85
Member Avatar for funwithme

Create unlimited dynamic textbox and insert that value which is fill by user in database.how to do it in JSP, Servlet and Hibernate , MySQL explanation:suppose i fill my name "David" in 1 textbox now i clik add more generate 1 text box fill in this "Chris" if wanna more …

Member Avatar for kvprajapati
0
152
Member Avatar for rudhra216

hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts or plz send me some tutorial in struts or plz send me some sample project in struts thank u:eek:

Member Avatar for peter_budo
0
88
Member Avatar for mailtogsuresh

Hi.... Iframe does't work in IE but fine in Mozilla,Opera click a link its call a FirstJSP in this jsp contaion (iframe with another second jsp) its working Firebox but not IE Help pls.. i attach the files...For u

Member Avatar for kvprajapati
0
74
Member Avatar for shahbaz5144842

hi to all there i have problem with links management, my problem is that i want to pass the resultSet object to javascript function but it can all me do this but display error undefine link value or object value is null my code is [code=JSP]function hyperlinkvalue(passvalue) { var hyper=passvalue; …

Member Avatar for kvprajapati
0
68
Member Avatar for Xessa

Hello. I have a stored procedure that brings information from the database. The problem is when i close the window the transaction continues to work. What can i do in my JSP and Java code to prevent this? Does that mean that my transaction is wrong? When the result data …

Member Avatar for masijade
0
79
Member Avatar for Xessa

Hello. I have a web page and i want user to be able to select multiple options. The problem is that when i write [code] <select name="aha"> <option value="hhh">HHH</option> <option value="kkk">KKK</option> <option value="ppp">PPP</option> [/code] There is no problem in my JSP page. But later when i try to write [code] …

Member Avatar for jodin
0
210
Member Avatar for skycrew

Hello there, Im newbie in JSP.. I has a critical situation here, and I want to ask, how to access client printer in jsp? below is my current code: [CODE] fIn = new File(BCODE_DIR, BCODE_FNAME_RSCH + BCODE_FEXT); [COLOR="Green"]// access existing barcode template[/COLOR] fOut = new File(BCODE_DIR, BCODE_FNAME_RSCH + i + …

Member Avatar for masijade
0
130
Member Avatar for dumbncool

Hi, I have a client written in java applet and it listens for responses on http: //localhost/CardPager. Now, I have a server code written using jsp servlets and a webpage for a user where I can write a message in a textbox and press the send button, the text message …

Member Avatar for dumbncool
0
72
Member Avatar for Xessa

I have a checkbox and when i change it to clicked from non clicked it always turns to servlet as false and it does not affect my search criteria. It always returns "false". What can I do? Any way to prevent this???

Member Avatar for peter_budo
0
37
Member Avatar for mahesh parmar

[code] <%@page import="java.util.*"%> <%@include file="mycon.jsp" %> <% String[] weight = request.getParameterValues("weight"); int[] a = (int[]) session.getAttribute("qarray"); int[] b = (int[]) session.getAttribute("qnarray"); double nweight[] = new double[500]; char cat[] = new char[50]; char cat1[] = {'a','b','c','d','e','f','g'}; char cat2[]={'k','l','m','n','o','p'}; int n = 0; int count = 0, k = 0; double sum …

-1
47
Member Avatar for farooq82

I doing my University assignment. I need help for accessing html option button values using Java Servlet. Any help in this regard. [CODE] <html> <head> <title>Result</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <h3> Select one option for each MCQ</h3> <form method="get" action="http://localhost:8084/MCQs/Webapplication1/src/java/serverlet"> <table width="730" border="0"> <tr> <td> <strong>1. Java is …

Member Avatar for peter_budo
0
114
Member Avatar for v_sriram

Hello everyone, I have been trying to launch my JSP web application using Tomcat using my laptop as the server, with little success. I have registered a DNS at dynDNS.com ( free DNS, anyone!), made my IP static, forwarded port 8080 and port 80. The only problem I believe is …

Member Avatar for v_sriram
0
327
Member Avatar for pradeepktg

Hi All, I guess, its really hard to check if a selected file(html file control) exist in the same location(local system) using javascript other than using FSO. I would like to know is it possible to check using ajax and jsp,checking after submitting the form. If yes, pl.send me the …

Member Avatar for pradeepktg
0
276
Member Avatar for nash99

Hi How can I access the DOM (inner html). I need to capture the innerhtml (the complete html , body structure)of the source page and then be able to open another html page using this inner html of the page selected. I tried different methods like using the ajax calls …

Member Avatar for kvprajapati
0
79
Member Avatar for Xessa

Hi. I have a JSP page and servlet and a java class. Also a .js file. Anyways. I want to go to the database and select some variables from the database. After i select the variables i want to populate my HTML file with them with js code. The problem …

Member Avatar for kvprajapati
0
128
Member Avatar for d.devendran

hi, currently i'm working on new project, where once login using a particular id, it can not be use again to login in same machine even with different browser or even in other machine. how can done this. can i create a separate table in database so i can save …

Member Avatar for kvprajapati
0
76
Member Avatar for gautam.ap

Hi, everyone i want to display the corresponding values when i click on the primary key ... How to do this in jsp...??? Thanks in advance

Member Avatar for kvprajapati
0
127
Member Avatar for kap_sni

i am making a project. i want my web page to send a same copy of text to diffrent names specified with difrent email ids. pls help. thanx in advance

Member Avatar for dreamer14
0
121
Member Avatar for Xessa

Hello. I want to execute an insert command when the result of previously select statement is true. Can i use both data source and result set in my method so i can check if the result is null or not. Or is there a way to see if ds is …

Member Avatar for kvprajapati
0
309

The End.