3,760 Topics

Member Avatar for
Member Avatar for sasi_88

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 …

Member Avatar for brynFlew
0
201
Member Avatar for javanerd21

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"%> …

0
128
Member Avatar for ngod23

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 …

0
62
Member Avatar for loken

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 …

Member Avatar for cute_adi
0
4K
Member Avatar for cb0058385

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?

0
74
Member Avatar for anithajerome

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

0
62
Member Avatar for EagerLearner167

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 …

0
78
Member Avatar for anandv1986

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 …

Member Avatar for Qamar_DW
0
146
Member Avatar for saics

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.*" …

Member Avatar for peter_budo
0
164
Member Avatar for Eric Cute

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 …

Member Avatar for peter_budo
0
886
Member Avatar for brynFlew

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 …

Member Avatar for peter_budo
0
240
Member Avatar for konradhoppe

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 …

Member Avatar for konradhoppe
0
90
Member Avatar for manish250

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

Member Avatar for manish250
0
359
Member Avatar for Ambislm

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', …

0
81
Member Avatar for J_coder

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 …

0
36
Member Avatar for sn4java

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"}' /> …

0
88
Member Avatar for nitins60

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 …

Member Avatar for masijade
0
73
Member Avatar for raghujosh

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. …

Member Avatar for raghujosh
0
138
Member Avatar for sasi_88

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.

0
58
Member Avatar for sangram1986

[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" …

0
48
Member Avatar for cb0058385

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.

Member Avatar for cb0058385
0
151
Member Avatar for rizwan_aman007

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.

Member Avatar for rakesh4java
0
87
Member Avatar for payal888

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 …

Member Avatar for javaAddict
0
193
Member Avatar for lse123
0
60
Member Avatar for kapilshanaz

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 …

0
61
Member Avatar for rm_72756

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) …

Member Avatar for peter_budo
0
38
Member Avatar for anithajerome
Member Avatar for chepelucho

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]<%@ …

Member Avatar for parry_kulk
0
294
Member Avatar for mokztan

[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 …

Member Avatar for peter_budo
0
231
Member Avatar for Shanti C

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 …

Member Avatar for Shanti C
0
275

The End.