3,760 Topics

Member Avatar for
Member Avatar for mahesh kharvi

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 …

Member Avatar for ahilan_23
0
117
Member Avatar for java_programmer

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 …

Member Avatar for latha_nov
0
76
Member Avatar for arif_iskandar

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 …

0
70
Member Avatar for nikk

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.

Member Avatar for ~s.o.s~
0
233
Member Avatar for lkoru

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

Member Avatar for peter_budo
0
37
Member Avatar for ihtraa

can you please say there is any possiblity for writing triggers in jsp. if we can write triggers mean, help me with example.

Member Avatar for peter_budo
0
50
Member Avatar for latha_nov

Hi all, Can any one suggest me a project which is related to DB and frontend application related to it.

Member Avatar for peter_budo
0
72
Member Avatar for ihtraa

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.

Member Avatar for latha_nov
0
26
Member Avatar for rizwan_aman007

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 …

0
42
Member Avatar for Adventa

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 …

0
44
Member Avatar for brr

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)

Member Avatar for brr
0
79
Member Avatar for nikk

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 …

0
58
Member Avatar for eddy556
Member Avatar for ihtraa

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 …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for Robtyketto

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 …

Member Avatar for ~s.o.s~
0
144
Member Avatar for nikk

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 …

Member Avatar for ~s.o.s~
0
52
Member Avatar for eddy556

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

Member Avatar for ~s.o.s~
0
122
Member Avatar for nikk

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. …

0
86
Member Avatar for Asiima

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 …

Member Avatar for ~s.o.s~
0
120
Member Avatar for nikk

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.

Member Avatar for ~s.o.s~
0
96
Member Avatar for nemo

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 …

Member Avatar for ~s.o.s~
0
80
Member Avatar for nikk

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.

Member Avatar for peter_budo
0
110
Member Avatar for ili82

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?

Member Avatar for raghusan
0
105
Member Avatar for chikkubhai

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?

0
62
Member Avatar for sourcecode

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. …

Member Avatar for bugmenot
0
108
Member Avatar for eddy556

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 …

Member Avatar for ~s.o.s~
0
226
Member Avatar for nikk

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 …

Member Avatar for nikk
0
109
Member Avatar for eddy556

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 …

Member Avatar for ~s.o.s~
0
80
Member Avatar for nikk

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 …

Member Avatar for ~s.o.s~
0
89
Member Avatar for Adventa

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 …

Member Avatar for Adventa
0
81

The End.