4,248 Topics

Member Avatar for
Member Avatar for ankurmawanda

am trying to connect a jsp page to a postgress database i have created a jdbcconnects.java file and compiled it with jsp_api.jar from my apache..../lib directory i have placed the class file in root/WEB-INF/classes folder the code of my class file is [CODE] import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public …

Member Avatar for ankurmawanda
0
179
Member Avatar for brynFlew

Hello, does anyone have an example of radio buttons working with a java bean. It would help out allot. Thank you

Member Avatar for brynFlew
0
279
Member Avatar for Shanti C

Hello all, I have successfully deploy my jsp project into webserver.It is running fine. But my problem is , my project contains some .java/.class files where i have written classes and methods. If i want to change this .java file and re-upload it to web server, it is not get …

Member Avatar for Shanti C
0
191
Member Avatar for adarshcu

Hi all, I've this following piece of code. It is a simple hands on exercise for my learning. I retrieve data from a table called cat and what i would like to do is , go to the action page only if there is a record for that username and …

Member Avatar for Shanti C
0
186
Member Avatar for Ignatius88

Is there a way that if I click on a radio button, it inserts its value to database? [CODE]<form name = "data" method = "post" action = "JSP/insert.jsp"> <p> <font size = "4"> Rate: 1<input name="radio_rate" type="radio" value="1" onclick="return validate()"/> 2<input name="radio_rate" type="radio" value="2" onclick="return validate()"/> 3<input name="radio_rate" type="radio" value="3" …

Member Avatar for Shanti C
0
572
Member Avatar for Ignatius88

[CODE] <script> var xhr = null; function createRequest() { if(window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else { xhr = new XMLHttpRequest(); } } function sendRequest(url, param, callback, method) { createRequest(); var httpMethod = (method!='POST' && method!='post') ? 'GET' : 'POST'; var httpParam = (param==null || param=='') ? null : …

0
74
Member Avatar for MaceWindu

Hi everybody! Firstly, I apologize you if my English is not enough good, I'm from Spain. I have a problem in JSP. I'm doing my software engineering master's final project and I have a hierarchy of users with different permissions for each. The problem I have is I want to …

0
51
Member Avatar for brynFlew

How do i share variables between java beans, do i need to use jspGet property on the second jsp and re-set it, or can i skip that and do it another way. i need to get a value from my login.jsp and UserDataBean to my process.jsp and my MyFormBean so …

0
70
Member Avatar for manish250

hello all i have a jsp page.in which i am searching a particular string.what i want is to search details corresponding to that particular string and show them in the html table. can anybody suggest me the fastest way to search.Currently i am using shell scripting and it is taking …

0
95
Member Avatar for harshInITworld

I m developing module in my eclipse IDE, I have designed a web page using JSP and Hibernate concepts where in i have to enter required details and after clicking on submit button they are directly entered into database. this part is done successfully but the only problem is when …

Member Avatar for harshInITworld
0
111
Member Avatar for abhay1234

Hello i have created a webpage for a project using jsp in netbeans. I have created a listbox. I want it to display data from database(MS-access) and I should then be able to modify data in database like I should be able to change an entire record through the listbox …

Member Avatar for abhay1234
0
183
Member Avatar for Dean_Grobler

I'm busy working with servlets now and when I try and compile them, I get erorrs stating that it can't find javax.servlet etc. Getting errors where I do the import statements to them. So apparently I have to add that servlet.jar file to the CLASSPATH? And that file can be …

Member Avatar for peter_budo
0
659
Member Avatar for ankurmawanda

i am having some connectivvity issues i am using postgres 9.0 sql db i have installed a dns localhost using the postgres sql driver also i have the jdbc jar files in the lib dir of the tomcat my code is [CODE] <%@ page language="java" import="java.sql.*" %> <% Class.forName("org.postgresql.Driver"); Connection …

Member Avatar for masijade
0
298
Member Avatar for yapkm01

I would appreciate any help on the above. All my process and issues is in the attachments. ps: Java 1.6 tomcat 5.0.28

Member Avatar for yapkm01
0
237
Member Avatar for manish250

hello all i have a jsp page.there is a text box in jsp page.what i want is when i enter a key in text box it accepts it only if it is alphabet otherwise it would give an alert.I want to enable arrow and backspace and delete key.Currently i am …

Member Avatar for peter_budo
0
124
Member Avatar for Manojo7

HI guys , i'm new to this community. plz help :'( i'm doing a project which is called Online Examination.. can i give a variable as value in radio button???? Here is my code [CODE] <% try{ int num; double d=Math.random()*10; PrintWriter oo=response.getWriter(); num=(int)d; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:mno"); Statement stmt=con.createStatement(); ResultSet …

Member Avatar for peter_budo
0
103
Member Avatar for pruthvikumarbk

Hi, I need to know how to deploy struts from scratch in RAD. If any one knows how to please help. Thanks, Pruthvi

0
53
Member Avatar for mith_cool

I got a jsp page which forwards request of two textfields txtname and txtpass to a servlet and the servlet then inserts the data into sql db and the name of the db is online_store. The db has two columns. When i checked the values are passing to the servlet …

Member Avatar for mith_cool
0
196
Member Avatar for davesyourfriend

Hi guys I'm new at JSP, and I've to run an ex-collegue software. It's Java + JSP, usin' Apache Tomcat. When I run Tomcat and I try to open the Default.jsp page, here's what appears: [code=jsp] HTTP Status 500 - type Exception report Description: The server encountered an internal error …

Member Avatar for peter_budo
0
262
Member Avatar for gyannitin

Hi, I am fetching from a table and updating it back. I am fetching and populating the form. User will modify the form and then update the table. Everything looks fine but update and delete query is returning '0' Here is a code snippet: [CODE] qid = (Integer.valueOf(iterator.next().toString())); answer = …

Member Avatar for gyannitin
0
75
Member Avatar for javacelibate

I got the below exception when I deployed my application in tomcat 5.The same was working fine in tomcat 6 too. [code=text]java.lang.NoClassDefFoundError: javax/el/ELException java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Class.java:2395) java.lang.Class.getDeclaredMethods(Class.java:1763) java.beans.Introspector$1.run(Introspector.java:1265) [/code] As per the investigation I found.. The ELEvaluator.class of the provided jstl1.2.jar was not compatible with the jsp-api.jar of tomcat 5 …

0
73
Member Avatar for manish250

hello all i have a jsp project when i run this using apache-tomcat on windows server 2003 a pop up window open in the top of the page notifying about the active x control.when i move the mouse over menu bar item it is not showing drop list.i an not …

Member Avatar for manish250
0
258
Member Avatar for shaik ameen

i wanna develop a web application using jsp and html .i know the process of developing but i thought that let i listen some suggestions of urs also .so please help

Member Avatar for peter_budo
0
57
Member Avatar for sach_ak47

hi , guys i am created one application using jsp and java but i dont know how to make jar, and what configuration nedded in manifest file i want to play that application in my mobile which is supportion java application

Member Avatar for Hakoo
1
948
Member Avatar for thr

Hello i want to create a site that has features like google android market or iphone app store! i dont know what programming language or framework is better to create sites with these features. i am familiar with c++ and java programming language.i want to choose best programming language for …

Member Avatar for thr
0
71
Member Avatar for harshit99

i want to send mails to all those user who have logged in today at my website. by looking their last time of visit entries of the day in my database. i want the mails to be sent at a particular time like 11:30pm every day. how can i do …

Member Avatar for saduf
0
147
Member Avatar for kirit275

I want to load partial page when loaded in the same window ( i.e I don't want to load navigation menu bar again and again) but if someone opens it in new tab it should load the whole page(i.e including navigation menu bar) just like in facebook... I tried iframes(HTML) …

0
63
Member Avatar for Tbusuk

Generally if we use <form action = "process.php">, this means that after the form is submitted, it will be processed to the file process.php in the directory. Mean while, in JSP, what is the meaning of <form action="<c:url value="/main"/>"> ? Because in the directory there is no main file or …

Member Avatar for peter_budo
0
181
Member Avatar for zeni16

hi ... i am working on a tool using struts, here i need ur help, for following problem while i click on one tab(monitor) and select value in a combo box and go back on other tab(admin), den again if i come back on monitor page then i need to …

Member Avatar for zeni16
0
112
Member Avatar for Ankita B

Hi..I wish to prevent users from entering the web pages of my application again using back button once they've logged out.How can i achieve this?..I do not wish to use no-cache,history() etc as they're not fool proof. Also i want to know how can i prevent users from directly entering …

Member Avatar for jc364
0
924
Member Avatar for vijaysachin

Hi All, I have one strange issue, JSP cannot Identify the JS, CSS file path when URL pattern is /*. Let me explain in detail. Irrespective of relative path my application should have to call Home.jsp. So for that I have specified URL pattern as /*. This logic is working …

Member Avatar for code learner
0
351
Member Avatar for coervivekmca

can you plz tell me how to manage news panel ...daily managed by admin..plz send me attachmnet to <EMAIL SNIPPED>

0
72
Member Avatar for GuruMS

How To Insert Image To A JSP File I have Tried Using The Flowing Code In This any Error Is There Please Give The Answer This Is My Code I Used <img src="SOCIALWEBSITE/Image/login.jpg" width="250" height="250" alt="img">

Member Avatar for peter_budo
0
6K
Member Avatar for mith_cool

hi, am working on a project called online store using java. For the navigation menu bar i used javascript in a jsp page. The problem is am unable to see the image in navigation bar. Since i have no thorough knowledge of javascript please rectify me.Here is my code [CODE] …

Member Avatar for skald89
0
127
Member Avatar for tpickett

Hello I am updating a site for a client of mine. He is using JSP and Spring Framework. What I am trying to do is update a form on the website(editlocation.jsp). I understand that I need to modify the editlocation.class file, but I do not understand how the webapp builds …

0
60
Member Avatar for jeraldmuthu

Hi, I'm new bee to JSP.I'm newly joined in company they want to finish this today please help me. I need to check form field contains existing data(want to check database) are not. if that field contain existing data it wants give alert.., In database i set projectcode as Unique.if …

Member Avatar for masijade
0
192
Member Avatar for coervivekmca

can you plz tell me how to manage servlet and jsp to execute on webserver onlie mail me at <EMAIL SNIPPED>

0
66
Member Avatar for jahanruhi3@gmai

can any one tell me the procedure how to search a file from the database using jsp

Member Avatar for peter_budo
0
177
Member Avatar for dbdavis

Sorry for not posting this when I enrolled last month or so; I was really in a hurry. About me: While I am new to DW, I'm not new to computing: I am retired from a career in computer programming. I loved it from the first moment at IBM when …

Member Avatar for AndreRet
0
259
Member Avatar for coervivekmca
Member Avatar for Tbusuk

Hi, what is the meaning of the code shown below? <jsp:include page="/exec/employeesList"/> Because usually include is like this include("a.php"), this means the page include the a.php page. But the jsp include is different, it doesn't show any extension like .jsp or .jav or .html. so where does it include? is …

Member Avatar for coervivekmca
0
160
Member Avatar for ypks_destiny

In a html if i press india i should get its states, and if i press australia i should get its states -It should be in drop down list only can some one please help me out

Member Avatar for ypks_destiny
0
2K
Member Avatar for mith_cool

I have created a jsp page with some credentials of the user and this time i dont want it to pass to the validation form servlet through doGet() but through doPost(). I am facing some problem while doing this validation of none of the field could be left blank. [CODE] …

Member Avatar for mith_cool
0
511
Member Avatar for Deepak Agarwal

Hi, I am working on a java servlet (abc.java) in Web Application Project in Eclipse. The code works fine and the server is running on [url]http://localhost:8080/[/url] . But when I connect to this localhost server from other C# application using [url]http://localhost:8080/abc[/url] It says "Error 404 and no file found : …

Member Avatar for masijade
0
114
Member Avatar for mayank.dyl

i have synched tomcat 6.0 with it but how to create public folder and lib,web-inf...etc using ECLIPSE....i mean where is directory structure and how to put things in it.?

Member Avatar for kvprajapati
0
82
Member Avatar for sasi_88

if i want two submit buttons ok1 and ok2 if the user click ok1 control goes with 1.jsp or click ok2 control goes with 2.jsp but ok2 is not working. is there any mistake two submit buttons then what are methods to resolve my code is here [code=html]<html> <head> <meta …

Member Avatar for rakhi4110
0
194
Member Avatar for varia

Hi, I need your help... I need to get the value selected by a user from the HTML page and pass this value into my servlet program for processing. So I did something like this: Part of my jsp code: [CODE] <select name="tool" id="tool"> <option value=kim>KIM</option> <option value=ontomat>Ontomat Annotizer</option> <option …

Member Avatar for rakhi4110
0
92
Member Avatar for mokztan

Hi. Im having a difficult time to figure out how to connect all the claass and jsp as well as the .xml. (I am working on a web application project, and these codes are for the registration module oly. Im using ECLIPSE EUROPA for my IDE, Apache Tomcat 6.0 for …

0
92
Member Avatar for aksahoo17

Hello everybody, As i m beginner to Jsp/Servlet.. I want to Upload a image from client side and store it in MySql database then simultaneously display it. I need it urgently can anybody send me the code....... Please,..... Thanks

Member Avatar for jahanruhi3@gmai
0
183
Member Avatar for rakhi4110

hi, I am working a program which needs to send an email through JSP. I get an error Could not connect to host : localhost :25 : Connection refused. error. Can anyone tell me what configuration i need to change in Apache Tomcat to use my server as smtp server.. …

0
70

The End.