3,760 Topics
| |
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 … | |
how to values stored in oracle database from jsp and retriev from oracle database | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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:-) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
I want to host a jsp website , what are the server requirements to launch | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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) … | |
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, … | |
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 … | |
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 … | |
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 … | |
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?? | |
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] | |
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 … |
The End.