4,248 Topics

Member Avatar for
Member Avatar for timon_zed

Hello good citizens, Am trying to implement a simple web based shopping system, however I want to find out if there is a way in which i can reduce the quantity of goods in stock after customer buys just by using servlets without me having to go to the database …

Member Avatar for timon_zed
0
468
Member Avatar for TryingToDo

1. I have a simple application, which uses a html table to represent the data retrieved from the database. How can I add to each row from the Html Table, a submit button. The button can be something like delete or modify the dates from that specific row, so I …

Member Avatar for TryingToDo
0
127
Member Avatar for gk0110

Hi all, I need to apply the pagination concept in my jsp page. The result set which is used to serve the jsp page is obtained through a dynamic query. Is it possible to apply the pagination concept in this case.. Please advice me .. Is it possible to do …

Member Avatar for ~s.o.s~
0
270
Member Avatar for timon_zed

Hi there, I have a servlet which is meant to retrieve data from the database by compairing the number entered via a web form. The trouble is that, it only gives me the last record in the database and not any other record. I have 5 records in the database …

Member Avatar for timon_zed
0
143
Member Avatar for ceyesuma

Hello. I was studying the database connectivity tutorial . I set it up with the database in MySQL. However I tried to set it up using Netbeans6.7.1. just to see if I could get it to run. it's not working out. Can this be setup in netbeans? I have attached …

Member Avatar for ceyesuma
0
245
Member Avatar for jmodeveloper

I am using jBoss server . when we are giving print from the client it does it print in client but its get print in the server.. i don't know how to redirect it...so help me... this is the piece of code:: PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); printRequestAttributeSet.add(OrientationRequested.PORTRAIT); printRequestAttributeSet.add(MediaSizeName.ISO_A4); PrintServiceAttributeSet …

Member Avatar for ~s.o.s~
0
104
Member Avatar for alsoumhi

hi guys, hope you are fine. I have project is about online form appliation , I have done half of the project, the part that the client login to the system and choose a form, filling the form , then sending to adminstrator a message saying one user has applied …

Member Avatar for peter_budo
0
87
Member Avatar for joewazen

Hello, I have many jsp applications connected to Apache Tomcat 5 and IIS 6 i need to find a way to limit the number of active users in each application either in tomcat or in IIS, i know there is a way to configure server.xml in tomcat but will that …

Member Avatar for joewazen
0
101
Member Avatar for Terry56

Hi to al :)l, Hope all will be fine. I want to include a link in the alert method.I tried this [code=JavaScript] alert("Please enable your java to experience this enhanced page." + '<a href="http://www.java.com/en/download/index.jsp" target="_blank">Free Download Java</a>'); [/code] But this will not made a link it shows all as it …

Member Avatar for almostbob
0
285
Member Avatar for jamello

I have a challenge. I need to provide a solution that would enable me capture images of occupants of several motor vehicles scattered around a geographical area. These images could be still images or video transmitted over the web to my server in my headquaters. I can program in JSP, …

Member Avatar for jamello
0
86
Member Avatar for alsoumhi

hi all, I have simple question which is how to access to servlets inside subdirectories of classes directory? I know that for one subdirectory inside the classes directory , you can access to servlets like this [url]http://host/servlet/packageName.ServletName[/url] but how about the servlet is inside one or more subdirectories? I have …

Member Avatar for masijade
0
67
Member Avatar for gsd

Hii frnds, I want to know how to insert data into a table through JSP when u have the table name as a variable...Pls help me out. [code] Statement stmt5=con.createStatement(); String qry5="insert into t1(id) values('"+dat0+"')"; int u5=stmt5.executeUpdate(qry5);[/code] I know this stuff. Wat I want to know is how do we …

Member Avatar for peter_budo
0
136
Member Avatar for alsoumhi

I want to understant pager-taglib idea , how to use it , where to install it in which directory. please provide me with tutorials that can explain it with clear examples because I read about it and got confused thank you in advance

Member Avatar for peter_budo
0
121
Member Avatar for nonhlah
Member Avatar for Thirusha
0
53
Member Avatar for alsoumhi

Hi all, I am having a problem in JSP, it is very simple. I have a java class and a JSP program, my JSP program will call the a method of java program in order to work as one complete application .however, I got an error says undetermined method. Based …

Member Avatar for ~s.o.s~
0
60
Member Avatar for ishlux

Hi all, Tomcat5.5 is not working, [url]http://localhost:8080....if[/url] i write this its giving resource not found 5.5.28......i have made all the set as mentioned in this link [url]http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-5.5.html#Start-Server[/url] but still i am not finding any difference.........pls help me out thanks ishlux

Member Avatar for ~s.o.s~
0
73
Member Avatar for redsunit

hi, everybody i have a question. can jsp get data from other pages? thank.

Member Avatar for redsunit
0
42
Member Avatar for rajshree13

I want JSP code to expire the username and password in JSP. Please help in this regards It's Urgent

Member Avatar for peter_budo
-1
86
Member Avatar for ceyesuma

[i] Topic The topic of this question is: school_http-Netbeans ex. Of MVC model 2 db connections [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] ……………………………………………………………………………………………………………………………………………………………………………………………… System: System info: Netbeans6.7.1,jsf1.2,MySQL ……………………………………………………………………………………………………………………………………………………………………………………………… Purpose: The purpose of this post is: Understand why attached program compiles but after the initial …

0
89
Member Avatar for feoperro

Hi, I was wondering if there's a framework that can help me with the following: I currently have regex checks on html input fields that work 100%, I would like to also have a check to the database for duplicate records so that if the user enters an ID that …

Member Avatar for peter_budo
0
121
Member Avatar for cissi

Hi! When I click on h:outputLink after using the browsers back button I get a viewExpiredException. Som info of my setting in web.xml: org.apache.myfaces.SERIALIZE_STATE_IN_SESSION true javax.faces.STATE_SAVING_METHOD client How can I fix this or go around the problem. I am using jsf 1.2.

0
103
Member Avatar for ishlux

Hi all, I have downloaded mysql, please tell me how to create database, and tables in mysql, .. just forward me the queries for how to create table, database, and how to make database connection in my jsp code...........reply me soon pls.......... give me example code,,,, i wil try to …

Member Avatar for masijade
0
70
Member Avatar for beanboy

hi helper,.... i'm trying to implement meta search engine(java, jsp) for a website. trying to use carrot2 for organising search results and using yahoo search API. pls give me an idea of implementing a meta search engine.i googled but didnot find any material in net. thx beanboy.

0
82
Member Avatar for MxDev

Hi guys, Is there any JSP IDE which facilitate the development of webpages as in ASP.NET using Visual studio with minimal written code. Thanks in advance

Member Avatar for qhuwn
0
132
Member Avatar for ishlux
Member Avatar for stephen84s
0
119
Member Avatar for ishlux

Hi all, I am New to jsp, i want to create database,, i have ms access, but it does not store more data, so i want to mysql database , give me the link , which version wil be better for my jsp application ......reply soon pls...and tel how to …

Member Avatar for Thirusha
0
154
Member Avatar for ishlux

Hi all, I am getting this error:java.lang.ClassNotFoundException: sun:jdbc:odbc:JdbcOdbcDriver . when i run my jsp code [code=java] <html> <head><title>registration page</title></head> <body> <%@ page import="javax.sql.*,java.sql.*,javax.servlet.*,javax.servlet.http.*"%> <%! String firstname1;String lastname1;String email1;String address1; String state1; String password1; int phno1;String cpassword1;%> <% String firstname1 = request.getParameter("fname"); %> <% String lastname1 = request.getParameter("lname"); %> <% String …

Member Avatar for ishlux
0
887
Member Avatar for ceyesuma

[i] Topic The topic of this question is: faces-config not working. [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] ……………………………………………………………………………………………………………………………………………………………………………………………… [u] [b] System: [/b] [/u] [b] System info:netbeans6.7.1,jsf1.2 [/b] ……………………………………………………………………………………………………………………………………………………………………………………………… [u] [b] Purpose: [/b] [/u] [b] The purpose of this post is: understand why the model.java …

Member Avatar for ceyesuma
0
144
Member Avatar for osirion666

Okay very odd Error i created and admin page in jsp with add update and delete functions the add and update work perfect on both IE and FF however delete works 100% in ff and not IE when i refresh in FF the record is removed while IE seems to …

Member Avatar for osirion666
0
77
Member Avatar for osirion666

Okay so i have a delete button in my application and want to replace the button with an image i have tried using img type however when i click this the getparameter function - i need this to run jsp code sql delete query- it doesnt work - the button …

Member Avatar for osirion666
0
72
Member Avatar for osirion666

Okay so i am having a major problem i am using an image button to delete a recrod from a DB when i use FF it deletes perfectly runs are you sure you want to delete JS and if clicked okay deltes the record In IE 7 however this is …

Member Avatar for osirion666
0
90
Member Avatar for Capra

Hi, I am trying to setup a tomcat server in eclipse galileo java ee to test a simple JSP page. I have problem, but no solution to it. So, if i want to see [url]http://localhost:8080/Project/WEB-INF/Hello.jsp[/url], it gives me error page HTTP Status 404 - /Project/WEB-INF/Hello.jsp I have tried to change …

Member Avatar for peter_budo
0
376
Member Avatar for timon_zed

Hello people, I want to find exactly how I would upload an image to a database from a JSP web form.The form would have to support other formats as well such as text and should cater for the image upload as well.

Member Avatar for peter_budo
0
994
Member Avatar for push

hi pls...any one replay me i wanted to update status of shoping cart item(status using dropdownlist for selecting option). And this value should depend on selected checkbox value. That is i wanted to select required item and for that item status should be updated by passing this itemid and status …

Member Avatar for javaAddict
0
475
Member Avatar for EddieC

For three years running, the Eclipse Foundation and its development community have successfully released—in full synchronicity—dozens of interoperable projects consisting of millions of lines of code. Impressive feat. Perhaps some of those developers might consider running for public office here in the U.S., where with energy prices approaching the stratosphere, …

0
93
Member Avatar for EddieC

It’s like TiVo for Java EE apps. At least, that’s what Replay Solutions says about [URL=http://www.replaysolutions.com/technology/replay-director-java.php]ReplayDirector for Java EE[/URL], which began shipping today. According to claims, it’s unlike other software playback/record products because it virtualizes the execution environment and records not only code, but also program inputs, database transactions and …

1
223
Member Avatar for EddieC

It was the belle of the ball stumbling as she made her grand entrance. Sun Microsystems on Tuesday, hoping to make a big splash at JavaOne with the launch of its shiny new platform for rich internet application development, saw demos of [URL= http://www.sun.com/software/javafx/index.jsp ]JavaFX [/URL]repeatedly crash. Like blaming it …

0
537
Member Avatar for John A

Monday, Sun Microsystems released the latest version of Java -- Java Standard Edition 6. It's available to developers in the Sun Developer Network ([URL]http://java.sun.com[/URL]). The final release is planned to ship in January. Java's taken a lot of time for this release. They've worked at it for at least 2 …

Member Avatar for 'Stein
0
134
Member Avatar for happygeek

OK, I know that Sun Microsystems has already open-sourced the Java EE5 application server code under the auspices of its [URL="https://glassfish.dev.java.net/"]GlassFish [/URL]project, but the breaking news is that the full Java source code is to follow next. Sun has announced that the Java code will be covered by the General …

Member Avatar for jwenting
0
178
Member Avatar for thekashyap

------------------------------------------------------------ [COLOR=Blue][B]Intro:[/B][/COLOR] This is a small program that measures the performance of given java classes. In snippet there are 2 classes: 1. TestClass.java contains all java classes that are being measured for performance, I've picked up Narue's Sorting Algorithms as AUT (application under test) 2. AJPerf.java: contains the aspect that …

Member Avatar for thekashyap
0
150
Member Avatar for sharao

hi i need list of cities, when user select the agency....just like if we select state in one list box, in another list box have to get list of cities to that particular state.... for that i did some process but little bit error plz follow the code... actually i …

Member Avatar for Thirusha
0
101
Member Avatar for ishlux

Hi all, I want to run jsp programs, where should i place the folder in tomcat5.5 and how to run it. please help me out. Thanks

Member Avatar for masijade
0
127
Member Avatar for danitba

Hi, I have buffer with data, which I am presenting as JSP/javascript page. I want to send the data to the printer in totally different format of the one presented on the screen. The size of the buffer is not known, and it may take some pages- I want to …

0
35
Member Avatar for ishlux

Hi all, how to do xml mapping in tomcat5.5 i have an xml code here just tell me what should be thier in blank space <web-app> <servlet> <servlet-name>firstservlet</servlet-name> <servlet-class>........</servlet-class> </servlet> <servlet-mapping> <servlet-name>firstservlet</servlet-name> <url-pattern>.............</url-pattern> </servlet-mapping> </web-app > thanks

Member Avatar for javaAddict
0
66
Member Avatar for ishlux

Hi, I have deployed my folder called Library in web apps tomcat5.5, i can find my folder in the tomcat manager, but when i click its showing this error: requested source in not available (Library) As i am new to this i dont know how to proceed please help me …

Member Avatar for stephen84s
0
157
Member Avatar for ishlux

Hi all, I have deployed my folder in tomcat5.5, while running its giving error xml validation disabled. so please help me how to run my program.. regards ishlux

0
59
Member Avatar for sandipdandel
Member Avatar for kvprajapati
0
73
Member Avatar for ishlux

Hi all, I have installed tomcat 5.5 , now i want to run a simple servlet programme, on web browser, how do i deploy my folder into tomcat 5.5.....i am giving [url]http://localhost:8080[/url]. its giving page cannot be displayed......... please help me out.

Member Avatar for kvprajapati
0
106
Member Avatar for tha_ratl

Hi all, I need help regarding following problem. I'm getting HTTP get responses from a program(Kannel) periodically. The HTTP is in the following format. "http://localhost/sms.php?A=10&B=abc" I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as …

Member Avatar for tha_ratl
0
156
Member Avatar for kinger29

I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to [url]http://localhost:8080[/url] I get an http status 404 error. My server is started …

Member Avatar for Capra
0
224

The End.