3,760 Topics

Member Avatar for
Member Avatar for aixing

I'm having some problems in creating sessions in JSP pages. I'm new to it so I need some advices. [CODE]<%@ page import="entity.*" %> <% [COLOR="Red"]HttpSession session=request.getSession(true);[/COLOR] String id = request.getParameter("idNo"); String fullName = request.getParameter("fullName"); String maritalStatus = request.getParameter("maritalStatus"); String height = request.getParameter("height"); String weight = request.getParameter("weight"); String gender = request.getParameter("gender"); …

Member Avatar for peter_budo
0
100
Member Avatar for AS_82

[B]Hi, I am developed a simple web application using servlet where it gives a response for a fixed request, but a third party application sends this request very frequently as per our project architecture, but due to this very frequent request, the tomcat server slow down after a few seconds, …

Member Avatar for stephen84s
0
1K
Member Avatar for CS Lover

Iam trying to show some results from database - multi results - on JSP page using struts, already did the servlet code to fetch the data as follow : [CODE] private void manage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{ ArrayList cats = new ArrayList(); PrintWriter out = response.getWriter(); try{ db.rs …

Member Avatar for CS Lover
0
177
Member Avatar for aixing

Hello, I'm doing a school project in .JSP and I came across this syntax error while inserting data in my database. [CODE] DB Query: INSERT INTO MainApplicant (MainApplicantId,FullName, MaritalStatus, Height, Weight, Gender, AgeAsOfLastBDay, DateOfBirth, PlaceOfBirth, IDNo, CountryOfIssue, Nationality, Race, HomeNo, OfficeNo, MobileNo, Address, PostalCode, CorrAddress, CorrPostalCode, EmailAddress) VALUES [COLOR="Red"]('P-8915710B,[/COLOR]'Jaslyn ', …

Member Avatar for aixing
0
151
Member Avatar for julioagueros

hi, I need some serious help with this topic, I am a newby at this so here I go... I am developing an webapp using a servlet as a "controller" and the jsp just to show the graphic part. The thing is: how can I get information from the jsp, …

Member Avatar for ~s.o.s~
0
53
Member Avatar for naash

In my application I have to retrieve names from database EMPLOYEE and display on my myPage.jsp page as a list when the page loads. But the problem is that I fail to display so . myPage.jsp [code] <html> <body> <form method="POST" action="/MyServlet"> <p>&nbsp;</p> <p>&nbsp; </p> <table width="13%" align="center" > <tr> …

Member Avatar for ~s.o.s~
0
93
Member Avatar for satin

HI.. I created a java web application.. And i want to create one exe file.. So clicking on that exe file should ask for installation process.. Is there any software tool available for creating the installable file for java web application.. Thanks..

Member Avatar for masijade
0
85
Member Avatar for satin

HI.. Is there any way to create an exe for java web application.. So that when i click on the exe , i should be able to launch my web application.. is there any software tool available for this.. Thanks..

Member Avatar for masijade
0
79
Member Avatar for sayeo87

Hi, I've googled for awhile but still can't seem to find a way to upload large files (>1 MB) using JSP. So far all I've found were methods that read the file byte-by-byte and temporarily stores the data in memory, making the filesize limit that you can upload very small. …

Member Avatar for ~s.o.s~
0
76
Member Avatar for RaniThomas

Hi, Can anyone please help me.. Im doing a J2EE Project for my own understanding... I have developed the JSP pages, Java-Servlets for [B]Login Page [/B](Username Txt, Password Txt, Submit, Sign Up) [B]Registration Page[/B](Required Fields with Submit) No special logics are there, Just i want the following things to be …

Member Avatar for ~s.o.s~
0
76
Member Avatar for CS Lover

Hello, Iam working on website, technically this is my first j2ee website .. so iam trying my best here .. I tried to make simple front-controller technique using servlets + JSP .. and this is wat i done : index.java [CODE] Map event = new HashMap(); event.put("cats", new cats()); event.put("login", …

Member Avatar for ~s.o.s~
0
143
Member Avatar for hidash_in

Hi All, I am developing online examination process using jsp. The questions and options are fetched from the text files. For each page i am displaying one question and four options. I am calculating the answers by using radio button. I given a next button and previous button for navigation. …

Member Avatar for masijade
0
282
Member Avatar for bhushanpatil

I have 2 combobox(select) on html page and i want to populate data in second combobox based on data selected in first combobox by user.I am using jsp and ajax for that.I have Ajax code but i dont know how to return data in combobox from server side jsp page.. …

Member Avatar for bhushanpatil
0
400
Member Avatar for sonu_gaurav1986

Can any body mail me the codes with snapshots for connectivity between oracle and CMP(EJB 3.0) . Can anybody suggest me the book for Java Enterprise Edition 5 with examples using Netbeans 6.1 or later. Mail me at <EMAIL SNIPPED>

0
42
Member Avatar for monad

Hello Folks, Suppose there are two text fields in a particular form. Now I want to iterate the focus within these two fields only. More elaborately, after the field one will has lost the focus, the field two will get the focus and after the field two will has lost …

Member Avatar for javaAddict
0
59
Member Avatar for c^2

Hi I'm trying to use a script in my servlet. When a user creates a query a list of items is generated. On clicking on the item, I want something (i'm trying to use a script but if there are better solutions please tell me) to get the id of …

0
41
Member Avatar for priyotosh

Hello everyone, i m designing a web site using jsp and i want to open any files like pdf . doc, etc in the browser without downloading it in the system, files are kept in the location(for eg .g://myfile.doc). please suggest a feasible solution.

Member Avatar for priyotosh
0
108
Member Avatar for tomdegetel

Hi, I have a web application running on a servlet container(2.3). All the servlets inherit from one single servlet that inherit from HttpServlet and implements a service() method. The service() method of the main page provides authentication mechanism and also a protection against 2x clicks and refresh from user's browser. …

0
36
Member Avatar for RaniThomas

Help me please... Can anyone tell me the link of sample J2EE Application(Downloadable) which involves JSP, Servlets, EJB, Java Classes.

Member Avatar for peter_budo
0
119
Member Avatar for tharsrini

how to implement the secure file encryption and decryption using jsp for web application? can i use RSA or DES encryption algorithm? plz somebody post me? it's urgent

Member Avatar for amarender1201
0
137
Member Avatar for naash

In my attachment there is one jsp page and 3 java programs - DBconnection, servlet and DBInterFace. In the jsp page the names from the server has to be displayed. Of course I cannot attach the database but there is something wrong in coding either in the servlet & interface …

0
45
Member Avatar for k2cool_87

i have a jsp page which initializes itself from a database...it has a series of checkboxes that are being created from the database values...now once the user selects the boxes required by him i have designed a function dat reads the values from the checked fields n stores them in …

Member Avatar for k2cool_87
0
130
Member Avatar for aixing

Hello, I want to link this JSP page to another JSP page. But it keeps coming back to the same page even though I've response.sendRedirect to another page. I'm new to JSP so I really have no idea what to do now.. Here are the codes below. [CODE] <!DOCTYPE html …

Member Avatar for javaAddict
0
88
Member Avatar for Thirusha

I want to develop a web app that can allow the user to change the type of database he/she is using(Access, Sql Server, Oracle), just by changing the connection properties in a properties file. I am assuming that this is possible. Would it become too complicated meaning way too much …

Member Avatar for stephen84s
0
86
Member Avatar for rajshree13

i want search textbox to my website, and pdf should be retrieved from the folder to browser ,user should enter the word and on submitting word, entered string should match any of the pdf file from the folder and pdf files should be displayed on browser and user should open …

Member Avatar for rajshree13
0
104
Member Avatar for samespace

Hi! I recently started learning how to implement MVC. I'm supposed to update a photo caption, but whenever I hit the "Update!" button, an error message appears saying, "The server encountered an internal error () that prevented it from fulfilling this request." note: i'm using netbeans 6.5 This is in …

0
43
Member Avatar for lordelf2004

I try to use JDBC-ODBC but some errors occur, and I don't know why. [code=Java]public void service(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); boolean found= false; PrintWriter out = response.getWriter(); out.println("<html><head><title>SearchAccount</title></head>"); out.println("<body><h1>Your result:</h1>"); out.println("<table border = 1 cellPadding = 1 cellSpacing = 1>"); String sodienthoai = request.getParameter("PhoneNumber"); //SQL String …

Member Avatar for stephen84s
0
275
Member Avatar for jsplp

hello, I am trying to update data into MS access databace using jdbc,jsp.setString() of ResultSet is not working on memo datatype of MS access database.Can anyone help me wid the method tht can be used its urgent plzzzz!

0
44
Member Avatar for ^CurryPork^

Hi all, I am newbie for JSP.i want to create a simple website which provide search function from Database(MySQL). I downloaded Apache Tomcat ,MySQL and JDK 6 Update 12 with Java EE.Who can tell me how to setup this simple website ? help! Thank You! :-)

Member Avatar for peter_budo
0
86
Member Avatar for vasthan_2005

i have apache server and i want to access database by jsp what can i do please gve me steps actually iam at intially stage in jsp

Member Avatar for ejosiah
0
78

The End.