3,760 Topics

Member Avatar for
Member Avatar for beanboy

hi helpers, i'm trying to read an array from jsp in to java(servlet) page the code is JSP CODE (readingcheck box values): [CODE] String select[] = request.getParameterValues("sel"); if (select != null && select.length != 0) { for (int i = 0; i < select.length; i++) { out.println(select[i]); [/CODE] its working …

Member Avatar for Thirusha
0
2K
Member Avatar for funlovingashish

hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and …

Member Avatar for funlovingashish
0
216
Member Avatar for ryno365

I'm trying to learn some struts through this tutorial: [url]http://www.netbeans.org/kb/docs/web/quickstart-webapps-struts.html[/url] Now I've completed everything but I'm getting this weird error in the browser: [QUOTE]type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: An exception occurred processing JSP page …

Member Avatar for kvprajapati
0
172
Member Avatar for alsoumhi

Hi all, I am trying to access login page (html page) from subdirectory of my web directory , the login page calls loginServlet which is reponsible for authintication, then the loginServlet response back to the client a web page to the user(whether user or adminstrator) . my web directory called …

Member Avatar for peter_budo
0
101
Member Avatar for peter_budo

I need to read XML document submitted to doPost() method ( I do not want to upload it, just read in and pass for further processing). Here is a general code that I use for now to see if file been received. [code=Java] public void doPost(HttpServletRequest request, HttpServletResponse response) throws …

Member Avatar for peter_budo
1
150
Member Avatar for nazd28

hi im getting an error wen i give this syntax in order to retrieve info from my db into a txt box <input type="text" name="tname" <%out.println(rs.getString(1));%>/> pls help

Member Avatar for nazd28
0
154
Member Avatar for nazd28

Hi i hve used the syntax provided by ul in order to del multiple rows using checkboxes but for some reason the code shows we an error wen i give the value of the checkbox as one of my feilds so that i cud del the rec on that bases. …

0
77
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
462
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
122
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
249
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
139
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
235
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
101
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
86
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
97
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
85
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
64
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
132
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
119
Member Avatar for nonhlah
Member Avatar for Thirusha
0
49
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
58
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
70
Member Avatar for redsunit

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

Member Avatar for redsunit
0
40
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
83
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
86
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
116
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
100
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
67
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
123
Member Avatar for ishlux
Member Avatar for stephen84s
0
116

The End.