3,760 Topics
| |
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 | |
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 … | |
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 … | |
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); … | |
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 … | |
how to connect jsp with oracle database | |
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() { … | |
could you provide a list of jsp debuggers for tomcat 5.5.7 on windows? | |
I get confused about these things,it will be better if you can illustrate these things with some code. thank you | |
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. … | |
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 | |
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 … | |
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 | |
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 … | |
// 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 … | |
i am trying to learn j2ee .can anbody help from where i have to downlaod and waht i have to download thanks | |
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 … | |
Hi, I haven't any idea about servlet chaining. anyone send small sample for servlet chaining. Thank you | |
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. | |
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 … | |
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 … | |
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: | |
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 … | |
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(), … | |
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 … | |
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 … | |
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 … | |
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? | |
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 | |
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) … |
The End.