3,747 Topics
| |
hi! im new here, just a newbie programmer, asking a newbie question.. ^_^ out.println("<td>" + "<input type=\"submit\" id=\"" + patientNum2.get(counterQueue) + "\" value=\"" + patientNum2.get(counterQueue) + "\" name=\"btnShowCaseList\" />" + "</td>"); how could i get the value of "id" from the jsp page to the servlet?, the only thing i … | |
Hi, I'v been trying to write a simple Java EE app, which deals with car renting. The entity beans and session beans are ready, so I've created a JSP for representation. It contains a single method, for init: [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … | |
is there any project/work done for java web proxy ? i am looking for java snippets , ideas to write a proxy server note i am talking about web proxy servers (not for sun proxy server or any thing like that ) ( ex in php there are some scripts … | |
Say I have a simple form... How do I call the three different values entered and output them to the screen in the file test.jsp? [CODE] <html> <body> <form method= "post" action = "test.jsp"> Please select the Honda 2000 features needed <BR> Aero Screen: <Input type = text Name = … | |
I am using Tomcat as a server to work on a servlet that need to access a database and I need to use CachedRowSet, but I cannot seem to connect to the database correctly. Currently I have [code] public class FaqListingServlet extends HttpServlet { private CachedRowSetImpl cachedRowSet; // set up … | |
Hi all, First poster here - have been reading through many of the posts but need someone to break something down for me. Have been given an assignment in college to create a Login / Register page using sql and jsp. I have done a page like this before but … | |
I have to create a resultset that gives results in the next way: REGION 1 COUNTRY from Region 1 Country from region 1 REGION 2 Country region 2 Country region 2 Do you have any idea about how i can do it? thanks | |
i need help! the following query causes an exception but it works in mysql...can someone see the error? [CODE]"select uc.id, uc.userid, uc.carid, uc.description, uc.date, uc.km, uc.price, uc.remark, y.brand, y.type from Usercar as uc join (select x.cid as cid, x.brand as brand, t.name as type from (select c.id as cid, b.name … | |
I have used MSAccess as backend. Date is stored in the Date/Time format. I have to retrieve only the date from the database using JSP code. But I get date as well as time. So plzzzzzzzzz help me in this problem. Give code if available. | |
Hi Experts, i have this code -- [CODE] <%-- Document : index Created on : Nov 10, 2008, 3:25:29 PM Author : namish --%> <%@page import="java.sql.*"%> <html> <head> <title>Obtaining a Connection</title> </head> <body> <h1>This Page Obtains a Connection to a Database and executes a query</h1> <% Connection conn = null; … | |
Hi I am using Email Compose window to send email,once the recipient try to send reply to senders's email each line in message(sender's message) should append with >space(" ") is there any code for this please help me. | |
i want a code for tracing binary tree for my project in jsp | |
Hi Everyone, I need some suggestions from you guys. I am totally unaware of JSP or java and trying to learn a bit , as i need to develop a sample application using web services.I am in need of some help from you guys. If there are some errors in … | |
How can we set and get cookies in struts2. I tried with ; [LIST] [/LIST]Cookie a = new Cookie("name","value"); - but this throws a null pointer exception. because of this exception I used CookieInterceptor: CookieInterceptor LoginCookie = new CookieInterceptor(); LoginCookie.setCookiesName("type"); LoginCookie.setCookiesValue("value"); but how can I get the cookie values? | |
the question description: when I read a jpg file, there is no any problem. but when I try to read a mht file, the service method was run twice. why? Can anyone give me a satisfying explain? Thanks first in here. [CODE]public class ShowImageServlet extends HttpServlet { public void service(HttpServletRequest … | |
I am taking a web design and development class and we have been thrown into MySQL along with java without much knowledge beforehand. Was wondering if anyone could help me with understanding how to query the database and update entries, as I am confused on how to accomplish this. I … | |
Am not sure if this belong here or to JSP forum, mods kindly move it if it does ... thanx Hi have the this exception, seems my object cannot be found/bound to my form Stack Trace [code] SEVERE: Servlet.service() for servlet debugjsp threw exception java.lang.IllegalStateException: Neither BindingResult nor plain target … | |
Hello All i have go to Jsp new so i have a big problem to compatible with it can u see me some open source program tp see it and know how u detect it so my minde still at asp.net and can't remove to jsp may be after read … | |
Hi. I am building an intranet directory to list all the websites in our organization. We have built the directory in JSP working with Oracle. Idea is to have by default the directory ordered alphabetically and grouped by the first letter of the site name, as an example: A Asia … | |
Hi, My project requires, auto suggest textbox in jsp where we retreve data from database(oracle) | |
i have done making a table in mysql database, i was also able to add data through jsp into the database, i can also delete it but i just don't know how to edit or update the data stored in the database, using jsp...can u please help? just codes or … | |
Hi, We are a group and want to make a forum using the j2ee technology, and I need your guide through the following: 1. Should we use any FrameWorks ? if yes. which one is better and simpe ? 2. If not using any Framework, then what you suggest ? … | |
Please let me know how to get day, month and year in JSP from mysql Date. | |
can any one help in coding for online examination system . As iam a beginner even i donn't know complete conceptt of jsp,servlets. But in my company they have given me this project and a dead line of 20 days........... so please,/............ | |
hi, need code help with Image uploading from jsp page to mysql database.Urgent....Plzzzzzzzzz help me. | |
Hi there I currently have project in school. In the beginning it was supposed to just get data from database and have some settings available. But recently I got 2 more co-workers and they should participate by adding some more functionality. That is when I started to make the page … | |
hi i m plannin to build a gaming web site using java. so basicaly i want to know where to start from and the things i need to consider and are concerned for the same. | |
Hi, I'm currently working on concerning a student record with guardians/parents... im using the java ee framework.. I'm having problems on retrieving the data on our database(MySQL).. Here is what i did.. i have created a class to retrieve those data from the database.. my problem is that whenever i … | |
Hello, I'm building a telephony application and I hava a Javabean with a prperty named callerID, which is updated each time a new phone-call is arriving to my PC. My headache is how to show callerID value in a JSP page. I suppose that I need to use Javascript, but … |
The End.