3,760 Topics

Member Avatar for
Member Avatar for vidya_m

can anyone suggest some websites which has code snippets for creating shopping carts using jsp, servlets and javabeans. I am seriously looking for a career in J2EE. pls help Thanks

Member Avatar for aniseed
2
378
Member Avatar for k_satish0101

my application is to reserve a resource for particular period of time (min 1hr) so i store time into database as numerice value i need to edit the reserved time my problem is (for eg) a user reserve as 6.00 to 9.00 the same user reserve as 15.00 to 18.00 …

Member Avatar for aniseed
0
97
Member Avatar for factor

I have written a java application that writes to a file. I want to call it using a button in my jsp web page. This worked but it didn't write to the file. I think I have the jar file in the wrong place?? Please Please Help, this is really …

Member Avatar for aniseed
0
217
Member Avatar for muthumari

Hi, I have an error, during accessing a datbase using jsp:useBean from jsp.Urgent i need this one my source code ispackage SQLBean; DbBean.java import java.sql.*; import java.io.*; public class DbBean implements java.io.Serializable{ private String dbDriver = "sun.jdbc.odbc.JdbcOdbcDriver"; private Connection dbCon; public DbBean(){ super(); } public boolean connect() throws ClassNotFoundException,SQLException{ Class.forName(dbDriver); …

Member Avatar for aniseed
0
153
Member Avatar for lwinn213

Hi All! I've been working on a simple MVC style / struts web application which will allow a user to view a product database and have the option to update a record. The initial index.jsp page works and forwards to the right locations, the update page displays but is producing …

Member Avatar for masijade
0
304
Member Avatar for hsharma65
Member Avatar for forrest

what I use is SQL SERVER 2000,the system is WINXP SP-2 I set the classpath:C:\Borland\JBuilder2005\jdk1.4\lib;.;C:\Program Files\Tomcat 5.0\common\lib;.; I use the JDBC-ODBC to connect the database,the original code is package hospital.db; import java.sql.*; import hospital.db.*; public abstract class DBConnection { private static Connection conn = null; public static Connection getConnection() { …

Member Avatar for ponloges
0
282
Member Avatar for ivanr
Member Avatar for aniseed
0
94
Member Avatar for forrest

I get confused about these things,it will be better if you can illustrate these things with some code. thank you

Member Avatar for masijade
0
111
Member Avatar for bondito

Hi everyone, i am building a voting system and i am trying to count the number of votes for each candidate to be stored in a candidates table in the field voteresult, i have stored the results in a bean, and written the sql query statement in a jsp page. …

0
96
Member Avatar for aarya

i am trying to learn java bean . i wanted to know how i have to compile and where. i m little bit confused.weather i need BDK?.PLEASE ANY BODY HELP ME

Member Avatar for techkar
0
129
Member Avatar for techkar

hi all, here I'm having a problem, When u type a letter on the textbox it shoud display the remaining or matched name from the database, on or below the text box.It is named as [B](autocomplete)[/B].I searched on popular search engines but coul'd find the solution. If any of you …

Member Avatar for cpweb
0
96
Member Avatar for peter_budo

Can somebody suggest some good and cheap JSP provider with MySQL (UK if possible). ( :lol: know cheap but i'm student and need something to practice on as uni service has limitations) Thank you

Member Avatar for techkar
0
107
Member Avatar for Mike_Allen

Hello I am currently creating an order form jsp page which contains a form. This form has several drop down menus - with one of them intending to read the contents of a database table which contains information. The database is set up and is ready to populate the drop …

0
65
Member Avatar for muthumari

// My JSP coding. This is stored in the following path http://localhost:8080/vennila/test.jsp <HTML> <HEAD><TITLE>DataBase Search</TITLE></HEAD> <BODY> <%@ page language="Java" import="java.sql.*" %> <jsp:useBean id="db" scope="application" class="SQLBean.DbBean"/> <jsp:setProperty name="db" property="*" /> <%! ResultSet rs = null ; ResultSetMetaData rsmd = null ; int numColumns ; int i; %> <center> <h2> Results from …

0
105
Member Avatar for aarya

i am trying to learn j2ee .can anbody help from where i have to downlaod and waht i have to download thanks

0
43
Member Avatar for k_satish0101

my application is to reserv a resourse by entering start time and end time before reserving i need to check the availability in the database My problem is (for eg)i 'm requesting reserving by entering startime as 10.00 and end time as 14.00 on a particular day if they had …

0
57
Member Avatar for muthumari

Hi, I haven't any idea about servlet chaining. anyone send small sample for servlet chaining. Thank you

0
90
Member Avatar for Reham Ejaz

Hello to all! I want to learn JSP. I have basic level of knowledge about java and also about javascript. Dont know any thing about javabeans. I need to know of a good site where i can start from. Thanx in advance.

0
53
Member Avatar for yashu

hi friends... i am new jsp's..i have done a web application.. i want to excecute the web application on the click of the mouse on a .exe file.. i mean.. that .exe should have the sever configuration also.. so that it can run on any comp which doesn't have a …

Member Avatar for aniseed
0
128
Member Avatar for x19dotnet

Hi friends. i'm having problem to get values of a class member variable which itself is a class and resides inside another class as an array. Parent class is CA. its one of the member is CB[] class. my problem was to get values of CB class. following is the …

0
88
Member Avatar for zbx888

I want to use Javascript to validate user input for last name and first name by regular expression and just allow usa alphebetical letters plus space, apostroph and hyphen such as O'Neill and Lacova-D'elia. How to write regular expression to validate user's input? Thanks a lot! :rolleyes:

Member Avatar for masijade
0
56
Member Avatar for peaston

I need to write/find a jsp script that would go to the following url and retrive the xml it generates and display an images for whatever the value is. url: [url]http://www.dhs.gov/dhspublic/getAdvisoryCondition[/url] what it returns: <?xml version="1.0" encoding="UTF-8"?> <THREAT_ADVISORY CONDITION="ELEVATED" /> What I would like is a way to read the …

0
57
Member Avatar for x19dotnet

hi everybody, i'm new in weblogic workshop/JSP/jpf..... please help me out for the following problem. i need to pass an Object-Array to next page. i've 2 classes - ExamForm, Question i've 2 jsp pages - TakeTest.jsp, PreviewTestAnswers.jsp i've 1 pageflowcontroller - StudentController.jpf in .jpf i've following action methods - TakeTest(), …

0
67
Member Avatar for x19dotnet

please help me out. i've one class named Exam whose members are Question[]. i've another class named Question whose members are: QuestionID, QuestionText,ChoiceA,ChoiceB,Answer. i've 2 jsp pages named: 1. TakeTest.jsp 2. PreviewTestAnswers.jsp TakeTest.jsp displays all questions (with Text, Choices) under one Exam. PreviewTestAnswers.jsp will display same Questions with Answers. i …

0
55
Member Avatar for tazaramya

This script works in ie but NOT Firefox. Can someone help me make it work in both. Script just creates and rotates the url that it uses. :mad: <html> <head> <title>Corvallis Calendar - Home</title> <SCRIPT LANGUAGE="JavaScript" type="text/javascript" > <!-- // var myDate = new Date(); var myMonth = myDate.getMonth(); myMonth …

Member Avatar for Nilesh Pagar
0
133
Member Avatar for k_satish0101

i 'm getting the date in [B]dateField[/B] variable after entering the code for converting the date into Simple Date Format java.util.Date datefield2 = new java.util.Date(request.getParameter("dateField")); java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("EEEE,dd MMMM yyyy"); GregorianCalendar startDate = new GregorianCalendar(datefield2.getYear()+1900,datefield2.getMonth(),datefield2.getDay()) String reqdt=sdf.format(startDate.getTime()) i 'm not getting the exact date which i entered in …

Member Avatar for Nilesh Pagar
0
113
Member Avatar for sambit dash

hi i got a package name weblogic.servlet.security.ServletAuthentication in my jsp page.Can anybody explain me is this a package created by the devloper or a weblogic authentication package.If its a weblogic authentication standard package, willu pls tell me how to get it?

0
55
Member Avatar for aliz

Hi every1, Can you help me, Im trying to make a hit counter with JSP, But i want to read/write it to a file, so I dont loose the variable, can you please show mw the code to that, if you know. Thank you

Member Avatar for masijade
0
161
Member Avatar for k_satish0101

getting the follg error after installing tomcat5.0, jre, j2se and ms-access HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) …

Member Avatar for masijade
0
229

The End.