3,760 Topics

Member Avatar for
Member Avatar for coervivekmca

Hi !! I am having a technical problem to run the code of servlet ,jsp and jar file .can you plz tell me how to put these in diferent folder to execute it..plz plz plz tell em the folder arragement to execute j2ee project.. Plz help i need help...

Member Avatar for stultuske
0
187
Member Avatar for rgkrish183

this front page: Form.jsp <html> <head> <title> Data Inserting Form </title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>ENTER THE EMPLOYEE DETAILS</h1> <form action="./Insert.jsp" method="post"> <table cellspacing="5" cellpadding="5" border="5"> <tr> <td align="right">Employee Name:</td> <td><input type="text" name="EmployeeName"></td> </tr> <tr> <td align="right">Employee_id:</td> <td><input type="text" name="Employee_id"></td> </tr> <tr> <td align="right">Nationality:</td> <td><input type="text" name="Nationality"></td> </tr> …

Member Avatar for peter_budo
0
403
Member Avatar for gtsiga

Hie guys I am prety new to JSF and Iam working on some peice of code. I am using primefaces components and JSF backed beans. Here are a list of my questions; 1. Is there a way of running a method each time a page loads. 2. During page load …

0
138
Member Avatar for rgkrish183
Member Avatar for lisy

Hi I am doing a project where i need to edit values in textboxes from database using jsp, here is my code, Please can anyone help me to solve this: retrieve.jsp [code] <%@ page import="java.sql.*" %> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <HTML> <HEAD> <TITLE>Fetching Data From a Database</TITLE> </HEAD> <BODY> <H1>Fetching Data From …

Member Avatar for stultuske
0
3K
Member Avatar for vasudha k

Hi..... I have a small doubt............ I have a page which is used to send mail. In the mail I want a link to be specified. I have written this link in the message part of the mail. this is a a text area. I have used anchor tag.but it …

Member Avatar for stultuske
0
4K
Member Avatar for joelanandraj

in my program a simple shopping application for my lab exercise, i just calculated the price of items inside a for loop but when i try to print it outside it is not getting printed...pls give me some suggestion. for (int i = 1; i < 7; i++) { String …

Member Avatar for stultuske
0
344
Member Avatar for joelanandraj

hi all i have created a jsp page for online exam here i have created a database to store all the question and answers ,used the database to fill all the radio button values,but whenever i retrieve the radio button value and compare it with the database value it is …

Member Avatar for joelanandraj
0
228
Member Avatar for swati1706

hello everyone.. im trying to insert date into mysql..the field is of date type bt when i select a date from datepicker and insert it into database,it takes a random date..not getting where the problem is.. the code is as follow SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); java.sql.Date d = null; …

Member Avatar for pritaeas
0
249
Member Avatar for Ramendra kumar

problem: that is not successful login when we enter email and pass but process going to sorry email id or password error %@page import="bean.LoginDao"%> <%@page import="bean.LoginBean"%> <%@page import="bean.ConnectionProvider1"%> <%@page import="bean.ConnectionProvider"%> <jsp:useBean id="obj" class="bean.LoginBean"/> <jsp:setProperty property="*" name="obj"/> <% boolean status=LoginDao.validate(obj); if(status) { session.setAttribute("session", true); out.println("You r successfully logged in"); } else …

Member Avatar for stultuske
0
147
Member Avatar for dre-logics

I have created an ASP.NET application in vb.net Use a Ubuntu 13.10 Server with Apache Tomcat No i want deploy (install) this application on this server. Is this possible? If so, how? What are the consequences? Thanks, Andre

Member Avatar for pritaeas
0
205
Member Avatar for paichow

i need help..to anyone who expert in servlet & Jsp.. my problem is..i do not know how to upload image via html/jsp.. >before that i already ask mr.google but.. i got sux answer. so, this code work's and upload succesfully but it must manually put the destination file type string …

Member Avatar for stultuske
0
3K
Member Avatar for jethro.njini

i have recently created a database with three tables and the fourth one is a junction table that links all these tables. i want to know how to retrieve data represented by the foreign keys in the junction table using jsp(if it is possible, if it is not, how do …

0
72
Member Avatar for sbhavan

I want to develop a web application. In that I need to implement that the user can't open it in more than one instance in any system. I want to restrict it based on the user and machine. ie. a single user name should be used to login to the …

Member Avatar for rubberman
0
474
Member Avatar for RaniThomas

Hi all, I have created a simple servlet with one one JSP. The files are, index.jsp [code] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Login Page</title> <link rel="stylesheet" type="text/css" href="css/style1.css" /> </head> <body> <div style="background: LightBlue "> <h1 align="center">Sample Application</h1> </div> <FORM action="/myServlet" method="GET"> What's your name? <INPUT TYPE=TEXT NAME="name"><P> <INPUT …

Member Avatar for stultuske
0
2K
Member Avatar for tr1stina

Please help me. I am trying to search order no from Search2.jsp and display it in a table at Display2.jsp. The **error** is javax.el.PropertyNotFoundException: Property 'OrderNo' not found on type bean.OrderBean at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:223) at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:200) at javax.el.BeanELResolver.property(BeanELResolver.java:311) at javax.el.BeanELResolver.getValue(BeanELResolver.java:85) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.apache.el.parser.AstValue.getValue(AstValue.java:169) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:985) at org.apache.jsp.Display2_jsp._jspx_meth_c_005fforEach_005f0(Display2_jsp.java:111) at …

Member Avatar for tr1stina
0
2K
Member Avatar for pallabpal87

hi there, I want to upload a video in my project folder(e.g. uploadedvideo) and save the name of the video in mysql database using jsp servlet. earlier I have found some code in net which required the destination path like c:\...\uploadedvideo etc. I think if I use c: it will …

Member Avatar for cool_zephyr
0
145
Member Avatar for uday_2

In main.html i will have two text fields one is the name of the html page i need to create and another is number of text fields, once i enter number(for example three) in main.html, within the same page dynamically 3 text boxes should be created using javascript... now if …

Member Avatar for uday_2
0
208
Member Avatar for KhubaibQaiser

I want to know how can i use a servlet to generate a table (time table for example) dynamically in a jsp page? The result should come between header and footer inside a div (see the picture) http://img191.imageshack.us/img191/8942/nbo6.png <html> <head> <title>Time Tables</title> <link href="default.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="header"> …

0
124
Member Avatar for <sum>

I am using JQplot and I need to download these in form of image is there any way to convert JQplot to image and simontaniously it save to any folder

Member Avatar for dilang
0
70
Member Avatar for MariannJ

How to Compare a radio Selection in JSP. I want to make radio selection unselectable depending on the another radio selection. Below is Jsp Code. The JSP Page is linked with some Java files where the retrieve and display is done from the database. Below is the link which contains …

Member Avatar for stultuske
0
175
Member Avatar for techyworld

Hi am creating a java web application using jsf framework. I generate report using BIRT report. i create a table but when i view the report the line and border of the table is not displaying. how to make it appears? Anyone can help?

Member Avatar for cool_zephyr
0
163
Member Avatar for cool_zephyr

hey how can I handle no-mapping found exception in spring dispatcher?? so that, if no-mapping to a controller is found in the dispatcher, I would like to redirect the user to a separate Resource not found page Suppose I have only 2 pages in my web application, "/about", "/help" and …

Member Avatar for cool_zephyr
0
1K
Member Avatar for MariannJ

I am trying to connect to a database on button click on a jsp page. The value from the textbox of the html page should be captured and used to satisfy the conditions necessary to display the database values. I am using HTML,JSP,Jquery and Ajax. My database is MySql. I …

Member Avatar for peter_budo
0
2K
Member Avatar for ambikanair

HI, I need to have a captcha in my jsp page. The captcha code is ready and it works perfectly well when the user enters the value. It reloads the same page if the captcha enterd is wrong. I need to navigate to the next page if the value is …

Member Avatar for shadia.mohamed.9_1
0
217
Member Avatar for pankajagar2002

Hi, Recently i upgraded my application java version from jdk 1.5 to 1.7. I am using ajaxanywhere as ajax thirdparty jar for ajax work. After upgrading jdk version, jar is not working properly. It is not updating referesh zone after ajax call. url of ajaxanywhere [Click Here](http://ajaxanywhere.sourceforge.net/) Kindly help me …

Member Avatar for LastMitch
0
199
Member Avatar for ram25244

my problem is that im retriving the values from database and it is a dependent dropdown it will select the name which is compare with id and then will show the next value and stores in db upto that everything is working fine but the id value is storing in …

Member Avatar for stultuske
0
53
Member Avatar for karan_5

I want to store one column value in array because it is auto incremented and also it is a primary key and this values i want to insert into another table where that primary key refer as a foreign key so anyone can help me to come out from this …

Member Avatar for karan_5
0
278
Member Avatar for Varunkrishna

I am learning JSP, and have developed a books application, which displays the book-id,title,author and price. There are seperate text box for each of the field, whenever the user fills the form and hits submit button the value must be inserted into my database. If I try to submit it …

Member Avatar for Varunkrishna
0
2K
Member Avatar for manaila

Hi, I have learned that servlet containers like tomcat handle concurrency in web application. I just want to get a clear comfirmation whether I dont have to multithread my business logic classes/methods(e.g database connections) when I am developing servlet applications. Cheers!

Member Avatar for LastMitch
0
96

The End.