3,760 Topics
| |
Hello friends, I want some help. If anybody can help me out for my problem. I am new to JSP. I am using NetBeans6.0 IDE , MySQL server for the database. I have differentiated my work between servlets,Javabeans and JSP. The logic of my project is stored in the servlet … | |
Dear all, I filter my query select with parameter from previous page. SQL = "select a.KodePenyanyi, p.NamaPenyanyi, p.WebSite, a.KodeAlbum, a.NamaAlbum, NamaLabel, Tahun, a.Kaset, a.CD, a.CDImport, a.DVD, DaftarLagu, ReviewAlbum FROM masterpenyanyi p inner join masteralbum a on a.KodePenyanyi=p.KodePenyanyi inner join masterlabel on masterlabel.KodeLabel = a.KodeLabel where a.KodeAlbum='" + kodeAlbum + "'"; … | |
Hi everybody. I am currently doing my 6th sem project in jsp. My project title in Online Shopping.I am very much need of the code. Please can any help me........:( | |
Hi, Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application. Note: This is not the complete jsp code … | |
I m trying to connect MYSQL 4.1.1 from JSP using java. and I m getting error as described below. javax.servlet.ServletException: Extra bytes at the end of class file org/gjt/mm/mysql/Driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) org.apache.jsp.Login100408_jsp._jspService(Login100408_jsp.java:697) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) 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) plz help me I m not getting any solution. | |
Hello, I have a html form in which there are 4 fields and 1 button. 1. Employee Number 2. Employee Name 3. Salary 4. Address 5. Retrive button And I have a table in database named "employee". I want to retrieve employee information in the above text fields to be … | |
wen i write the following codes in a jsp file it is not working prperly the code is [code=JSP]<body> <p> <jsp:plugin type="applet" code="fphover.class" codebase="./" width="120" height="24"> <jsp:params> <jsp:param name="textcolor" value="#FFFFFF"> <jsp:param name="text" value="page name"> <jsp:param name="color" value="#808000"> <jsp:param name="hovercolor" value="#FFFFFF"> <jsp:param name="effect" value="glow"> <jsp:param name="url" valuetype="ref" value="p1.jsp"> </jsp:params> </jsp:plugin> </p> … | |
do i need a connector??? | |
I have tried my level best to complete the project within 2 months but I am not able to do that. I am getting the problem in retriving the data from combo box and displaying it on nect page and inserting it in MySQL database. I dont know the procedure … | |
Dear all, I'm newbie in Java/JSP. I have created project with Java Desktop for university lecture subject. But I still have one task, still with Java but in Web environment. I have this class. This class is used to get connection to MySQL. I create it for Java GUI [code=JSP]import … | |
Hi Guys, Does anyone know how a jsp page can call an xls file that resides in tomcat. For example, I am accessing xxx.jsp, and on xxx.jsp, there is a link - when I click on the link, it brings up the excel file. Does anyone know if this is … | |
Hello, plz help me retrieving a textfield value from from2 to form1. I have a textfield in form1 to retrieve Employee No. When I click a button in form1, form2 opens which contains list of employee numbers. In form2, I select a employee number and click a button. How should … | |
hey all, first post, im a real n00b at this.. its just part of my first yr at uni and dont even need it for the 2nd yr and never done it before.. its such a small part of my coursework and all it does is get me a D … | |
Hi i have a code that runs really well.. unfortunately im really new and to get to here was also quite time consuming.. however i am on a short time line now and need help fast!. can someone please tell me how i can get my page to list results … | |
Hi, I had a jsp which is built using struts. It is 54 Kb. [B]Problem is page is not getting loading in JBoss server. Server console error is : “Code too large for try statement”.[/B] When I see the java file what server generates for the jsp, all the (form)fields … | |
Hey Guys.....I am new in web development and this was supposed to be my first Servlet but I am getting java.lang.ClassNotFoundException: servlets.HelloWorldServlet Now in my Apache tomcat folder C:\apache-tomcat-6.0.16\webapps\ServletExamples I have the WEB-INF folder.....which has the web.xml.... Web.xml is something like this... [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee … | |
in the below text sum the amount to those FLAG & MA_NAME fields are same and put them in one array, and unique item append to that array i did some work but difficult to get unique items [TEX] FLAG MA_NAME SUM_AMT -------- ---------------------------------------- ---------- Credit CASH 7777 Credit Salaries … | |
Hi, Not sure if this is the best place to post this but here is the situation: I have 3 instances of tomcat running on each of ports 3030, 3031 and 3032. These all work fine. I'm using IIS as web listener and have installed the ISAPI connector. This works … | |
I have all my webapps in Tomcat 4.1.27. All of them were compiled using JDK 1.4. Now I need to move the Tomcat 4.1.27 webapps to Tomcat 6.0.16. Do I need to recompile all my Java class files using JDK 1.6 before I put them on Tomcat 6.0.16? | |
I have subscribed to a hosting acount that has jsp hosting, they use jsp 2.0 with the tomcat 5.5 server. i am using the netbeans ide to compile my jsp page etc using the tomcat server. my project uses JSF. i am battling to get it working on the site. … | |
hey guys I've been trying to connect this jsp site with MySQL database for a school assignment and I just can't seem to get it to work. It's getting really really frustrating because I have copied my friend's code(which does work on his pc) and for some odd reason it … | |
[code=html]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.py.db.*, java.sql.*" %> <!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"> <link rel="stylesheet" type="text/css" href="style.css"> <title>Registration</title> </head> <body> <% String id = request.getParameter("login_id"); String password=request.getParameter("password"); String email= request.getParameter("email"); DataSource ds = new DataSource(); ds.executeUpdate("insert into user … | |
Maybe a dumb question but is there a way to redirect/forward a form (and all it's parameters) to another host using jsp? Like this [url]http://www.xxx.com/form.jsp[/url] -> [url]http://www.xxx.com/redirect.jsp[/url] -> [url]http://www.yyy.com/response.jsp[/url] I've tried with sendRedirect which doesn't pass along the parameters and forward that for some reason doesn't seem to work with … | |
Hi, I wish to save value entered by user in textbox in a session variable.my form contains many elements and i need to navigate back and forth.so i want to save the value once entered by the user in a session variable so that i can retrieve it and display … | |
Hello To Every One I have transformed xml document using servlet now i need to know how can i transform xml document using jstl. I have found this code very often but it doesn't work with a relative or absolute url. I need to pass parameters dynamically. [CODE]<c:import var="xml" url="<%=xmlFile%>" … | |
Hi everyone, I am trying to create a simple website using cookies to remember the last 2 links visited on my site. It is a very simple 2 column website: [code=JSP] <%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*"%> <!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>Testing … | |
Hi all, I'm a novice at using jsp and web design in general and have been trying to pass parameters between pages for a good few hours now but to no avail... Furthermore my classification of the problem may be inaccurate, please understand that I've only been using jsp pages … | |
Hi I have passed my json string to a jsp page, i would like to loop through this string to create a sql statement. Any ideas how i would go about looping through the json string in the jsp page? a snipet of thejson string looks like this: [CODE]{"CREATEDBYNAME":"TEST_ADMIN","NAME":"test001","TYPEID":"1900000000"}[/CODE] Any … | |
I tried this if i select abc i should get rrr or if i click wer i should get sky in two list boxes please help me out [code=html]<%@ page import="java.sql.*" %> <html> <script > function fun() { f1.Server.length=9; f1.Server[0].value='abc'; f1.Server[0].innerText='abc'; f1.Server[1].value='wer'; f1.Server[1].innerText='wer'; } function myCodebaseList() { if(f1.Server.value=="abc") { f1.Codebase.disabled=false; … | |
Hi, I am developing one website in which i have around 21 table in my database out of which 8 are master tables and rest are secondry tables. I want the data stored in some columns of master table to be displayed as drop down menu in my secondry table. … |
The End.