4,248 Topics
![]() | |
I'm building small application, im kinda newbie in jsp..I use the MVC n servlets concepts.. My problem is after from servlets, the page i want to go (change to another place) cannot shown in the address bar correctly(the addressbar still showing the servlet page), but the view is exactly d … | |
Hi again (I'm annoying i know, but i just get stuck with things). I'm using this tutorial: [url]http://www.netbeans.org/kb/61/web/jsf-jpa-crud-wizard.html[/url] I'm using it in combination with [B]mysql+tomcat[/B] not java database+classfish. I have imported the following libraries (after googling what is needed for persistance in tomcat and mysql): JSF 1.1 JSF 1.2 JTA … | |
I was working through an client side struts from the internet, everything worked fine, until the alert came up displaying "???en_GB.errors.required???" instead of the values from the MessageResource.properties file. Does anyone know what the problem could be? | |
Dear JSP friend, I'm new in JSP. I would appreciate if someone can help me in creating inner joint 2 table from MySQL DB and display the result in JSP as report. Please help me.... | |
hi everyone i m new to this site..... i have problem ....... i m trying to insert data which is in jsp page int bale but it is not happening my problem scenario is: i have one jsp page ,in which i m displaying data from one table say table1 … | |
I tried to store session using.. String UserId=request.getParameter("username"); session.setAttribute("username", UserId); and when I try to access it in some other jsp/servlet using request.getAttribute("username") it is showing incompatible data types and showing value null.. but request.getParameter(); is working fine .. wht to do if I need to access this variable in … | |
| |
I've got a tag file, "nav.tag" with the following attribute: [code=jsp] <%@ attribute name="navigation" rtexprvalue="true" type="java.util.Map" %> [/code] I get nothing when I attempt to assign a Map value to a variable like this: [code=jsp] <c:set var="articleSection" value="${navigation['ARTICLE']}" /> [/code] However, this works: [code=jsp] <c:forEach items="${navigation}" var="s"> <c:choose> <c:when test="${s.key … | |
Hello everyone, I am new to this forum and help will really be appreciated.hope that you'll will help me. I am working on a project using jsp,servlet,ms-access as database. I have to prepare a login page which should be validated with the database and i have done the coding for … | |
Hi there, Now I am doing a project which using JSP calling Crystal Report (version XI) and whenever the report popup. it is always show an IE error message something about printcontrol.dll. So does anyone ever come across this problem before, and pls let me know how to solve it. … | |
hi i am trying to add a picture to jsp page. i'm using netbeans software. the problem is when i run the page the picture is shown with red x mark. the picture is available from ie and i restored my security settings to default. | |
hi , can i update multiple tables on submitting one form, i ve a form which includes vehicle details and driver details like driver name vehicle no,vehile type booked for the date DD/MM/YYYY from some place to another place,these details shud be updated in the driver table , vehicle table … | |
Hi I am designing a web application. the structure is like this. request for product -> controller.jsp ( based on URL forward the request) -> products.jsp Here request can come from any of the pages and products.jsp refer to different jsps for different product. In general, there will be so … | |
Hi! i just want to ask how to end a session after a transaction. Here's the flow of my app...after updating information in the database, a confirmation page is invoked, in this page, a button which will display the first page is displayed. when i click that button, the text … | |
hi i need help with a web page i am making the index page is a common subscription form for students you enter name email and student number, the page validates them then send them to a JSP page. the problem is i am not good at all with JSP … | |
[code] <%@ page import="java.sql.*"%> <%String fname=request.getParameter("name"); String lname=request.getParameter("last"); String id= request.getParameter("id"); String pass=request.getParameter("password"); String pass1=request.getParameter("passcon"); String month=request.getParameter("Months"); String date=request.getParameter("date"); String year=request.getParameter("year"); String gender=request.getParameter("gender"); String country=request.getParameter("country"); %> <%=try { Connection c=null; Statement st= null; DriverManager dm=null; String pass=""; String user=""; PreparedStatement pt=null; String url="Jdbc:Odbc:jaggi"; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); c=dm.getConnection(user,pass,url); if(pass.equals(pass1)) { pt=c.prepareStatement(insert into Registration … | |
I want to learn Java web development. What should I study first? JSP, servlets, and JDBC? Or should I jump right into learning to use environments like Struts, JSF, Spring, Hibernate? Which of these would you recommend, if so? (I'm from an ASP.NET/C# background, but I want to start learning … | |
Hey Everyone, I have got a jsp "1.jsp" which will insert records in various tables. I'm using sql:transaction tag to group the sql statements together to provide transactional behavior. Some of these sql statements will be used by multiple jsps. So I created a separate jsp "Common.jsp" which contains the … | |
I need one genric java code to read Java/servlet/jsp files and identify Connection,Statement,ResultSet Objects And find out whthere they have been closed. Output should be like this : Source file Connection/Statement/Resultset not closed | |
Hello everyone, I want to know how to add menu's in my jsp page. Can any1 please provide me with a sample code, regarding the same. Also tell me how to make my logo transparent, it is blocking my background image. Please help. | |
hi everyone, I am facing a problem which i know that you'll will surely find a remedy. I have a login.html ,login1.jsp which does the database connection and welcome.jsp the main page. so the problem is when i put the username and password it directs me to the welcome.jsp, In … | |
i want to browse web page on mobile phone using HTTP from .jsp programs | |
is it possible to create data grid in jsp without using jsf? if yes, then pl. help.. | |
i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> … | |
I am new to JSP. Please guide me which e-book or book should I read so that I can learn from basics to advance skills and develop a web site by own. Please help..! | |
I want to send an SMS from my server i.e from my webpage. I need to know do i need any device related to this or can it be done with programming. Is SMPP is a protocol like SMTP or SMPP is a hardware. please reply me quickly. | |
Hello [url]www.daniweb.com/;[/url] am fixing a windows xp computer. Ran ATF-Cleaner , Deckard’s System Scanner (DSS) CCleaner. Ran Windows XP Maliware exe Here is a log of what i have so far.the windows xp computer runs slow and poor, can not yet get hijack-this to load and run. (cd issue). also … | |
[url]http://www.visualbuilder.com/jsp/tutorial/pageorder/13/[/url] I got the code from this place, however, when I try to run it, it doesn't work. I am new to JSP, just trying to learn the basics , but I can't even get correct info from the website. A friend altered the code for me like this, although … | |
Hi; The below jsp page is compiling fine but executing it shows error as[B]javax.servlet.ServletException: java.sql.SQLException: Column 'Total' not found.[/B] [CODE] <%-- Document : evaluationeventtable Created on : Jul 24, 2008, 6:52:37 PM Author : user1 --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ page language ="java" %> <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %> … | |
Please can any one mail me a jsp source code of an e-banking project at [snipped] | |
Hello , I created link to admin/admin.jsp I want to create a link to index.jsp in admin page Mysite___ |___index.jsp |___admin/ |___admin.jsp | |
Hey there, I need help with something... I need to create 2 .jsp pages, one with a textbox in which you submit a name, and the second one should display it when you i click the submit button...but i cant seem to get it right =S this is what ive … | |
please i need help here after successfully deploying and i tried to test the web app but the server displays this error and i dont know what the problem might be.. HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented … | |
Hi, my adduser.jsp page consist of form with field username,groupid like. I am forwarding this page to insertuser.jsp. my aim is that when I submit adduser.jsp page then the field filled in form should insert into the usertable.The insertuser.jsp is like: [code] String USERID=request.getParameter("id"); String NAME=request.getParameter("name"); String GROUPID=request.getParameter("group"); InitialContext context … | |
Is it possible to have an XML sent to JSP without any user involvement? I know about set and get attributes, but does anyone know how to extract an XML message that's at the end of a URL? thanks | |
i have one jsp with some hyper links. on click of this links i want to show some other jsps in the same jsp. | |
Is there any webhost which offer less than 5$.if so will you pls direct me | |
Hi, I am trying to retrieve data from table in two times. In first query I am displaying all data available in table. Now I want to count the no. Of rows available in the same table by using select count(*)from table-name type query. How can I retrieve records of … | |
iam getting problem while using resultset within resultset like... [code=java]while(rs.next()){ ....... ...... s=rs.getString(1); while(rs1.next()){ ------ ------- } //after completion of inner result set iam not getting values of outer resultset (null) like rs.getString(1);//nullpointer exception if i store in variable like in s above show then getting eventhough getting likethat but … | |
| |
Hi All, I have a problem.For my project, I need to log-in to yahoo.com by giving just username and password in my jsp form and I have to retreve the url of rssfeeds which I have subscribed by My Yahoo. I am not finding how to do this. I tried … | |
| |
Pl. help to call a servlet page which is in another directory from a jsp page. | |
Hi, I have one jsp page containing 2o questions retrieved from table along with its possible four-option answer in this manner: [B]Question1: Option-a Option-b Option-c Optio-d[/B]All the options are in radio button form. I am trying to store the result of these question test in my final output table: [QUOTE]Structure … | |
Dear developers, I lay my apologies if my question do not relate to current category. I am new to Java and trying to build a Java web application where i can use beans (to configure a database connection as well as my database entities) and JSP to present data through … | |
Hi All, Kindly give me some guidelines regarding below issue. I am developing Student feedback system to provide feedback about faculty to in institution. Now I have three tables in database: 1.Questionid containing column as id, questionid-description, type 2.event table containing column eventid ,eventdescription,questioned-description(contain same data as like questionid-description from … | |
what is wrong in following code [code] <form name="log" method="post" action="login.htm"> <% try { //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //String url="jdbc:odbc:ODVS"; Connection conn=null;//DriverManager.getConnection(url,"downtime","downtime"); Class.forName("oracle.jdbc.driver.OracleDriver"); conn=DriverManager.getConnection("jdbc:oracle:thin:@10.10.10.2:1521:PLMDM","vvv","vvv"); String uid=request.getParameter("username"); String pwd=request.getParameter("password"); String sqlQry=("select * from USR_PASS_TB where username='"+uid+"' and password='"+pwd+"'"); Statement stmt=conn.createStatement(); ResultSet rs=stmt.executeQuery(sqlQry); if(rs.next()==true) { //response.sendRedirect("../HTML/index_group.htm"); %> <jsp:forward page="login_cae.htm" /> <% } else { //response.sendRedirect("..HTML/invalid_login.htm"); … | |
Hi , I am a new member to Daniweb.I have one issue on progress bar in jsp. can any body tell me how to generate progress bar in jsp,while its fetching data from server side. | |
HI, i want to generate html file from xml and xslt documnet using java...pls,,, | |
Hello, I need detailed examples of how to create a pdf from jsp. On the jps page there will be a print button and when clicked the same jsp will pop up as a pdf to print. How do you include this behind the print button.... Using ireport Someone said … |
The End.