3,760 Topics
| |
Hi, i got the following situation: When user clicks on some link, I'm entering a servlet in which I'm copying a file to a network drive, and than I want to open this file on the Client side, for example the file to be opened is a .pdf file. I … | |
Hey everyone, well ill be quickly...ive gotta a JSP page indexMembers.jsp with a button "Show My Reservations" when u click on that button it calls a JFrame (with a JTable inside) with the data from the databse that the user wrote before. now if i click on another button like … | |
hi every body I am new but there is no time to introduce my self because i have a project to hand in no time but when i tried to lookup session bean in my servlet it give me the error: Borbean not bound //borbean is the session bean so … | |
Hi I need to get values from xml file. I am trying to do this through JSTL.I worked out in following manner, [code]<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %> <c:import url="/corporate/commonjs/YUI_js/validation/valid.xml" var="url" /> <x:parse xml="${url}" var="doc" /> <x:out select="$doc/validationcheck/required" /> My xml file contains, <validationcheck> <required>Required</required> <required>この項目は必須です</required> … | |
hello, i'm new to jsp but i'm not new to web development and been doing PHP for quite some time... I download Java EE and SDK from sun microsystems website and from there when I installed everything, there's a ready made middle ware software to host jsp pages and servlets. … | |
I am working on a project. Here is some background: I am working on a page that lists people and their training info. The training info is an expansion box listed underneath each person. I am trying to have the expansion box automatically open on page load if their training … | |
Hi, My problem is that I have to upload a CSV file from Client Machine (Windows) to Unix Application Server. I am using JSP method post and multipart/form-data (as in [url]http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtml)[/url]. The file is uploaded fine but the problem is it displays carraige Return (^M) a square boxes on Unix … | |
i am using page navigation to show the search results like in google. presently my page is looking like.... FIRST PREVIOUS [1][2][3][4][5] NEXT LAST But i want to display the link FIRST when i am not in the first page. similarly should display the link LAST when i am not … | |
haii friends.. i want to search for a file, which resides in my own system using jsp...that is, when i click a button, a search brower is to be displayed which showing all my folders in my system and from that i want to search for the needed file...Is this … | |
I wan't to make a page that "if i enter a value in the textbox and i press submit button in the jsp page will link the data to the jsp page by getting the data in the data base using the odbc in ms access? someone can help me | |
Hi. I need to do a scramble game. Simply I need to randomly select a word from my set of strings and print out in shuffled string. Such as if the word is "banana" it should print out something like "anaban" and there should be text field for user to … | |
<jsp:include page="hlinks.jsp"/> is not workin on the server. I have taken a webspace and uploaded my files on server. the problem is contents ofpage hlinks.jsp is not included on the page where it is included. What changes should i make in my code so that the tag will work. Similarly … | |
hallo...this is my first post.. i want to validation my registration.. if there are anyone to regis but the username is already(in database), there are message " sorry, choose the different name please" i have no idea, i have tried but always failed... o..yeah i use ms.accsess for my database..and … | |
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 |
The End.