3,760 Topics
| |
hi, i have two combo boxes one for country and another for state both populated from data base dynamically. [CODE] <%@page import="java.sql.*"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <select name="ctry"> <% String city=""; Statement pstm; ResultSet rs; try{ Class.forName("oracle.jdbc.driver.OracleDriver"); Connection connect =DriverManager.getConnection("jdbc:oracle:thin:@172.17.0.14:1521:develop","devuser","devuser"); pstm = connect.createStatement(); rs … | |
please do inspect my code please, any error? in my net bean, its show the overall of the coding was red color. here is the code : [CODE] <%-- Document : updateAssignment Created on : Jan 18, 2011, 2:09:56 PM Author : Khalid Bin Dris 2008401558 --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> … | |
Hi, Hope you can help, a client of mine has a site with dynamically generated URL's, I want to make the URL's SEO friendly, clean them and rewrite them as new keyword rich URL's and then redirect the old URL to the new. I am trying to carry out some … | |
I am currently working on a project (contact IS) built using openlaszlo and I am using mysql as database... I use JSP as the servlet that will handle the connection to the database and present the information to openlaszlo as XML, however when I try to add a new contact … | |
Hi can someone plese clarify this: Should all the Persistant Message be delivered to all the Subscribers in a Topic? If yes, What happens if a Non-Durable Subscriber is down? | |
Hi I need to send email thru my jsp with authentication.but i am getting an error as: Could not connect to SMTP host: localhost, port: 587; Pls if anybody know the solution,guide me | |
I'm a student. I am trying to make simple project for online borrowing book system. Basically the flow is from Borrow.jsp (The user select which data their want to update) The UpdateBorrowBinder.java will grab the object and pass to sql then bring the result to appear in UpdateBorrow.jsp But the … | |
Dear Folks, This is anand, i m new to Tomcat5.5, i have given my directory structure i think nothing wrong with this but it is showing some error. Webapps I anand I WEB-INF, helloworld.jsp I classes,web.xml If i try to run my simple helloworld jsp program it is showing error … | |
Any one help regarding this code... i used <%@include file=" "%> directive code..the code is executing well...but this include code nt working i.e it is nt executing..but simple code with include working well plz plz any one provide me the solution very soon [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" … | |
I have a bit of a problem here. The situation. 1. I have created a Dynamic Web Project. (good) 2. I have created a logon JSP (good) 3. I have created a css (good) 4. I have created a JS file (good) JSP, CSS are located in WebContent/WEB-INF/ JS located … | |
Hello, and thank you for youre time, I have a problem with my jsp application, when i try to get the values from the html form on the jsp page process.jsp, it sets the values of each element but then does not return them to the java page. It keeps … | |
Hi, I am absolutely new to jsp and in general to webdesign and I designed the indexpage of my homepage. For all subsequent pages I want to use the same design, with the same frames and so on. The only thing that should change for the other page is in … | |
hello everyone I want to implement the data grid control in my jsp page.I hv searchd a lot in google but still yet i m not clear.can anybody give me some idea or suggestion how to implement it | |
This is my sample application which provides result as follows: [CODE]Array Values : arr[0][0] :6 arr[0][1] :0 arr[0][2] :0 arr[1][0] :0 arr[1][1] :0 arr[1][2] :0[/CODE] am using the jQuery Highcharts: [CODE]chart = new Highcharts.Chart({ chart: { renderTo: 'container', defaultSeriesType: 'column' }, title: { text: document.chart.chartTitle.value }, series: [{ name: 'USA', … | |
Hi, I'm relatively new to JSP (J2EE). While I was reading I encountered the following JSP declarations. (<%!>) now is my question how does the servlet save the new value, because I thought that the container creates a new thread for every request to access the servlet. So by doing … | |
We are trying to load a flash file in a browser from local machine its loading only in Internet Explorer (IE) but not in other browsers. Please suggest me some solution. [code=html]<body> <object id="flowplayer" width="300" height="200" data="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" type="application/x-shockwave-flash"> <param name="movie" value="E:/SkillMate1/video/zelda.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value='config={"clip":"E:/SkillMate1/video/zelda.swf"}' /> … | |
Hello friends, I am working on online book store project using Java and Servlets. I am struck at desgining part. The scenario is simple anyone can come and search books but only registered customers can buy them. 1. Is it good to create multiple database connections or single connection? If … | |
I have about 500 items in a database (MS SQL server 2008). These individual items have some other properties stored as tables. I am trying to display these items as html links on either a JSP/HTML page. I have a page with alphabets A....Z which are html links in themselves. … | |
would like learn how to to create tree view using JSP. But I don't have any idea to work it out. Also the content of the tree is retreived from the database. | |
[code]<?xml version="1.0" encoding="ISO-8859-1" ?> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="javax.servlet.http.*" %> <%@ page import="org.apache.commons.fileupload.*" %> <%@ page import="org.apache.commons.fileupload.disk.*" %> <%@ page import="org.apache.commons.fileupload.servlet.*" %> <%@ page import="org.apache.commons.io.output.*" %> <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <%@ page import="javax.mail.internet.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Presently I am learning JMS. I have knowledge on Java, Servlets and JSP. I am bit confused whether should I learn EJB or AJAX next. Please suggest which path should I take. And tell me, does AJAX comes in line with EJB,Hibernate,Struts. Thanks in Advance. | |
How can we add a control on our .jsp webpage for uploading several image files as done in gmail attachment, Where a Remove button also appears if we wanna remove the particular attachment. | |
Hello everyone, I've developed this java class [CODE]public class Counter { public static int counter; public static int getCounter() { counter++; return counter; } }[/CODE] and the Jsp file is [CODE] <html> <body> The page is <% out.println(Counter.getCounter()); %> </body> </html>[/CODE] jsp file is stored in the ROOT folder and … | |
JavaFX and JSF Have any common/similarity? JSF May used together with Struts? | |
Hi Guys, I am doing a web based jsp project. Here we primarily read an image and store it to a relative folder.This image is then called in a jsp page. The previous image is loaded instead of the recent one. I need help from you guys regarding this, So … | |
Hi - I have a JSP which gets data from database via VO. Same time user also can enter some of the data which was not populated from database. Once I enter everything, hit submit- values are not set into the form bean. both input VO (data comes from DB) … | |
How to retrieve a image stored in mysql using jsp. | |
Hello I have this.. I have a Scrip with name [B]MiScript.jsp[/B] and code.... [CODE]<%@ include file="Func.jsp" %> <jsp:include page="Func.jsp"/> <% String Mipath = "C:\\"; String Mifile = "File.Ext"; if(mifuncion(Mipath , Mifile )) { out.println("OK!!!"); } else{ out.println("ERROR!"); } %>[/CODE] And I have the other Script [B]Func.jsp[/B] with a Method.... [CODE]<%@ … | |
[I]Hi, I'm a intern as a web developer in a bank.. I really don't know much about this field but still im trying. I am a given a project "Service Request Monitoring System".[/I] [COLOR="Red"] IDE: Eclipse Europa Database Mgt System: Postgre SQL 9.0 Server: Tomcat 6.0[/COLOR] [B]my task now, is … | |
Hello all, I am working on a project where i save client machine path into my database. And if end user clicks download files button, then the files from ftp server have to be download in client machine directly. My application resides in web server. Please give me some suggestions … |
The End.