4,248 Topics
![]() | |
Hi all, I am newbie for JSP.i want to create a simple website which provide search function from Database(MySQL). I downloaded Apache Tomcat ,MySQL and JDK 6 Update 12 with Java EE.Who can tell me how to setup this simple website ? help! Thank You! :-) | |
i have apache server and i want to access database by jsp what can i do please gve me steps actually iam at intially stage in jsp | |
hi, I'm trying to run my 1st servlet I'm using eclipse and tomcat but I get an error that I cannot solve. can anyone tell me what I'm missing? here is my index.jsp [code=java] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> … | |
Hi everyone I'm new to JSP and followed a code I read in a book here is my code: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <% String connectionURL = "jdbc:mysql://192.168.10.2/ox?user=moop&password=unbind"; Connection connection = null; Statement statement = null; ResultSet rs = null; Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection cn = DriverManager.getConnection(connectionURL); Statement … | |
I am writing a jsp page where a set of rows has been created dynamically according to the number of rows in particular database table.Each row consist of 5 read only values, one text box, one checkbox and a set of 4 radiobuttons. The radio buttons and checkbox are named … | |
i have designed a website using JSP and mysql, there is an enquiry form in that website ,when one fills the form the details automaticaly go into databse as the logic goes..but my problem is on localhost(tomcat) when i fill the form and submit, a retrieved form is displayed which … | |
please help me to resolve the databasbase connectivity problem in java for mysql .i am using jdk 1.5 ,if there is need to put a file then please mention where it should be copied ,and i am writing the code and error occuring that code. code: import java.sql.ResultSet; import java.sql.SQLException; … | |
[i] Topic The topic of this question is: Creating a MySQL table and Entity from Database. [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] This is another attempt to render data in a visual web javaserver faces table. The purpose … | |
Hi ALL we are doing a prject on VPN or virtual private networks.. for this we have created the front end.. and in many pages there are operations performed such as file uploading, create users and so on.. so when these submit or upload buttons are clicked the server needs … | |
In JSP, request.getParameter(x) returns a null value if x is integer.So what to use to get integer value of x? | |
Is there an easy way to incorporate a JSP forward directive inside an html "<a>" (anchor tag) I'm trying to do something like: <td> <a <jsp:forward page = "MyFacility.jsp"/> > Test Three Forward</td> but cannot get the syntax correct. I'd like to have the "Test Three Forward" appear as the … | |
[i] Topic The topic of this question is: How does the @NamedQuery work? [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is understand why the Netbeans ide constructed @NamedQueries that refer to an object Content … | |
[i] Topic The topic of this question is: tracking the content of an array in a session bean debug sessionbean1.java [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is to try to find the best … | |
Hi all, i am doing online banking project in java. i have MINI statement page which displays LAST 10 transactions. And i have DOWNLOAD link on MINI statement page. Onclicking the DOWNLOAD link "SAVE as" dialog box should popup asking users to save the ministatement to their locations on the … | |
Name: The name of this file is table_autoincrementedId Hello and Thank you in advance for any assistance. Purpose: The project is a Visual web JavaServerFaces project that is in the same folder and that imports the app library. Modeled after the tutorial at Using Java Persistence API Within a Visual … | |
hello, i've inherited a project which has to be done in 11 languages, i know nothing of jsp development. the original uses a jsp page to send mail to a friend with your score in a flash game. i have tried changing.... message.setContent(txt, "text/plain;"); to... message.setContent(txt, "text/plain; charset='UTF-8'"); but this … | |
Hello, I would like to use a JSP script running on a Linux server, to be able to create a user account on a Windows 2003 server. My query is how do I access the Windows API from a different machine, and how does the JSP script authenticate itself to … | |
Hello, My intended scenario is that, there is a Button component on the visual web jsf page and someone click on the button, instantly a confirm box (javascript) is displayed. Now if the person click on the ok button of the box the form will be submitted but the form … | |
I have the following table [code] <!-- Static Headers --> <table style="width: 620px"> <thead> <tr> <td colspan="3" width="15"></td> </tr> <tr valign="top" class="results_headings"> <td width="35%">Force Number</td> <td width="35%">Name</td> <td width="30%">Required Qual Code</td> </tr> </thead> </table> <!-- Scrollable Area --> <div class="scrollable"> <table class="memberlist"> <c:forEach items="${members}" var="mem" varStatus="status"> <tr> <td width="35%"><c:out value="${mem.forceCode}" … | |
Hi, I am trying to understand & code web crawling. I want to crawl only my local data[Pages related to a particular site]. Apart from that i want to fetch only particular data from the related web page. I also have to store the fetched data in a mysql database. … | |
Hello, I have a one form in jsp in that I m using ajax technology..but i am confuse..my question is.. My form contain one table, i want when click on a [B]Perticular Cell[/B] of a table the related data will display by using ajax..please tell me how to call ajax … | |
i reaaly get few errors in the code for run a video in JSP or for video streaming... can anyone help me to give the code for it.. thank you | |
Hi,Friends Im facing problem in paging using jsp & oracle ,in this code only 1 to 10 values displying,when im clicking on next its displying nothing.Means not taking next values. [code=JSP]<%@ page language="java" import="java.sql.*;"%> <html> <head> </head> <body> <br><br><br> <% int offset=0; int ofset = 0; if(request.getParameter("offset")!=null) { offset= Integer.parseInt(request.getParameter("offset").toString()); … | |
I'm having trouble compiling my servlet, because it says the servlet classes can't be found. [code] CreateAccount.java:2: package javax.servlet does not exist import javax.servlet.*; ^ [/code] I googled a bunch and most people with this problem had their CLASSPATH set incorrectly. Here is the result when I echo my classpath: … | |
Hi. I'm trying to learn how to make my own web app and following those tutorials: [url]http://www.netbeans.org/kb/docs/java/gui-db.html[/url] [url]http://www.netbeans.org/kb/61/web/applets.html[/url] I created a desktop application like showed in the first guide. Then tried to integrate it into the Web Applet. But for some reason after right clicking my desktopapp's java file and … | |
[i] Name: The name of this question is: carbon_copy [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is create a desktop app and web app. The web app has the destop apps library. Create a … | |
hello to every one , i want help regarding loging, i hv designed my login page. i want to check whether user or administrator has logged in dependinp upon the type of user i want to navigate. pls send me code. thanks | |
Hello, I am having a problem with the w32virut.cf virus. I tried to download programs and I tried to manually fix it myself and it wont happen. it wont let me run programs, i cant use the RUN program. Thank you in advance for any type of help-You guys have … | |
Hi everyone :) I'm completely new here. Let me introduce myself - My name's Dave and I'm a student studying Multimedia applications development at the Waterford Institute of Technology in Waterford, Ireland. [B]I'm currently involved in a college project where I have a JSP web application connecting to a MySQL … | |
i have to invoke a servlet from jsp and pass many variables to the servlet. my jsp code is:: [code] <%@ page import="java.io.*" %> <%@ page import="java.lang.*" %> <%@ page import="java.sql.*" %> <%@ page import="javax.servlet.*" %> <%@ page import="javax.servlet.http.*" %> <%@ page import="java.util.*" %> <% String flag1=(String)session.getAttribute("flag"); out.println(flag1); if(flag1=="signin") { … | |
Hi, Are there any validations which can be done on text boxes like for eg restricting that the user must enter some text, to be used for eg in login forms. And regular expression validators for eg to validate an email address? 10x | |
Hi everybody, I have the following URL to grab: [url]http://www.mysite.com/profile.php5?id=43534&mode=photo&pic_id=3453432#pic[/url] I need the 2 ids. But it doesn't seem to work. [CODE=JSP] var url = "http://www.mysite.com/profile.php5?id=43534&mode=photo&pic_id=3453432#pic"; var exp = new RegExp("^http:\/\/w?w?w?\.?mysite\.com\/profile\.php.?\?id=(\d+)&mode=photo&pic_id=(\d+).*?$"); if (exp.test(url)) { var found = exp.exec(url); alert("found0: "+found[0]+" found1: "+found[1]); } [/CODE] What am I doing wrong ? … | |
Hello, Im not quite sure If I'm posting this in the right category. Briefly the problem is: I'm developing this web application using MVC approach that based on Java and JSP. I have created the servlet which use the DispatchRequest to forward the request-response. In my JSP, I use the … | |
hi, I have an application that plays video files using jmf It plays some videos but without audio but while playing some videos the application automaticaly terminates and generates runtime error. A log file is created by name hs_err_pid2232.log which have following message: # # An unexpected error has been … | |
Hi Experts! I am developing a online shopping module I am new to JSP. I have develop the interface as under for one product: Product Name Manufacturer Stock Quantity Price <Input text field to input quantity to purchase> hyperlink Buy Here that pass the parameters product ID, product name, price … | |
Hi everyone im new to this forum and this is myfirst post so excuse me for any mistakes Im doing a final year project on banking i want help to move further basically im designed a jsp webpage in which the form has a selecttio list or drop down list … | |
I am trying to develop pages in JSP for e-mail.I have created login page and other pages.Now after the user authentication is finished and I need to send the user name to retrieve mails.I heard sessions can be used.I don't know anything about session creation and passing attributes of a … | |
Hi, experts: How to assign a value to each choice in a checkbox, e.g. checkbox:apple;banana;pear. After I checked apple and pear, I can assign them values 1 and 3.Then these two values are sent to another jsp page, so that I can use the values in the new jsp page. … | |
Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] … | |
Hi, I am new here. I have to display the images dynamically reading from a database. I have no problem displaying images. When i try to reduce the width in img tag then it is slowly rendering it. How to overcome this. [icode]<img src="image.jsp?imgID=112" width="150" heigth="130" border="0">[/icode] I am also … | |
Hi Expert i m new in jasp . i want to show name text after click on button which will be feed in text box . thanks ashish [code=JSP]<%@ page contentType="text/html; charset=UTF-8" session="true" buffer="16kb" autoFlush="true" isErrorPage="false" isThreadSafe="true" info="Directive page demo" import="java.util.Date"%> <html> <head> <title>Directive page demo</title> </head> <body> This is … | |
Hi good people! Please help me out, i have an intranet running in my PC that means my PC is a local server. when user try to access the intranet it give them this error:- "HTTP Status 500 - type Exception report message description The server encountered an internal error … | |
Hi, I have a JSP form (test.jsp) for my users to upload a file, and another JSP file (testHelper.jsp) to work in the background, both JSP's are under the same directory ([url]http://www.domain.com:8080/AppName/)[/url]. After work is done, I send users back to the form (with parameters to determine which status message … | |
Hi, I'm new to jsp I'm writing a java code of simple chat application that consists of an applet on client side and a java server page on server side. My applet is fine but the jsp code shows unusual errors and in most of the cases the browser simply … | |
hi how to dishplay data from mysql to jsp page give me code or any hints. thanks. | |
During first loading of jsp, i want to iterate through the content of an arraylist and have it display inside a table of jsp page. But i want to use the jsp tag, instead of the struts logic tag, is there a way to do that? And how to invoke … | |
Hi All I am creating a url for a file, which is uploaded in content management server, in the jsp page and from this jsp, I am opening a new window for this file to show the content to the user. My problem is, I want to hide the url … | |
Hello everyone, I am fairly new to java so plese bear with me, here is my question: i made a query to a sql database in a jsp page, what i would like to do is is import the result set into java so i can do some math with … |
The End.