4,248 Topics

Member Avatar for
Member Avatar for feoperro

Hi, I would like to know if it's possible to have a web application that processes data like this: 1. Submit form data in a JSP, using the: action="myServlet". 2. In the myServlet code, we process the requests and responses and add what we need to add into sessions. 3. …

Member Avatar for feoperro
0
101
Member Avatar for lalit_jain1988

i am new in jsp...Can any one help me that how i can upload image in database using one html form and jsp code..........

Member Avatar for peter_budo
0
44
Member Avatar for powerbox

Hi guys I just need some enlightenment on how I should implement one of my projects. I've been migrating my codes from unmanaged to manged code and I chose Java as one of our primary PL to use. From time to time I've used some of Java products like GlassFish. …

Member Avatar for pelegri
0
248
Member Avatar for muusa

hey friends i m using servlet in order to write the output to jsp but i m getting output as something BufferedReader.io.inpitstreamreader@somenumbers i want to return the string output to jsp back .i need help stuck i this thing [code=java] try { String line; // String path="/home/muzammil/apache-tomcat-6.0.18/work/Catalina/localhost/remote_compile/"+filen[0]; Process p = …

Member Avatar for muusa
0
284
Member Avatar for peter_budo

The aim of this thread is to gather useful information in regards of Java web development. If you know some tips and tricks, tutorials or any interesting links that has not been already mentioned in previous posts please share with us (please always check to avoid double posting). Please DO …

Member Avatar for peter_budo
4
3K
Member Avatar for feoperro

Hi, I'm having a problem debugging a piece of code. I will paste the JSP version (that works) and then the exact same thing in Servlet form (that does not work). The code's function is to change a picture on mouseover and then revert onmouseout. I will paste for only …

Member Avatar for feoperro
0
205
Member Avatar for shashwatk

[code=jsp]<%-- Document : response Created on : Jan 20, 2010, 11:34:37 AM Author : srishi --%> <%@page import="java.sql.*"%> <%@page import="java.io.*"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>employee data entry</title> </head> <body> <form action="response.jsp" method="get"> <center>Employee Data Entry Page</center> <table …

Member Avatar for sank_03
-1
95
Member Avatar for Aish_V

Is it possible to populate a treeview by reading the nodes of XML? It is for web application. Without using swing is there any other method? If so.. Please share with me.. Thanks in advance Aish

0
61
Member Avatar for Emret

Hello code monkeys :p I need some guidance with an application that I am working on. The idea for the application is as follows: The user is presented with a search field where he/she is supposed to enter a control number. This control number has a relation to a certain …

Member Avatar for doctorfox
0
241
Member Avatar for samirf

Hi All I am a peoplesoft developer and I dont understand JSP too well . I have following two questions about the code below . 1) Are we using a POST call to [url]https://SomeUrl/ssoreq.asp[/url] (not a GET request) ? 2) Are we assigning the content-length and content-type header variables prior …

Member Avatar for peter_budo
0
139
Member Avatar for deepak17

i want to make a project on messnger in java wit the help of jsp and sql database so kindly elp me on my project i m fresher so plz give the basic detail also

Member Avatar for peter_budo
-1
79
Member Avatar for horsemuleman

Hi. I recently starting getting redirected to misc. sites when clicking on Google, Bing or Yahoo search results. Was using McAfee and found nothing. Uninstalled McAfee and downloaded Kaspersky and found 6 trojan viruses. Cleaned them and still have the same problem. Spybot and Malwarebytes find nothing as well. Could …

Member Avatar for horsemuleman
0
189
Member Avatar for Srikant1

hi i have created a page using JSP called Login Page containing Username & Password As its Attributes My problem is that I am not able to connect it with My SQL Database can any body help me regardind connection code

Member Avatar for musthafa.aj
0
78
Member Avatar for swethakrich

I am having two combo box value say List 1 and List 2 And user can move the items from List 1 to List 2 and vice versa. After completing the "Move" operation the user would like to "SAVE" these changes. At this point I need to have all the …

Member Avatar for javaAddict
0
182
Member Avatar for shiv0013

i want to generate automatic emails. i got the following code by google. i also added the mail.jar file into lib of web inf. wen i execute this code i get exceptions "Could not connect to SMTP host: smtp.gmail.com, port: 25 (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)" and "Unrecognized SSL …

Member Avatar for c_blimey
0
91
Member Avatar for dangari

Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> …

Member Avatar for dangari
0
154
Member Avatar for markb536

schedule an automatic email that will go out at intervals that you define. Perfect for sending reminder email about accounting meetings, baseball game practices, or even upcoming birthdays.

0
77
Member Avatar for shruthih

I have the following code in my jsp [CODE]<list:column column="username" titleKey="label.username" actionType="url" action="link_account_form.do?id={0}" linkColumn0="link_account_id" searchType="input" type="nstring"/>[/CODE] in the table column whole url is generated and it shows up but i want username to be displayed and not the url... please help

Member Avatar for ablitz
0
62
Member Avatar for testingjsp

Hi, I have an application that is making request to server, in this case how can the server maintain the session. If I run the same URL from browser, all the session and page navigation are working. My application is some thing like an exe file, not on the browser. …

Member Avatar for ~s.o.s~
0
60
Member Avatar for srujan37@gmail.

i am having issues with this code its not comparing valid inputs as well, is it wrong as far as database is concern .it is always giving me invalid as out put [CODE]<%@ page language="java" import="java.sql.*" %> <%@ page import="java.util.*" %> <% String id=request.getParameter("id"); String pass=request.getParameter("pass"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection …

Member Avatar for musthafa.aj
0
87
Member Avatar for fredrickme

Good day all,please i need your help . I developed servlet authentication login and now i want each of my password to be allowing only 3 times access on a particular username before it becomes invalid for ever .it will prompt an error message "sorry the password has been used …

Member Avatar for musthafa.aj
0
968
Member Avatar for shlesha

i want to upload pictures in a folder rather then Mysql database ,please give me direction to uploading images in a folder

Member Avatar for fredrickme
0
116
Member Avatar for shiv0013

how to a add a number to current date? i want to add 14 to current date and dispaly in (yyyy-MM-dd) format. thanks in advance

Member Avatar for javaAddict
0
53
Member Avatar for rick12

I have very little experience in JSP but need to write a page that passes some parameters to another web page that will display one of two possible outputs: 1) an UUID (ex. 1UDID-3XSID-RT45J-D78DD) OR 2) -Invald Username and Password I need to 'catch' the output of this page and …

0
39
Member Avatar for stocean

Thanx for the before now i've got new problem here i try to run it in a localhost it worked when i've hosted the web that i created before. got : Http Status 500- org.apache.jasper.JasperException: Unable to compile class for JSP: could you tell me what are the problem that …

Member Avatar for ~s.o.s~
0
56
Member Avatar for feoperro

Hi, I wasn't sure where to post this thread... I am looking for an ALREADY developed social network that uses JSP/Java with Tomcat/Glassfish... Something like: [URL="http://boonex.us/"]Boonex[/URL] (But not PHP). It can be open source or purchasable (If there is such a word)... Thanks, -Ashton.

Member Avatar for peter_budo
0
80
Member Avatar for sandipdandel

hi i want 2 devlop d online software test engine in jsp pls giv me some direction 2 start d project\ thanks

Member Avatar for peter_budo
0
46
Member Avatar for zeeshan_shan

hi iam working on a project and i want to sent and access data in MS Access using jsp so, Please tell me how can i do this

Member Avatar for musthafa.aj
0
215
Member Avatar for deepakraj

[B]Please tell me how i can run jsp page in Linux Tomcate server... i found the error - [/B] org.apache.jasper.JasperException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:361) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.io.FileNotFoundException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:278) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Member Avatar for javaAddict
0
223
Member Avatar for hooligan2008

I use to pass data between *.java and *.jsp, since this is a MVC framework, it will go by the *.java first. so i used request.getSession().setAttribute("test", "01010101010") to save the value, and then in *.jsp, use request.getSession().getAttribute("test") to get value. But it returns a strange string "682342348" all the time. …

Member Avatar for ~s.o.s~
0
175
Member Avatar for ruwanaru

What i want is when i click upload button upload the file with progress bar [CODE] <form action="image_upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="filei" id="filei" /> <input type="submit" name="button2" id="button2" value="Upload" /> </form> [/CODE] this is my php file [CODE] <?php $name=$_FILES["filei"]["name"]; $size=$_FILES["filei"]["size"]; $type1=$_FILES["filei"]["type"]; $dirpath = "upload/"; //upload image if ((($_FILES["filei"]["type"] …

Member Avatar for peter_budo
0
135
Member Avatar for vicky9

in jsp,i created login.jsp. in login.jsp,i created username,password and submit button. my login.jsp goes through database. i am okie BUT i want validation in login.jsp which goes through database.

Member Avatar for javaAddict
0
78
Member Avatar for dsmush

Hello, I am building a servlet which handles the login process after the user clicks the submit button on the previous HTML form. The servlet should get the data entered from the form then perform an SQL statement to select all the data in the registered users table. Once all …

Member Avatar for cbarton.a
0
932
Member Avatar for majid_majid

i use netbeans 6.8 with jato ve ee plug-in i tried to run a simple web project ,in the un in the netbeans everything looks fine but nothing browser i got this message in firefox : The connection was reset im use win 7 help me please:'(

Member Avatar for peter_budo
0
34
Member Avatar for stocean

i've got a 404 error when i tried to call a servlet it said Not Found The requested URL /Login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument handle the request. please help me solve this problem Thank …

Member Avatar for stocean
0
88
Member Avatar for billybobc

Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting …

Member Avatar for billybobc
0
139
Member Avatar for M.Khan

i want to make tabpanel in which the tabs are in two rows...dnt require them in a single row...cuz the no.of tabs are more. can any1 help me in doign that in jsp??

Member Avatar for masijade
0
41
Member Avatar for jaytheguru

Dear all, No matter what I do, I can't seem to be able to make the JSP with Database work. How can I connect to an Oracle database which is hosted in our University, over a JSP page. I have a project where we need to connect to Oracle database …

Member Avatar for parry_kulk
0
384
Member Avatar for semsem-6321

Hi all, it's my first post. i'm using tomcat 6 and put under it website done by jasper . this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right. could you please …

Member Avatar for c_blimey
0
101
Member Avatar for araaraa

[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\">&nbsp;</td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> &nbsp;<span class=\"menu1\">&nbsp;&nbsp;Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; …

Member Avatar for javaAddict
0
100
Member Avatar for yramu

Hi all, Here i pasted some code, In that i added to images to container but it is displaying the last one only, and one more thing is how to set the boundaries for jbutton, TextArea and Image. I need the code of count down timer. Thanks in Advance............... [code]import …

0
45
Member Avatar for jadeite100

Hi: I took a course on Spring 2.56 from Interface21 and the labs I got get it to work during the training. But when I tried it at home it doesn't work. I go to the following url and it's find. [url]http://localhost:8080/accounts/[/url] It display "This is my JSP page. " …

Member Avatar for phpbeginners
0
144
Member Avatar for billybobc

Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so …

Member Avatar for billybobc
0
3K
Member Avatar for prasannakarthik

hi, I have a requirement to include a website in my jsp file,say [url]http://www.abc.com[/url] . But the problem jsp:include does not support any protocols. how to achieve this functionality?? Thanx, lpk

Member Avatar for ~s.o.s~
0
98
Member Avatar for chicago1985

I am getting closed exception messages with my below jdbc connection to Oracle 9i from Tomcat 6 container. The database connection is used about once or twice a day. [b]java.sql.SQLException: Closed Statement[/b] and [b]java.sql.SQLException: Closed Statement: next[/b] [code] private Connection connection; public ArrayList<MoneyBean> getMoneyList() { ArrayList<MoneyBean> list = new ArrayList<MoneyBean>(); …

Member Avatar for javaAddict
0
84
Member Avatar for screenedcreamy

Any good suggestions for creating a JSP that reads several initialization parameters and outputs them to a Web page.

Member Avatar for peter_budo
0
97
Member Avatar for pvn777

I dont want to use resultset object in JSP page. Rather I want to use a java class for retrieving values in to the JSP page. Either using array list or something like that., I tried many times but failed Please advise in detail. Thanks

Member Avatar for peter_budo
0
110
Member Avatar for saikatroy1985

How to select multiple location under one central location in jsp and should be stored in oracle?

Member Avatar for saikatroy1985
0
91
Member Avatar for pandeyprashant

Hello Everyone, i am new to websphere and i m trying to install websphere and its pluging to eclipse. i searched a lot but i didnt get the result. please tell me how to configure WASCE plugin with eclipse? thanking you.

0
57
Member Avatar for ashaysumbha

Respected Sir, I am trying to execute above code with rerquest response object. In my jsp file i have 3 text boxes 1.mobile 2.username 3.password , All the above three attributes are stored in MySql table emp. I want to execute this code in a fashion like when i entered …

Member Avatar for javaAddict
0
93

The End.