4,248 Topics
![]() | |
hello! i wanna implement an text search engine ......... that will find the given text from all webpages of my website ..... .... is it possible to implement ??? (m newbye in jsp) . if not what are other options ??? any related idea ????? thanx in advance. | |
I need a complete source code of ONLINE EXAMINATION SYSTEM in JSP+ORACLE. Can sombody help me? my e-mail id : <EMAIL SNIPPED> | |
hello I am very new to netbeans IDE 6.5. Now I connect My SQL database in netbeans after that I want to retrieve data from webpage and store into it. Not in a traditional way that old jdbc-odbc model..so please help me......... | |
Hi. I am learing JSP and testing mail. but I don't know why error generate. Please help me. Source code. [code] package tags; import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class HelloMail { public static void main(String args[])throws MessagingException { String name ="jsp learning"; String from = "kim.ilikeenglish.gc@gmail.com"; String to … | |
i have two radio boxes in a jsp using html and i want to make one checked based on a condition. I can do that in php but i don't know how to do that using jsp. Can anyone help me. [code]out.println("<tr><td>Billing Model"); out.print("<tr><td><input type='radio' name='appStatusDescription'value='0' >Prepaid<br>"); out.print("' </td>"); out.print("<td><input … | |
HI This is the simple code you seethere'a an for loop, so there are many submit buttons ! when i click a submit button on page how should i know which button it was Thanks [code] <table> <jsp:useBean id="o" class="shopping.shop"/> <jsp:setProperty name="o" property="id" value="${userid}"/> <% String f[]=o.listshop(); for(int i=0;i<f.length && … | |
hi all, I am having 2 combo boxes in my jsp page. one is of country and the other one is state. when i select the country value all the states of that country need to come in statecombo from database. any ideas please share with me. | |
Hello, I am creating a little webpage that allows a person to chose between 3 different ways in which they can query for results (either id, date, or symbol). Everything works fine if choosing id and entering a value to search for, but if date or symbol is chosen then … | |
hi, i have created 3 reports in myeclipse blue 7.1 as customer_sale cutomer_region & customer_year. i want to create a jsp page in myeclipse blue 7.1. In that jsp page i have a drop down menu. now i want to include the names of all these reports mentioned above in … | |
Hello, I am very new to JSP but I am familiar with Java. I am having an issue with some error messages I don't understand. when I use this syntax: [code=jsp] <jsp:useBean id="search" class="search.SecSearchParams" scope="request"> <jsp:setProperty name="search" property="*"/> </jsp:useBean> [/code] I get this error: The value for the useBean class … | |
Hi. I am developing an e-mail application for lab works. I am using servlets mainly along with JSP and using HTML with CSS. I have two questions.Please tell me the solutions. Its important and its urgent. 1. As usual I give the provision for attachments.I wrote code for uploading files … | |
Hello guys, I am converting my servlet page into mvc form and struck at perticular point. I am using DAO class and VO class for database related tasks.Here I am sending u a little bit of my code segments so taht u can understand my problem. In DAO class:- //I … | |
Hi i'm just start to learn jsp. now i got 1 task to complete. I want to create navigation in jsp by recursively. my case is retrieve from database and list in jsp. display all organization name in jsp from mysql. Organization ABC CDE EFG once they click any of … | |
Hi, I am writing a jsp app. Thing is I cannot get the "hhello0" String in the destroy method to echo after the thread is stopped, fourth line from the bottom. Thanx already :S [code=java] package Transaction; import bean.*; import dealer.DealerDetails; import java.io.*; import java.sql.SQLException; import java.util.*; import java.util.logging.Level; import … | |
Hi, I am calling the jsp page using httpUrlConnection.openConnection. The Jsp page displays the content dynamically by calling the javascript function. I am not able fetch the content of the jsp , when using the httpUrlConnection.openConnection, it displays the entire source of the page. Please advice . Thanks & Regards, … | |
Hello Everybody I want to use Gzip compression in my web application which is under construction. I am developing it in Struts and I want to know how to use Gzip in Struts. As Gzip concept is very new for me, it will be better if a little detailed explanation … | |
HI.. Is there any tool available for creating an installable version of my web application which will ask for to bind tomcat , mysql with my application. So my final exe wil contain my web application,tomcat and mysql related files. | |
Hi all, I need a help from u... Please help me... Is it possible to have more than 1 servlet for an J2EE application... I have 2 JSP's (index & display page) 1 Servlet (myServlet) - Db Connectivity(insertion & selection) In index.jsp, i have 2 fields and a button, while … | |
hello guys,i'm new to this forum.i am developing a website for my final year project.it's a dummy project.i need a free payment gateway or something like that.So that the user can pay via credit card.it is purely an academic project,so i don't want to spend money. i need your suggestion.how … | |
Dear Friends., Am new to the java world.. I am creating a application where i have to generate a html page from a Dynamic jsp page.. I have tried my best and i was able to create a static html page from a JSP.. But how to fill the data … | |
Hi all, I need to convert a JSP file to a PDF file dynamically After converting into PDF , I need to concatenate with another PDF which is already existing and this as a single document to the printer queue.. Please give ur suggestions.. Kindly post some source code which … | |
what about this one? HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) root cause java.lang.ClassFormatError: com/mysql/jdbc/ConnectionImpl com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283) java.sql.DriverManager.getConnection(DriverManager.java:582) java.sql.DriverManager.getConnection(DriverManager.java:185) JspDBSolution.KidsBooksPage.init(KidsBooksPage.java:20) JspDBSolution.BookStoreServlet.processRequest(BookStoreServlet.java:34) JspDBSolution.BookStoreServlet.doGet(BookStoreServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) | |
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! |
The End.