3,760 Topics
| |
guys i m really havin hard time to establish connection bet jsp n mysql...give me some tips..i ve done all the procedures required for that n i couldn execute the followin code [code=html]<%@ page import="java.sql.*" %> <% String username="mahesh"; String password="mahesh"; String connectionURL = "jdbc:mysql://localhost:3306/mahesh"; Connection connection = null; //Statement … | |
I have installed tomcat 5.0.30 and binded to port 8080. But whenever I started Tomcat , got the following error : LifecycleException: Protocol handler start failed:java.net.BindException: Address already in use:JVM_Bind:8080 But no other process or program is not running that time. Also when trying with url [url]http://localhost:8080[/url] , it asks … | |
I got a problem in order to access the value for my radio button. I'm developing web application system that allow user to book something. so, i display the detail in list.But, i don't have any idea how to access the value.. this is the coding [code]<%@page import="java.util.*" %> <%@page … | |
In my website, i want to accept photos from users(through HTML page) and save them to database(MS SQL) Can you please tell me, how can i do so? Also tell me how to retrieve those photos back from database to HTML page or JSP. Thank you. | |
Hi , Can please some one help me out in writing the Regular Expression pattern for <input type="hidden" id="some-id" name="some-name" value="some-value" . Thanks in Advance | |
can you please say there is any possiblity for writing triggers in jsp. if we can write triggers mean, help me with example. | |
Hi all, Can any one suggest me a project which is related to DB and frontend application related to it. | |
We are using two access databases and we are able to manipulate only one. But we need to insert records in two databases with the same field name simultaneously. Wat do we do? Pls help us out. | |
Hi, Any body kindly help me specially who is working with any net technology. I am working with .jsp with Tomcat. The problem I am facing is that whenever I want to show a picture whose name is in Unicode Character(Arabic, hebrue or chinies). Its not being displayed though the … | |
Hi I have a simple web app that has a login area. The whole site is running through a controller providing the views so y login validation from the db should also use the Controller. I however only know how to do login using a bean and have never used … | |
how to get data in textbox from database when item selected in listbox in jsp without refreshing the page, i had code that refresh the page. if not in jsp even possible in javascript or any plz........thanxs in advance (max try in jsp) | |
Hey, all Java and JSP gurus, Please help! In my website (created using JSP and MS SQL), i'm accepting resume from users in .doc format. Can you please tell me- how to save it in my folder from web-page i.e. the "browse" and "upload" code. (mine is a mock site … | |
In a JSP how do I access a record by its number? | |
we are currently workin on a RFID project and we need to generate the RFID serial numbers which is in a specific format (eg: 0101i0010001). in this the 1st 4 numbers are constant (0101) the next 4 digit numbers are item id which is got from the JSP textbox(i001) the … | |
Greetings, Im a newbie to JSP/Javascript (unfortunalley). However I found enough example to create code that connects to my access db and populates two combo boxes. The selection of the first box is used to populate the second (cascading). See code below, apologies for the formatting as I wrote it … | |
My website contains a news tab, which will show hyperlinks of news. On clicking link, user can read entire link. But the news are in marathi language(created in word doc.) Displating it directly through JSP is not feasible as user may not have font installed on client machine. Can you … | |
I have a string stored in a session variable.....how do I get that string back out as I get the error:Type mismatch: cannot convert from Object to String Is there a toString() method or something? Thanks | |
Hello friends, i'm creating a website using JSP with MS SQL. I want to use md5 to encrypt user's password. 1. Is it safe? 2. how to use it i.e. can you guide me what code should be written in "New user's sign up" page and "Login page"? Please Help. … | |
Can anyone help me: I have Tomcat installed: on [url]http://ServerName:8080/MyPackagename[/url] in our LAN. MyPackageName contains the HTML files and with in it there's classes subdirectory that contains [COLOR="Red"]amos[/COLOR]subfolder my Servlet classes. I have a HTML form: <form action="/servlet/MyPackageName.amos.LoginServlet2"> When i submit the form, it says:"Error 401: the requested resorce:/servlet/MyPackageName.amos.LoginServlet2 is … | |
I'm creating a website using JSP, HTML pages and MS SQL. Can u please tell me how to create a session and how to retrive it each time while checking user status i.e how to check if user is signed in or not? Please help. Thank you. | |
i am designing a page where the user enters the start date for a uni session say 04/02/2008 in dd/mm/yyyy format and then the user selects the duration for the session in weeks, say 22. our system needs to calculate the end date for the session by adding 22 weeks … | |
Can you please tell me how to encrypt and decrypt a password? I want to use it in my project(website). Please help. Thank you. | |
Hi I'm triying to develop an application to read barcode (from laser scanner) and manipulate the string with mysql. I've read something about serial port but i'm not sure how to do it. Could somebody give me a piece of advice? | |
Any idea how we can setup a progress bar or display speed by refreshing the jsp page to continuously show some of the variables probably read from a text or properties file showing the progress of a huge simulation, servlet? | |
Hi All, I am web developer with some experience in PHP programming. I am keen to learn java technologies like JSP, servlets, struts and so on. Was wondering if i can get some working sample projects in jsp, preferably small well written projects with some description on how it works. … | |
Okay, here we go. I am trying to learn how to use javabeans properly and so I've created a small bean which just writes text to the screen. I keep getting the error: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 6 in the generated java … | |
Hi friends, I'm creating a website for my college project. I came to know that to run it through tomcat, you need to create web.xml file first. i saw the readymade file in root directory of tomcat, but could not understand, how to modify (or create) it so as to … | |
I know I'm probably being dumb here but I cannot seem to compile a java bean. Here is my code: [code] package beans; import java.sql.*; public class example { public void test() { out.println("The bean worked"); } } [/code] I get the error: example.java:5: class Example is public, should b … | |
I'm stuck here. Please Help me! I've created a feedback form which takes name, Email Id & Comments from users. On submit button, i want to save the entered details along with the current date to the UserDetails table, so that, when admin logs in and wants to see the … | |
Quick one here really, Basically there is one page with say, All Articles, When a user clicks on an article I want to go to a new page that displays the article clicked on. All I need to know is what method to use here. Should I use the link … |
The End.