4,248 Topics

Member Avatar for
Member Avatar for nare_splen

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 …

Member Avatar for jwenting
0
88
Member Avatar for irtiza

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 …

Member Avatar for sinan.yumak
0
104
Member Avatar for brr

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 …

Member Avatar for jwenting
0
91
Member Avatar for Belisarius

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 …

0
51
Member Avatar for chicago1985

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?

Member Avatar for jwenting
0
65
Member Avatar for Jcw69

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

Member Avatar for jwenting
0
91
Member Avatar for genji

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 …

Member Avatar for jwenting
0
90
Member Avatar for Beryl

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

Member Avatar for jwenting
0
98
Member Avatar for tte

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 …

Member Avatar for jwenting
0
143
Member Avatar for Ankita B

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 …

Member Avatar for jwenting
0
1K
Member Avatar for shaikh_mshariq

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

Member Avatar for jwenting
0
135
Member Avatar for Brucedon

Hi Guys, wonder if somone can help?? My windows versions Task bar is unhighlighted so basically useless to me. I have read a similar thread and followed the process can someone look at the log and give me some insight on what I need to do to get my taskbar …

Member Avatar for caperjack
0
249
Member Avatar for sorter

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 …

Member Avatar for jwenting
0
95
Member Avatar for Lum1n0us

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 …

Member Avatar for Lum1n0us
0
700
Member Avatar for Thirusha

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 …

Member Avatar for Thirusha
0
95
Member Avatar for sandeep_2482

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

Member Avatar for panther786
0
89
Member Avatar for dream_ankur

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

Member Avatar for kaushik259106
0
220
Member Avatar for Nithu25

Hi, I have a problem in catching window close event in safar. If the user close the browser window without logging out, i have to invalidate the session. The problem is that , how to catch the window close event in safari? Unload cannot be used, since unload will be …

Member Avatar for Nithu25
0
69
Member Avatar for nireekshan

hai i am nireekshan i am using mySql database in this i am create employe table Now i am davalep One .HTML Page in this i am write the employe table fieldes-----------And write Jsp page inThis i write MYSQL CONNection code And Insert Prapared Staments Now i am run TOMCat …

Member Avatar for mr4top
0
92
Member Avatar for sivaslieko++

Hi, I am developing web page by JSP. I have JAVA classes and I need to implement functions to connect DB2 in JAVA classes. But, I could not connect to DB2.. When I searched I could not find any specific information about "JAVA DB2 connection string". Appreciates any help...

Member Avatar for jwenting
0
139
Member Avatar for vedmack

Hi i got a jsp page which uses an external .js file and also some internal javascript too... the problem is that none of the functions that inside the external .js file are recognized inside the jsp. But... if i copy the source code of the jsp into an html …

0
75
Member Avatar for annajee

The question means this: One bank is providing mobile services via GSM modem only for online banking registered customers.Here the customer can register for mobile services provided by Bank through his online bankig account.When he registered for these services successfully (i.e. he successfully enterd all the fields of the reg …

Member Avatar for jwenting
0
91
Member Avatar for nikk

Hello friends, Can you please tell me what is the significance of following tags in HTML/JSPs 1) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2) <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> Please reply. Thank you.

Member Avatar for peter_budo
0
79
Member Avatar for Thirusha

Is is possible to clear the value of a bean using the jsp:setproperty tag? i have tried [CODE] <jsp:setProperty name="MyNameBean" property="subscriberName" value="" /> [/CODE] but it didnt work. Please help!

Member Avatar for Thirusha
0
135
Member Avatar for kommuru

Hi, I am kommuru going to develop a website having a forum,blog,wiki, calendar etc. I have some work experience in servlets and Jsp. Can anyone let me know what java technologies, I need to use for implementing the above mentioned. Thanks alot!

Member Avatar for phper
0
69
Member Avatar for deepakraj

how the image is upload and download in mysql databse using jsp. also how the downloading image can be show on the webpage.. as same in any profile (like in orkut)

Member Avatar for jwenting
0
53
Member Avatar for vaskar

Hi All, why do we need filter in a servlet? When we use servlet filter? pls help me thanks!

Member Avatar for jwenting
0
58
Member Avatar for koushika

i have a table displayed with bookisbn , booktitle and bookauthor etc..in which i have to make the bookisbn column values as hyperlink to a page name bookinfo.jsp which will diplay all copies of the book under the clicked isbn number . i am attaching the code below: {code viewbooksforsale.info …

Member Avatar for jwenting
0
158
Member Avatar for GREENHOUSE

Can anyone get aol to worl on windows 64. is there any way to get it working even tho they dont support windows 64. in another site someone said this:- Success. Turns out the latest AOL cd-rom install did not install a 64bit winminiport, so it means no 64 bit …

Member Avatar for frankleichler
0
259
Member Avatar for b1naryMan

Hi, I'm a newbie to this forum and I wanna ask a few questions:) How can I export using jsp, data that are store in sql database to word or excel or even pdf? Is it possible to be done? How can in jsp to provide into my webpage an …

Member Avatar for jwenting
0
97
Member Avatar for ejasalikhan
Member Avatar for Felicia_M

Hello all!! This is my first post here... anyways, i have this annoying popup that opens everytime i turn on my computer - it is searchportal.com. It doesnt do anything except annoy the hell outta me -- but im scared that it might be pointing towards someother software installed on …

0
56
Member Avatar for friends_ajai

I am a student of b.tech with computer science And I am using a "JSP BASED LIBRARY MANAGEMENT SYSTEM " project which I have downloaded from a website("sourceforge.net")..But I m facing problems in using it succesfully. I have installed : a.tomcat 5.0 b.mysql5.0 c.j2sdkee1.3.1 d.jdk1.5.0 2.set all the envoirment variables …

Member Avatar for kristo_abhi
0
85
Member Avatar for rapchak

hi everyone. I am doing a project in jsp where i need to check the duration of logins of a particular client. If the client doesnot login for 6 months(say) his account should expire. For this purpose i am taking system date and storing it in sql database. I have …

Member Avatar for jwenting
0
127
Member Avatar for shashipkiran

I have a JSP page which displays the data extracted from the database in a normal TREE STRUCTURE.....I am using only JSP codes for this purpose, not javascript..... eg ENGLISH INTRODUCTION (Child Node) PHYSICS MECHANICS (Child Node) MATHS I want the display to be more stylish....using additional characters or symbols …

Member Avatar for jwenting
0
72
Member Avatar for Ankita B

Hi, I am trying to make a table that has following columns: site id,txn id,txn name,target id,target db there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data …

Member Avatar for Ankita B
0
83
Member Avatar for gayathrikrishna

how to get and insert checkbox checked values in db using jsp. im generating checkboxes dynamically at runtime

Member Avatar for jwenting
0
71
Member Avatar for ajith84

my jsp page has multiple buttons. I want to get different jsp pages on each button click

Member Avatar for peter_budo
0
33
Member Avatar for RanipaKeyur

[COLOR="Red"][B]Can i do the database connectivity in the flash file through jsp? or there any other way?[/B][/COLOR]

Member Avatar for peter_budo
0
52
Member Avatar for Mahesh59

Hi i'm New to this site.I want to know how to upload files into database using jsp & retreiving them.PLzzz urgently reply me.

Member Avatar for peter_budo
0
81
Member Avatar for Parsu7
Member Avatar for jwenting
0
84
Member Avatar for nireekshan

hello i am nireekshan i have some prouble in database connection send my erres pless see and send Some Code . //...............................// [code=java]import java.sql.*; class Student { public static void main(String args[]) throws Exception { try { import java.sql.*; class Student { public static void main(String args[]) throws Exception { …

Member Avatar for p4u9999
0
372
Member Avatar for sivaslieko++

I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything …

Member Avatar for peter_budo
0
90
Member Avatar for nireekshan

hello iam nireekshan i have davalep one web application in this every new user login after the submet the server send Back his IDNO AND his states no how plse

Member Avatar for jwenting
0
58
Member Avatar for nikk

Hello friends, I want to display an image in my JSP using expressions (<%=abc%>)tag. But, the problem is that the JSP does not show the image. I store the path retrieved from database (MS SQL) in a "path" variable and then try to display it in JSP using <img> tag. …

Member Avatar for jwenting
0
120
Member Avatar for mehmedovic

Hello i created this and i dont know how to debug it because when ever i create a script the part i hate is teh debuging so can some one please help me out and thank you very much --> [code=javascript] <HTML> <HEAD> <TITLE>JSP Debugging</TITLE> </HEAD> <BODY> <% import java.io.*; …

Member Avatar for jwenting
0
109
Member Avatar for javagurlush

How To Filter Invalid(vulgar) words in JSP? when data was entered to a textbox it must not contain vulgar or bad words.The event is processed before data is saved and posted. Do I need to specify each word or there are some shortcuts for it? Can you give me a …

Member Avatar for peter_budo
0
317
Member Avatar for nikk

Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I …

Member Avatar for nikk
0
182
Member Avatar for shweta797

Hi I have a problem in upload file using jsp.At localhost it is working file but at server when client upload a word document it is corrupted .A text file is uploaded successfully. Please Help

Member Avatar for ~s.o.s~
0
131
Member Avatar for nireekshan

hi i want to use database MS-Access, how to connect the jsp to Ms-access, plse send code

Member Avatar for ~s.o.s~
0
127

The End.