3,760 Topics
| |
hi, can u tel me where should i place the code for database connection?..is it placed in the same directory as other jsp and html files?....shall i put it in a java bean and then include it in all the other jsp files?..i | |
Hi, I'm new to JSP. Can anyone suggest me any site where I can get good tutorial for beginners. Thanks. | |
i have acode that upload file from client to web server but i need to insert the file name into DB (mysql) to get it in download list............HOW? this is jsp code <%@ page contentType="text/html;charset=windows-1252"%> <% response.setContentType("text/html"); response.setHeader("Cache-control","no-cache"); String err = ""; String lastFileName = ""; String contentType = request.getContentType(); … | |
hi, can you please give a step by step procedure on how to connect oracle database with jsp. I am new to the language and cant quite figure a way out.My first page is a user login and therafter username is used.How do i use sessions for this? Thanks in … | |
thx..my first page is a login.in that user name and password are to be accessed from oracle database and then matched on button click.if match occurs then user proceeds to next page. So please help me out.I m getting very confused as to where to put what code..ryt from db … | |
[code] hello! Can anyone plz tell me how 2 write z following php code into jsp..Thx in advance.. <?php $userid = $_POST["txt_login"]; $password = $_POST["txt_pwd"]; //Connecting to database include("db_connect.php"); if (($userid=='admin' OR $userid=='ADMIN') && ($password=='admin' OR $password=='ADMIN')) header( 'Location: http://localhost/MyWeb/admin.php?id='.$userid) ; else { $Rs = mysql_query("SELECT * FROM Users WHERE … | |
Hi , How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me Thank you | |
helo zer,well am actually developing a course system where lecturers can upload all notes online and students need to download them.Can any1 help me with the codes to attach the files and insert them in MySQL database(for lecturers) and retrieve them from the database(for students) Thanks! | |
When submitting a page via the internet, I get a 500 error and the name of the file. Are you able to help?? Basically I have an expense system implemented with JSP in JBuilder 4 using Oracle 9i and SQL Plus. When submitting any pages in the system, I get … | |
Hello, I need to send the displayed jsp page in an email. My jsp has rows in a table and other good stuff like text, values, icons etc., Any ideas, how I can do that. I am familiar with the java mail, I am not looking for how I do … | |
hii ... i am trying to learn jsp technology . i tried a couple of ways to run the jsp pages but none was successful . can anyone temme the exact way to install a server and run a jsp page . | |
Hi people. I am new to this forum. In fact the reason why i registered here is my problems about making a JSP page work. I am using Apache-Tomcat I just wanted to test an html file. It was form.html.When i start tomcat and type ht*tp://localhost:8080/ everything works fine. But … | |
I am using JAVA studio creator and I am having a hard time understanding how to add a page hit counter that uses the ApplicationBean. I am just trying to create a simple JSP that shows how many times the page has been visited. ANY help on where to get … | |
Hi all this is my problem: description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /DAO.jsp:16 13: 14: Class.forName("oracle.jdbc.driver.OracleDriver"); 15: 16: conn = DriverManager.getConnection("jdbc:oracle:thin:vincenzom86@localhost:1521:XE","xxx","xxx"); 17: 18: Statement st = conn.createStatement(); 19: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause … | |
I'm getting a problem with a database resource in Tomcat 5.5.25 The error (from the log) is: [code] Cannot create JDBC driver of class '' for connect URL 'null' java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507) at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476) at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307) at java.sql.DriverManager.getDriver(DriverManager.java:253) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:274) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159) at org.apache.jsp.test_002ddb_jsp._jspx_meth_sql_005fquery_005f7(test_002ddb_jsp.java:9766) at org.apache.jsp.test_002ddb_jsp._jspx_meth_c_005fcatch_005f7(test_002ddb_jsp.java:9732) … | |
Hi, In this , i dont know how to do nested colums. <display:table name="${form.results}" id="row" cellpadding="true"> <display:column property="firstName" value="${row.firstName}"/> <display:column property="lastName" value="${row.lastName}"/> | | |// list of columns | | <display:column> <display:table name="${row.cdList}" id="row" > <display:column> <display:table name="${row.CDSummary}" id="row" > <display:column property="cdAccountType" value="${row.cdAccountType}"/> <display:column property="cdType" value="${row.cdType}"/> </display:table> </display:column> </display:table> </display:column> … | |
hi can I insert a xslt in a page jsp??? do you have some examples???? thanks | |
Dear sir In my project i have to pass variables when a user click on the link i.e there is full address of a client which is getting from a table,when user click on this link all information is displayed,but the problem is if there is a space in the … | |
How do you display a drop down box with a resultset in a loop? I just get a sql exception with my current servlet code. any help appreciated Thanks [CODE] out.println("Select Reading List"); out.println("<select name=" + rs1.getString("degree")+ ">"); while(rs1.next()){ out.println("<option value=" + rs1.getString("idcol") + ">" + rs1.getString("degree") + "</option>"); } … | |
Hi I'm trying to create more attractive UI in JSP. I want a mouse over hyperlink popup menu for my page navigations. If there is anyone who knows how it's done please help me out. | |
Is it possible to get the key value of any property file through JSP.. Let me explain.. I have following keys in my application.properties file. it has my.a=http://apple.com my.b=http://ball.com my.c=http://cat.com Now i want to access this from my jsp.. i tried to access like this.. <fmt:message id="alphabets" key="my.a" /> I … | |
how to code a function to send an email to a predetermine email address. I developt a sample but i got som error message due to mailhost . the error is showen in attached file. can anyone say me how to solve this problem. i tried several mailhost, but it … | |
hi pls tell me how to connect database pool of db2 from a jsp page | |
hei all im a new web developer and wnt to use some jsp code in my website. I tried to open som file from tomcat Root folder from a browswer. but it dose not open. What's problem. the relative address is [url]http://localhost:8080/index.html[/url] where in apacha can I find the port … | |
First, the sample code: <%-- ================ some.jsp =============== --%> <%-- bunch of code [...] --%> <tr> <td><bean:message key="prompt.desc" /></td> <td><html:textarea property="desc" /></td> </tr> <tr> <td> <bean:message key="prompt.notes" /> <tiles:insert page="checkSpellTile.jsp" flush="false"></tiles:insert> </td> </tr> <tr> <td><html:textarea property="notes" /></td> </tr> <%-- ================ end some.jsp =============== --%> <%-- ================ checkSpellTile.jsp =============== --%> <%-- … | |
Hi, I want to create the Json(Java Script Notation Language) String in the struts2 action class and pass in to my jsp page. I am new to Json and struts2. Please guide me if any body has any idea on same. Thanks In advance. | |
[B] I am totally new to jsp application administration, recently I got a task to transfer a website from a windows 2000 server which is running Tomcat 4.0.6, java 1.4, MySQL to our new Ubuntu 7.10, 64 bit server which is running tomcat 6, java 1.6, MySQL. Things did not … | |
hi to all I am trying to make a simple java servlet(like jsp) program which allow user to update his profile but I have a problem when user click on update's button [CODE]String un = req.getParameter("username"); String Fn = req.getParameter("Fname"); String Ln = req.getParameter("Lname"); String pw = req.getParameter("passwors"); String updateString … | |
Hi, I am trying to develop a JSP page so that if a user enter his password (wrong)more than 3 times then he will be redirected to an unauthorized page. I have a login page which contains the HTML login form and the login.jsp to check the userid and password, … | |
[B]i want the project source code of online examination system in jsp.[/B] |
The End.