3,760 Topics

Member Avatar for
Member Avatar for anindo87

hiii everyone, I'm novice to this technology. I'm facing a problem in project development, in which I'v to collect the data temporarily during a form fill up which need to contain different details about a person which will be classified as personal details, academics details, project and internship details, achievements …

Member Avatar for anindo87
0
95
Member Avatar for selvag
Member Avatar for peter_budo
0
23
Member Avatar for jacky_cheng

I m a freshman about JSP.Now I have a quesstion about sql. first I made a class.Code is [code]public class DataBase { protected String url = "jdbc:mysql://localhost:3306/lab?user=root&password=root&" + "useUnicode=true&characterEncoding=utf-8"; public Connection conn = null; public DataBase() { try { Class.forName("com.mysql.jdbc.Driver"); } catch (java.lang.ClassNotFoundException e) { System.out.println(e.getMessage()); } try { conn …

Member Avatar for cjkennedyo
0
111
Member Avatar for harshit99

hiii... i am writing an application in jsp to create a login form. but it shows an error : string not properly closed at line 7. also the java script included doesnot show any error message ... here is the code: [code=HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> …

Member Avatar for harshit99
0
121
Member Avatar for ArunRaj.SRM

Hi, I'm having a page like below : [code=jsp]<html><head><body> <FONT COLOR=RED SIZE=5> <%@page import ="com.ui.CTransactionManager"%> <%@page import ="com.ui.CUser"%> <% String UserId = request.getParameter("UserId"); CTransactionManager objmanager = new CTransactionManager(); CUser user = objmanager.getUser(UserId); String m_staff_id = user.getStaffId(); out.print( "Staff Id : " +m_staff_id ); %> </font></body></head></html>[/code] here i want to pass …

Member Avatar for ArunRaj.SRM
0
162
Member Avatar for dlaniger

Hello- I just joined and have read the thread:[url]http://www.daniweb.com/forums/thread48188.html[/url]. I was advised to start a new thread as that one is to old now. Anyway, I have the same problem and am trying to use the "hidden" input tag to access the parameters I need in the jsp. My code …

Member Avatar for kvprajapati
0
919
Member Avatar for alsoumhi

Hi experts, I have two questions, please help me because I am trying to create an application and I stopped because of these 1) how to read data in servlet from a web page for select menue I have used [request.getParameter("?????")] but I don't know which name I put inside …

Member Avatar for masijade
0
72
Member Avatar for elnuk

how to prevent unauthorised user from accessing a file by typing the URL directly using a servlet as the preventive measure is what has been a sore for me for some time now.i would be very grateful for any opinion.thanks

Member Avatar for elnuk
0
769
Member Avatar for simplypriti

Hi All, I need information of a better Java hosting service (better in terms of performance, security, storage, reliability). So if any of you know such kind of service provider thn kindly let me know ASAP. It would be great help from your side. :) Thanks, Priti

Member Avatar for ithelp
0
86
Member Avatar for sven1981

Hi,i am newbie is it possible for user upload the image(flower) and search for the same /similar image(flower) by using jsp/PHP and MYSQL? thanks:-)

Member Avatar for lordspace
0
74
Member Avatar for shahbaz5144842

hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a …

Member Avatar for shahbaz5144842
0
282
Member Avatar for muktidaniweb

Hello, I have a menu.jsp included in all the jsps. When I click a link in the menu it calls the respective page and the menu.jsp is also refreshed. I want to write a java script to highlight the menu link that was clicked. But since the menu jsp is …

Member Avatar for shahbaz5144842
0
142
Member Avatar for Gayatri1987

I am making a online movie tickets booking website and in my index page I have 5 drop down boxes movies, timings, theatre name, date and price. All these drop down boxes use 2 sql tables. What I need is that the drop down boxes get populated from the databse …

Member Avatar for peter_budo
0
2K
Member Avatar for romi123

Hi guys, i am new to JSP that is why i look forward your assistance. I have a JSP page where 3 drop down lists are. on the basis of selected value from first drop down i need to have trigg new values into 2nd drop down and similarly in …

Member Avatar for jptinsmn
0
179
Member Avatar for rahul8590

i have created 2 files 1.chat.html [code] <HTML> <HEAD> <TITLE>Enter your name</TITLE> </HEAD> <BODY> <H1>Enter your name</H1> <FORM NAME="form1" ACTION="chat123.jsp" METHOD="POST"> <INPUT TYPE="TEXT" NAME="text"> <INPUT TYPE="SUBMIT" VALUE="Submit"> </FORM> </BODY> </HTML> [/code] 2.chat123.jsp [code] <HTML> <HEAD> <TITLE> Using Java in JSP </TITLE> </HEAD> <BODY> <H1>Using Java in JSP</H1> Your Name is …

Member Avatar for peter_budo
0
105
Member Avatar for shankmuchlove
Member Avatar for peter_budo
0
105
Member Avatar for talha06

Hello to everyone, I have been in a boring situation in my project.. [B]I can't forward to a jsp page from my servlet[/B].. I found many codes; but none of them worked.. The URL adress never changes.. (Always stays at the same page) Here's some of codes I tried: [CODE]RequestDispatcher …

Member Avatar for peter_budo
0
70
Member Avatar for Alex_

Hello, I want to know if it is possible to do that, and how if yes. I tried doing something like this [code=jsp] ... <%! public static Object selectobject; %> <select name"xxx" onChange="<% selectobject = this%>"> </select> ... [/code] But it's not giving me any useful information about the values …

Member Avatar for kvprajapati
0
106
Member Avatar for Thirusha

Hi In am new to developing web applications using java and jsp's, and after a strange problem i encountered was wondering how does the url get populated with the path of the file sometimes and not at other times. Lets say in my web.xml in the welcome-file parameter, the path …

Member Avatar for ejosiah
0
78
Member Avatar for Thirusha

Hi I have set up an example web app which was already written by a third party company. My problem comes in when i enter the app name like [B][url]http://localhost:8080/app1/[/url] [/B] it redirects to the correct page that was used in the <welcome-file> tag in the web.xml but the js …

Member Avatar for Banderson
0
103
Member Avatar for saivemuri

This is about jsp, beans with struts. The problem is, I am using one jsp which is containing some select boxes. I ll be populating the select boxes from DB thru beans and action class. It’s working properly. The problem is with the data insertion from JSP to DB. The …

Member Avatar for peter_budo
0
310
Member Avatar for CoSIS1

Hi everyone; I’ve written the following for some purpose : [CODE] <% Vector v1,v2; String sql; String sqlvsp; sqlvsp= "select distinct(question_text) from question where type = 'UStudent' "; Vector vc=database.jdbcOneRowQuery(sqlvsp); for(int n=0;n<vc.size();n++){ %> <table border="0" width="100%"> <tr> <td colspan="6"><font size="2"><b><% out.print(n+1); %>)<% out.print(vc.get(n)); %></b></font> </td> </tr> <tr> <td></td> <td align="center" …

Member Avatar for peter_budo
0
122
Member Avatar for haf

can anybody please tell me any site which has open source code for jsp projects, please help i need source code for online examination application in jsp. Below are the criteria in the application that I’m looking at. 1) Web based 2) Able to randomize question and answer order 3) …

Member Avatar for peter_budo
0
374
Member Avatar for CodeBoy101

Hello to all. I'm using the following jsp to display an image from a mysql database. [code] <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <% Connection connection = null; String connectionURL = "jdbc:mysql://localhost:3306/people"; ResultSet rs = null; PreparedStatement psmnt = null; InputStream sImage; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL, …

Member Avatar for kvprajapati
0
145
Member Avatar for rajshree13

Hi All, I want to compare current date with date which is entered by the user. In my form i am having fields as Name: TicketNO: ContactNo: Issue Dt: 13/7/2009 Return Date:17/7/2009 the above data is collected from user and entered into database and i want to compare issue date …

Member Avatar for CoSIS1
0
87
Member Avatar for harshit99

hii.. i have a table<"form"> in ms access which have following fields.. formno, location , status. i want to create a report which calculate 1. the total no of forms(columns) at each location 2. the total no of forms(columns) with status= "pending" at each location. i tried to do it …

Member Avatar for Alex_
0
83
Member Avatar for anusha88

hi,I don't know anything about JSP.I have actually developed my program in java which takes input from file and plots those values graphically.One part of the program contains moving text in a text box and the other part is a kind of a moving graph through a slider.Now the people …

Member Avatar for kvprajapati
0
121
Member Avatar for anindo87

hello evryone. please someone help me. I want to load the data frm sql server database at the button click...how to load the data using resultset rs.getString("column name") in the <option></option> tag using JSP codes??

Member Avatar for anindo87
0
459
Member Avatar for karamjeet2004

INFO: validateJarFile(C:\fetching\build\web\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class [B]i have got this error while running the servlet jsp code[/B] sometime show [B]servlet jsp is unavailable[/B]

Member Avatar for kvprajapati
0
83
Member Avatar for shahbaz5144842

hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a …

Member Avatar for ~s.o.s~
0
176

The End.