3,760 Topics
| |
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"); … | |
[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, … | |
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 … | |
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 ', … | |
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, … | |
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> </p> <p> </p> <table width="13%" align="center" > <tr> … | |
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.. | |
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.. | |
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. … | |
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 … | |
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", … | |
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. … | |
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.. … | |
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> | |
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 … | |
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 … | |
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. | |
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. … | |
Help me please... Can anyone tell me the link of sample J2EE Application(Downloadable) which involves JSP, Servlets, EJB, Java Classes. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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! :-) | |
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 |
The End.