3,760 Topics

Member Avatar for
Member Avatar for vedmack

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 …

Member Avatar for stephen84s
0
70
Member Avatar for Akangel

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 …

Member Avatar for stephen84s
0
97
Member Avatar for yingyang

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 …

Member Avatar for yingyang
0
50
Member Avatar for shareme

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

-1
36
Member Avatar for it2051229

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

Member Avatar for stephen84s
0
65
Member Avatar for kellybaz

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 …

0
58
Member Avatar for Saurabhw

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 …

Member Avatar for masijade
0
68
Member Avatar for jemu

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 …

Member Avatar for peter_budo
0
30
Member Avatar for ajithraj

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 …

Member Avatar for javaAddict
0
62
Member Avatar for nejimz

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

Member Avatar for nejimz
0
75
Member Avatar for zoroman

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 …

Member Avatar for peter_budo
0
172
Member Avatar for Innas

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

0
42
Member Avatar for kardus

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 …

Member Avatar for stephen84s
0
204
Member Avatar for ucan_aps

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 …

Member Avatar for ucan_aps
0
164
Member Avatar for KilluaX

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.

Member Avatar for missalexa
0
4K
Member Avatar for artirt

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 …

0
88
Member Avatar for Enjoy

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 …

Member Avatar for stephen84s
0
535
Member Avatar for sm3128
Member Avatar for leki

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

Member Avatar for leki
0
157
Member Avatar for javaAddict

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

Member Avatar for javaAddict
0
91
Member Avatar for mahaboob Basha

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 …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for Aman0711

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

Member Avatar for ~s.o.s~
0
62
Member Avatar for myndcraft

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 …

Member Avatar for ~s.o.s~
0
174
Member Avatar for merooo0ooo

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 …

Member Avatar for javaAddict
0
109
Member Avatar for pokahantos

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 …

Member Avatar for pokahantos
0
161
Member Avatar for larryperl

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 …

Member Avatar for javaAddict
0
108
Member Avatar for vivek_web

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 …

Member Avatar for ndtreviv
0
178
Member Avatar for cybernaut09

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 …

Member Avatar for stephen84s
0
120
Member Avatar for mahaboob Basha

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

Member Avatar for peter_budo
0
896
Member Avatar for rajshree13

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

Member Avatar for rajshree13
0
64

The End.