4,248 Topics

Member Avatar for
Member Avatar for xray_slayer

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 …

Member Avatar for nikhildoomra
0
191
Member Avatar for kohuke

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 …

0
143
Member Avatar for Thirusha

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?

Member Avatar for Thirusha
0
81
Member Avatar for wmf1116

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....

0
44
Member Avatar for saswat1579

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 …

Member Avatar for saswat1579
0
118
Member Avatar for jeetudaljit

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 …

Member Avatar for pm4
0
143
Member Avatar for emilio
Member Avatar for jBrennan

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 …

Member Avatar for jBrennan
0
89
Member Avatar for shijunair

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 …

Member Avatar for Sharaiha
0
675
Member Avatar for myray

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. …

0
38
Member Avatar for emilio

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.

Member Avatar for emilio
0
108
Member Avatar for palavi

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 …

Member Avatar for peter_budo
0
65
Member Avatar for satigid

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 …

Member Avatar for ~s.o.s~
0
148
Member Avatar for shebeg

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 …

Member Avatar for peter_budo
0
137
Member Avatar for Sharaiha

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 …

Member Avatar for peter_budo
0
114
Member Avatar for Neerajjaggi

[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 …

Member Avatar for peter_budo
0
95
Member Avatar for hapax

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 …

Member Avatar for stultuske
0
102
Member Avatar for sam2020

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 …

0
54
Member Avatar for dastisrinu

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

Member Avatar for Ezzaral
0
34
Member Avatar for vish_1x1

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.

Member Avatar for masijade
0
126
Member Avatar for shijunair

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 …

0
68
Member Avatar for eimonphyu
0
55
Member Avatar for jeetudaljit
Member Avatar for ~s.o.s~
0
65
Member Avatar for emilio

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();%> …

0
92
Member Avatar for jeetudaljit

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..!

Member Avatar for peter_budo
0
78
Member Avatar for senthil_sivanat

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.

Member Avatar for stephen84s
0
734
Member Avatar for Gort

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 …

Member Avatar for PhilliePhan
0
226
Member Avatar for bloody_ninja

[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 …

Member Avatar for peter_budo
0
315
Member Avatar for guravharsha

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.*" %> …

Member Avatar for guravharsha
0
137
Member Avatar for jagsar2323
Member Avatar for samlabs821

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

Member Avatar for samlabs821
0
115
Member Avatar for tefbaez

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 …

Member Avatar for tefbaez
0
669
Member Avatar for tactfulsaint

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 …

Member Avatar for stephen84s
0
84
Member Avatar for guravharsha

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 …

Member Avatar for senthil_sivanat
0
154
Member Avatar for jhughe28

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

Member Avatar for senthil_sivanat
0
106
Member Avatar for affu304

i have one jsp with some hyper links. on click of this links i want to show some other jsps in the same jsp.

Member Avatar for senthil_sivanat
0
70
Member Avatar for aarya
Member Avatar for senthil_sivanat
0
144
Member Avatar for guravharsha

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 …

Member Avatar for senthil_sivanat
0
537
Member Avatar for brr

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 …

Member Avatar for senthil_sivanat
0
391
Member Avatar for kavit.bhatt
Member Avatar for Swetadri

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 …

0
131
Member Avatar for jeetudaljit
Member Avatar for jeetudaljit
Member Avatar for peter_budo
0
2K
Member Avatar for guravharsha

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 …

-1
89
Member Avatar for romi_ch

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 …

0
61
Member Avatar for guravharsha

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 …

Member Avatar for peter_budo
0
148
Member Avatar for insauciant

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"); …

Member Avatar for peter_budo
0
61
Member Avatar for bkgupta

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.

Member Avatar for peter_budo
0
68
Member Avatar for annuw

HI, i want to generate html file from xml and xslt documnet using java...pls,,,

Member Avatar for annuw
0
75
Member Avatar for sbuggle

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 …

Member Avatar for peter_budo
0
97

The End.