3,747 Topics
| |
i am currently working with jsp for building a travel based website and have to deal with GIS maps. now i am working with netbeans ide because it has glassfish server deployed with it so it is easy to work and configure what you need. but when it comes to … | |
Hello Everyone! I am developing a library system and want to ask how i can display a record in jsp from my DAO.java file and how cn i be able to use next and previous button. Please Help as i need to submit the system urgently | |
Hi I'm trying to connect using oracle10g with eclipse but its not able to locate the driver at all . [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="java.sql.*" %> <% String uname="system"; String pwd="*****"; String url = "jdbc:oracle:thin:@localhost:1521:XE"; Connection con = null; Statement stmt = null; ResultSet rst = null; … | |
Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> … | |
Hi I am begginer to jsp I have downloaded apache-tomcat-7.0.19-windows-x86,unzipped it, Added an environmental variable JRE_HOME and it's value is C:\Program Files\Java\jre1.5.0_22 I have started tomcat from startup batch file , a console window appeared for a while then disappeared . when open my browser internet explorer and write address … | |
[code]<% String UN=request.getParameter("un"); String pw=request.getParameter("pw"); String FN=request.getParameter("FN"); String LN=request.getParameter("LN"); String L1=request.getParameter("L1"); String L2=request.getParameter("L2"); String L3=request.getParameter("L3"); String ccn=request.getParameter("ccn"); Class.forName("com.mysql.jdbc.Driver").newInstance(); java.sql.Connection myConn; myConn = DriverManager.getConnection ("jdbc:mysql://localhost:3306/train_resev","root", "3866" ); PreparedStatement ps=myConn.prepareStatement("insert into user values('" + un + "','" + pw + "','" + FN + "','" + LN + "','" + L1 + … | |
i have this code, when i run this script no error shows up, but at the same time no result shows up too :( i dont understand where the problem is... :( [CODE] String result2=""; String data2; URL u2; URLConnection uc2; u2 = new URL("http://genome.ucsc.edu/cgi-bin/hgc?o=32385948&g=htcUserAli&i=../trash/hgSs/hgSs_genome_44ba_e972d0.pslx+..%2Ftrash%2FhgSs%2FhgSs_genome_44ba_e972d0.fa+YourSeq&c=chr1&l=32385948&r=32386166&db=hg19&hgsid=204152805282 "); uc2 = u2.openConnection(); InputStream … | |
is there any way to access some hyperlink on another webpage? the problem is that link always changes. thanks :) | |
I am working on a project on online e-commerce website.My requirement is that when a user clicks on "Add to cart" option some queries will be sent to the database and no redirection will take place.how to do this using jsp.(I don't know javascript). | |
[B]How to write a JSP program accepting a single parameter?[/B] If the parameter passed is “A”, it will generate an HTML of calculator A. If the parameter passed is “B”, it will generate an HTML of calculator B. I know how to write a calculator program in HTML format but … | |
Can You Please help me where I am getting error.. :( I am using NetBeans and MicroSoft SQL Server 2005. [B]HTML CODE[/B] [CODE]<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form action="movie.jsp" method="POST"> <p><strong> List Of Movies:-</strong>s</p> <select name="moviename"> <option>powe</option> <option>ghi</option> <option>xyz</option> <option>Troy</option> <option>poer</option> <option>abc</option> <option>pqr</option> <option>qwe</option> <option>ghj</option> <option>RA … | |
Hi. I am new in using Eclipse IDE, Tomcat 6... I can't run even the simplest project (Hello World) because of the error about ports. I've already browse the internet and do the configurations but still my problem is there. I have no one to ask about eclipse other than … | |
Hi, I am stuck with few problems related to JSP - Java applet file write and database connectivity issues. 1) Calling the applet class from JSP works in the web browser. But the file write code written in applet does not work when called from JSP ( It works if … | |
please can any one suggest me the code for how to upload and retrieve the image(blob) into oracle database using jsp plzzz plzzzz | |
Hy all Currently i have one JSP which useful to execute the select query.... when i use this jsp for execute the select query in another computer's database if table having less record [less than 200 raw] it will give me result.... but if table having more than record [rows>200] … | |
Hi, In my project I am developing pagination concept. but here problem is data is too large so it takes too much time for fetching data. so anybody can give me solution like fetching data in some part so reduces data fetching time. Thanks in advance | |
Hi All, I am using Tomcat 6.0 Application server and Apache HTTP webserver 2.2 and Eclipse Galileo as my IDE. I developed an web application which is some site where users can login and browse around it. My problem is Only one user can access the application. That is when … | |
Hi all I need to to read parameter value from web.xml I tried following way but it displays only null value .. [code=xml]<init-parm> <parm-name>email</parm-name> <parm-value>syz@gmail.com</parm-value> </init-parm>[/code] [code=Java]//servlet code pw.println(getServletConfig().getInitParameter("email"));[/code] | |
hi :) i'm just wondering if there is any way to access to another website using my own? like: i have some input data and when i put it into the form of my website, it will search it in the another website's database and show me the result. i … | |
hi i am in great trouble. problem is i create a Servlet and code is HttpSession session = request.getSession(); session.setAttribute("employee", employee); "employee" is bean and now i am access that in jsp page like this: <LI><B>First Name:</B> ${employee.name.firstName} it work fine but if i use this bean in java code, … | |
Hi I am new to .jsp programming. I wanted to create a simple web page to display some information from an access database, but unfortunately I keep getting an error that no data is found. I created a DSN source through the ODBC tool in Windows, and I feel I … | |
iam doing a project but in my code it is not retrieving the data after the space like in data base i have " ravi teja" then in front end it is getting only "ravi" so can u suggest me the code plzzzzz | |
How to create a simple chat application using jsp & servlets?Please provide me some ideas.What do I need to know apart from jsp and servlets? | |
Hi, I am wondering problem in my project. there is remotely accessing application but comes following error :- WARNING: Unable to connect to URL: [url]http://192.168.100.99:8989/PTax_PG_eBiz-PTax_eBiz_WS-context-root/PropTaxPort[/url] due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: … | |
I have follwed the tutorial on [I]JSP database connectivity according to Model View Controller (MVC) Model 2[/I] for login servlet. I use ServletConfig servlet and init- parameters from web.xml according to the tutorial. I am using Netbeans IDE. Bu I receive this exception whan I try to use login form. … | |
Exception in inserting date into database [CODE] String Fname= request.getParameter("txtfname"); String Lname= request.getParameter("txtlname"); String Uname=request.getParameter("txtuname"); String Pass=request.getParameter("txtpass"); String Email=request.getParameter("txtemail"); String Gender=request.getParameter("group1"); String Add=request.getParameter("txtadd"); java.sql.Date sqlDate = new java.sql.Date(new java.util.Date().getTime()); //out.println(""+Fname+Lname+Uname+Pass+Email+Gender+Add); Connection con= null; //if(Fname != null && Lname != null && Uname != null && Pass != null && Email … | |
hi folks, Here i face problem in my webpage [servlet + mysql] Connection are working fine. But when running time it get download the page instead of display the content in the browser. I try myself so many time, cant sove it.. plz guys help me to overcome this problem. … | |
Hi friends.... I want to execute my first servlet but i am not able. I am going to explain what steps I did. 1-First I copy "Servlet-api.jar" from lib folder in tomcat and paste it in ext folder of java. 2- Create HelloWorld.java in somewhere in my hard drive [CODE]import … | |
I only wanted to print the value in the string variable fname but somehow am not able to use the jsp tags effectively. [CODE] <%@page language="java" import="java.util.*" %> <% Cookie[] c= request.getCookies(); if(c==null) { response.sendRedirect("index.jsp"); } else { for (int i=0; i<c.length; i++) { if(c[i].getName().equals("Cuname")) { try{ Connection con=null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); … | |
Hi all, am using eclipse IDE.I want to connect mysql database with jsp/servlet for that i want to add mysql j/ connector. I added properties -> Java build path-> Add External jar file but still it calls the exception Driver not found "com.mysql.jdbc.Driver". Am not filmier with Eclipse any one … |
The End.