4,248 Topics
![]() | |
hi how to solve this eroor ____________________________________________ Class.forName("com.mysql.jdbc.Driver").newInstance(); ___________________________________________________ this is my code ------------------------------------------------------------------------------------ [code=jsp]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" > <HTML> <HEAD> </HEAD> <BODY bgcolor="#ffffcc"> <FORM action="p.jsp" method="get" name="f1"> <TABLE style="background-color: #ECE5B6;" WIDTH="30%" > <TR> <TH width="50%">Name</TH> <TD width="50%"><INPUT … | |
Respected, There is problem in making the shopping cart.But only by using the jsp not other languages. And database is designed by using M.S.Access | |
Hi. I would like to know if there is a way to change the language only inside a textboxin a JSP page. For examble i would like to press a button in keyboard and the user can insert hindi characters inside the current textbox Thanks and Regards, Jayaprakash. | |
Hi all. can u suggest me a way to insert values stored in a html table into oracle database using JSP code?Any help would be worthy.. | |
Hi, I have web app deployed on weblogic 9.2. There are several reports, each having a input jsp, a output jsp, a java support bean and a export page to export output generated to excel file. The user feeds input through input jsp. The output jsp reads ip parameters & … | |
Can anybody pls tell me how one servlet can conrtrol different functions..like if user clicks on login then the servlet should be redirected to exectute login code, if clicks on add then respected page should be called and executed.. | |
Hi, I am developing an application to generated Jasper Report. I am using Netbeans 6.5, jasperReport 3.1.3. I am developing it using Visual web JSF. My JSP file is [CODE] D:/Programs/Java/JasperReports/EmployeeReport/web/Page1.jsp [/CODE] My report file is stored in [CODE] D:/Programs/Java/JasperReports/EmployeeReport/web/WEB-INF/reports/employeeReport.jrxml [/CODE] I have used following statement to specify my source … | |
I am trying to implement a live support chat application where users can chat with customer service for support or general information. I'm having problems trying to figure out how to go about implementing it. I was thinking the best way would to be to use servlets to pass the … | |
Hi all, i start to work on chat utility on my company email application product. here i populate able to populate chat grid like gmail in my mail application product. in which two text area , here i able to submit chat text whatever user has entered, right now i … | |
Hi, I am looking for a source code formatting tool that can format jsps and can be integrated with eclipse 3.3.x. Does not matter if it is a freeware or shareware. Have searched all over the web but have not found one that fulfills the purpose so far. There is … | |
Hi Guy, I'm having problems accessing some attribute values stored in DOM. I have an application form....on page 2, I use some javascript on page 2, where the user can add a number of accounts, and in a section below the add account, it displays the accounts in real time. … | |
Dear friends.. I working on a Project..here i have to let the user to type in respective languages(hindi,tamil,kannada etc...) I have done this by passing the user input to a javascript file.. but current due to some changes..i need to change that.. I have to do that in some other … | |
I have called some numbers from a mysql database, they come out like this: [CODE]${parish.TotalHouseholds}[/CODE] Now what i would like to do is take the TotalHouseholds and TIMES it by 21.33% and display the answer in a separate cell and i was wondering if anybody could give me a plain … | |
Hi All In my application attachments will store as BLOB in the database, when a person receive the mail how to view the attachment with out download it just like yahoo mail there are 2 links 1) View Attachment , 2) Download Attachment, i want similar functionality please some body … | |
| |
hi, I want to call the .jrxml while which is jasper report file from the jsp. also i want to know how the pass runtime query to the report file. | |
Hi everybody, i am new to java and trying to develop a bit of an app i have created the first page, dynamicall filled a dropdown box all is fine i press the submit button and i get the error below: java.sql.SQLException: Parameter index out of range (1 > number … | |
Hi i m developing jsp application. In my system the screen resolution s 1024*768 pixels.It will shows the web page properly.While viewing the same page in my friends room his system resolution s 800*600 pixels it will be of in different form of shape and nature.How to make the page … | |
I have created a servlet in java(jsp), compiled it bt m unable to run it..it is does as :- [url]http://host//Servlet/ServletName[/url] But if m workinh locally on my pc,what host should I b mentioning? | |
my Assignment is this : there is a index.jsp with header [COLOR="Red"]welcome[/COLOR].And a link "[COLOR="Red"]open[/COLOR]".when someone click this "open" this must show [COLOR="Red"]HELLO[/COLOR] in the same index.jsp. And this Hello must be from another jsp file ( simply, i want to embed hello.jsp into index.jsp when "open" is clicked ). … | |
Can someone help me, I was getting an error message about SQL syntax, now I get no error message, it redirects, but database does not change. I also made sure autocommit was enabled. Any ideas? [code=jsp]<%@page import="java.sql.*,java.util.*" %> <% Connection conn = null; PreparedStatement stmt = null; String userName = … | |
Hello, I am trying to design a page which has a textarea and a button that says "say something", assume the page is "test.jsp". If a user hit that "say something" button, browser redirects to another page where user can enter anything they want, assume the page is "test1.jsp" . … | |
When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1. I've assigned the Same link in a String in jsp page and tested it through … | |
Can any one please give some links about Form Validation through java script. Or if any one can assign me some assignment related to JSP,thn please reply this post. I need to know that practically how and where JSP is used except form validation. Thanks for your time. Regards, | |
Hello. First of all i must say that im a noob with .jsp programming, so pleas be indulgent :) .. [code]String somepage = "client.jsp"; <%@ include file="menu.jsp" %> // this works[/code] [code]//How to add variable somepage in file= <%@ include file="somepage" %>[/code] Thanks ! | |
After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache … | |
Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product id. Example current productid stops at WA0059. When … | |
Hi im new to jsp and I was wondering anybody could help me about uploading images using jsp. | |
Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access … | |
Hi, I need help in fixing this simple JSP Code below. The I need the MarkAll and the sort by classes need to come on the same line of the page. But now Sort By is coming one line below. How can i fix this? Please hlpe urgent [code=JSP]<div class="markAll"> … | |
Sorry for my poor English. What is the problem whit this code? The error is in the browser: "The method frissit() in the type Xml_file is not applicable for the arguments (String, String, String)" [B]in the JSP file:[/B] [CODE]<% String szerzo = request.getParameter("szerzo"); String cim = request.getParameter("cim"); String ev = … | |
hi, I have one drop down in my form. i want to access the selectd vaues from servlet. code in my servlet is: [CODE] String nval=request.getParameter("color"); [/CODE] in Jsp my code is: [CODE] ............ <select name="selectPrimaryKey"> <option>SelectValue</option> <% for (int i = 0; i < Nheadlist.size(); i++) { %> <Option … | |
Hi, I need a solution for implementing a rating system. Where users can rate movies in my application and display the total results for each rated movie. | |
Hi, I am new to J2EE and i have a requirement to convert the image logo in the banner of the page to an image logo link. How do i go about doing this, and where do i need to do it? The JSP of my header where i found … | |
Hi im really new to jsp. any body can help me in creating a thread of my own. i have creadted the Db(Mysql) and data is inserting in to db. i dont know how to display the threads according to the user login can any body help me out???? | |
My java app is doing a POST with Multipart format as thetype for a certain file size when uploading a file. The application server is checking the size and returning results, but the Web server is giving a page not found with the results. It appears to be trying do … | |
Dear all, Good afternoon. I need a help. I am trying to install an open source DRM server in my system.from OPENIPMP Here they are using Tomcat server. To access the DRM server we are using JBOSS Application server.After installation I am trying to acccess the server by [url]http://localhost:8080/openipmp/jsp/login.jsp[/url]. But … | |
Hi, I'm quite new to setting up webservers so I hope I can find some help here. Currently on a server that I have root access to, under /root/apache-tomcat-6.0.18/webapps/ROOT, I have a couple of .html and .jsp files which show up perfectly when I enter locally "http://localhost:8080/***.html", but when I … | |
Hi, I’ve embedded applet in a jsp page. Initially appearance of applet is coming well. After some time during the process of applet , when the browser window is minimized and restored or if we are switching to any other window and coming back to the applet embedded jsp page, … | |
Hi, I don't know whether this is correct place to ask, but since my application is J2EE application (JSP) I'm asking it here. We've several web applications, some of them are J2EE applications (JSP, JAVA) and the administrators of these applications change frequently. One can just change code and add … | |
Dear Friends, I a working on a project where i have to let the user to type in other languages(hindi,tamil,kannada etc..) and i have to store into the database and retrive it back and show it to the client in the same language he has entered..I am using postgres 8.0 … | |
hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. … | |
I've created database in Mysql and would like to access db tables from localhost jsp. This is what I've created for far: [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <HTML> <HEAD> <TITLE>insert data using JSP </TITLE> </HEAD> <BODY bgcolor="#ffffcc"> <font size="+3" color="green"><br>Welcome to my world !</font> <FORM action="statement.jsp" method="get"> … | |
Hello, I am a JSP newbie. I am trying to encode a password on a login form, before it is sent to the server. I created a test button to display the hashed password, but errors out with the message 'digestPswd not defined' Here are the code snippits that I … | |
HII EVERYONE. i AM WORKING ON JSP AND I WANT TO SET THE SCREEN RESOLUTION ACCORDINGLY.ANYONE PLZ HELP ME OUT!!! | |
thanks for ur suggestions peter sir. I have another problem sir. I am creating a jsp application where I am using a custom class for sending emails. THe java class is working fine. but when i am importing it's package using page directive and creeating an object of it,then Tomcat … | |
Hi I have got a WSDL created by using one tool (Query As a Web Service: which creates a wsdl for the given query) and now I want to consume this WSDL in jsp to display the data through web. Anyone of you can give me some idea on this … | |
Your web based ordering should work as follows: 1. Authorized customer must be able to place his online orders. 2. Authorized customer MUST log in first before making any transaction. If the login is invalid the customer access is denied and a message is displayed to the customer “ACCESS DENIED” … | |
Hi I am creating a web application containing html and jsp files.....Actually the whole application is divided into three frames ie. left , center which expands to right also and bottom.....I have put my logout link there at bottom....The logout.jsp file has code [icode]<% session.invalidate() %> [/icode] which is terminating … | |
Dani would be possible to rename JSP section to Java Web Development? |
The End.