3,747 Topics
| |
hai to all.. help me to solve my problem... im dng one project..in my project i do have one database.. it wil be updated for every 30seconds.. so i have to display the data from database with thier updates.i mean i would like to display data's in the client browser..whenever … | |
Hi, all What I am trying to do is to put a hyperlink on my jsp page. Then, when I click on the link, I will come to the linked page and as well the page can get some info from the jsp page. How is the code like? thanks. | |
I'm making a web site and need limiting customers' access to the website of my application. I work under Apache Tomcat 6.0.18, postresql and of course i've put postgresql-8.3-603.jdbc4 in my lib file. My context Apache-Tomcat's name is "hotel", and my database's name is AMDB. I haven't a file sun-web.xml … | |
Hi all, I want to retrieve selected item from listbox in a jsp page and send it to a servlet. I am not able to get selected value. Can u please tell me how to get selected value. In servlet i am trying to get the selected value by using … | |
How can i Import contact using javascript in jsp. Regards, sm3128 | |
I try using this code: [code]File wd = new File("/sx04a1/jakarta-tomcat-5/webapps/maltixa"); String sscp = "scp /sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp [email]jipbekok@fff04.ff.ff.es:/sx04a1/jakarta-tomcat-5/webapps/maltixa/index5.jsp[/email]"; p = Runtime.getRuntime().exec(sscp,null,wd); try { p.waitFor(); } catch (InterruptedException e) { e.printStackTrace(); } out.println("Exit value: " + p.exitValue()); BufferedReader reader =new BufferedReader(new InputStreamReader(p.getInputStream())); String s = reader.readLine(); out.println("scp said [ " + s + … | |
Hi there, Does anyone know any good books for Struts 2? I have tried reading: Struts 2 In Action, but I wasn't very thrilled about it Thanks | |
Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values … | |
[code=JSP]<td><c:out value="${varApm_qpay.METRICS_IN_SLA}"/></td> <td><c:out value="${varApm_qpay.METRICS_OUT_OF_SLA}" /></td> <td><c:out value="${varApm_qpay.TOTAL_METRICS}" /></td>[/code] I am using the above mentioned code to access a data and then display it on my jsp page. My problem is that I want to truncate the decimal values that are being displayed on my jsp page. for example 15.0 should … | |
I have a JSP page that creates a link to a php page. (..:: I have ZERO JSP experience ::..) and I need to do some encoding or string substitution because a '&' is being passed and interpreted by the php as a separate variable rather then part of a … | |
drop down menu task hi all i'm working in jsp & servlet project now i need a help in code for jsp page I had a drop down menu which is dynamically reloaded from my database records waht i need is to link each item in the that menu to … | |
Hello all, I have a very stupid problem... unfortunately i can not find any way to solve it.. I am using JDeveloper to design & implement JSP page.. I have an input field "text field" where the user enter his name.. I wanna check if the text field is empty … | |
Hi , I am usinga code to connect to database. here is the code-- [CODE] <html> <head> <title>Obtaining a Connection</title> </head> <body> <h1>This Page Obtains a Connection to a Database and executes a query</h1> <% Connection conn = null; ResultSet result = null; Statement stmt = null; try { Class … | |
wen i try to connect jsp with access i found error showin "no data found" ..how can correct it ? also data is not inserted in my database..my codin is below.. [code=JSP]<% Connection con = null; Statement stmt = null; ResultSet rs = null; String quer = "insert into db … | |
I am creating a login page , where when user enters his username and password the the request is sent to the servlets first and then validation is done in a javabean . If validation results true then user is forworded to another page otherwise he remains on the same … | |
i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. [code=jsp]package com; import java.io.*; import java.util.*; … | |
How we can authenticate the users without using username and password,i.e anybody can view the page by just entering name,emp id and date and on submitting redirect to the url | |
Q: Create a JSP based page wherein by clicking the add button the user details should be added to the database and clicking the delete button should delete the particular user details from the database. I am new to JSP so dont have much idea how to proceed? Do we … | |
Hi, In my project, i should display all the mail ids available in a website. one text box where i should enter the address(eg:[url]www.sample.com)and[/url] submitting it will return all the mail ids available in that website. Kindly help me out.Thanks... | |
Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values … | |
Hi Guys, I am new here in this community. I still did some stuff with JSP, but now I have a principle questions. Would be nice to receive some feedback... I wanna build up a website with several JSP pages. But I don't want to place all the content into … | |
Hi,... I am learning JSP . I want to know that which software or tool that should be used to develop the code... which help me for future to work. after few days i am on 1 industrial project so.. which software?? any server / tool that should is used?? … | |
Regards for All, I am new in JSP and giving a web solution, I am using XML document to store data. I have a script which retrieves stored data from XML which is in JSP. Now I want to append more data at any level in XML document and want … | |
Hi i want to implement one servlet where first i want add a user to the database and later when he logged again i need to check that whether he is already existed or not?if he is not existed i need to add those details to the database... can any … | |
How to design a print reciept from jsp file. or generated a pdf file any idea to start ? | |
Hai, I a have JSP page containing a registration form.The registration form contains a text box and a drop down list box with 1-7 option values. I have entered data into the text box and selected the option value in the drop down list box . After the clicking on … | |
I have a lab to do a simple chat program that has to 1. identify users 2. list online users (means to determine who's logged out and who has closed the page but hasn't logged out) i'm identifying users by session. I'm having problem with determining a user who hasn't … | |
I am new at and using Struts. I'm not sure how to do the following: I am loading an Arraylist of TitleNames. Each TitleName is related to a List of pictures (MyList). MyList is a class that I created that contains all the fields needed to describe the picture. In … | |
Hello, This is my first post here. I appreciate any help you guys can give me. I'm having some issues with the technologies listed in the title. I've narrowed this down to a Apache/Tomcat configuration issue (I'm leaning towards tomcat issue). First of all, my setup: Apache 2.2.10 -- The … | |
Hello all. I have this problem. I have a div with inactive buttons in a jsp page, buttons like select all | add to basket | compare | .... and some java logic determining whether any products (coming from a backend) are found on page load. I want to make … |
The End.