4,248 Topics

Member Avatar for
Member Avatar for nikhilmohan

can anyone help me to backup/restore my database file by using jsp code??? im using postgres sql... please its urgnt..tnx in adv. i am using fedora 11 i got this code from an article. but i know it will not wrk.. pls help me if any one hav any idea. …

Member Avatar for jwenting
0
209
Member Avatar for vij123

i have a Jsp page. in this Jsp page having some links. i want when i click to link of result some data should be display. but it does not displaying. please check the below code. Indus.jsp [CODE] <html> <head> <title>Indus Public School</title> </head> <body> <div align="center"><font size="+3"> Indus Public …

Member Avatar for vij123
0
123
Member Avatar for vij123

I have two Jsp pages named bestschool.jsp and schoolnames.jsp. I am calling schoolnames.jsp from bestschool.jsp. I want when I click the link on INDUS School. It can show all concerning link of INDUS School links like profile, result, facility etc. in the same place instead of other naming school links. …

Member Avatar for vij123
0
194
Member Avatar for karthickj25

hi i am new to jsp, i need to create a jsp page that has list All, Add, Delete, Update button, the page should display all the records from the database when list All button is clicked and adds new record when add button is clicked and so on, is …

Member Avatar for musthafa.aj
0
143
Member Avatar for maverick_ymca

Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out …

Member Avatar for ~s.o.s~
0
99
Member Avatar for vinothkumarrvk

:S Friends. I want an table with one row of height 200px and another row with relative height of the table or expandable height in JSP page. Is it possible to create like it? I want an solution. I am badly in need of help. Thanks in Advance.

Member Avatar for masijade
0
154
Member Avatar for NinadNagwekar

please help me out as im currently working upon an Academic level project of Web-Based Discussion Board and i need help in retrieving data from database in JSP

Member Avatar for peter_budo
0
40
Member Avatar for mayu

Hello, i have one problem in retrieving updated data from textbox which in in iterate tag. this code is in jsp page which is part of table: [CODE] <logic:present name="effortForm" property="activity" > <bean:size id="size" name="effortForm" property="activity" /> <logic:greaterThan name="size" value="0"> <logic:iterate id="result" name="effortForm" property="activity"> <tr> <td align="left"> &nbsp; <bean:write name="result" …

0
65
Member Avatar for maverick_ymca

Hi, Thanks for such valuable inputs all you guys contribute here. This is my second request for assistance here, I'd appreciate any assistance. I developed an application which queries a webservice to get back data in form of XML. The webservice has a restriction on its usage in daytime, that …

0
90
Member Avatar for celyst

I am having an issue with creating some JSP pages. I have a few pages (Home, About Us, Contact Us) done up in JSP, and I also have the ability to login to this site using a username and password. What I want to achieve is to allow visitors to …

Member Avatar for celyst
0
539
Member Avatar for Robot1199

i am new to java programming and not good enough. we are required to make one class which creates and manages connection to database instead of all my servlet. i cud come up wtih the following code. please assist in what i have done wrong .thanks My connection file. [CODE]/** …

Member Avatar for javaAddict
0
120
Member Avatar for kishore.nath07

hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts. thank u

0
58
Member Avatar for nonhlah

Hey this is the error im getting "SEVERE: Shutting down v3 due to startup exception : Address already in use: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@1a683e6"" Do you have any Idea how I can solve it?

Member Avatar for masijade
0
64
Member Avatar for jothibasu

below coding is used for print date currennt date and time from your pc [code=Java]import java.text.SimpleDateFormat; import java.util.Date; public class dateformate { public static void main (String args[]) { Date date = new Date(); System.out.println("today date "+date); } }[/code]

Member Avatar for jothibasu
0
63
Member Avatar for vsaransweety

Hi I'm developing an application using jsp.In that i want to upload a file and insert the datas from that into database. I'm using file type input box to upload file. Its working fine in IE,but getting problem while running in Firefox 3.Bcoz of the security purpose,I cant get the …

Member Avatar for vsaransweety
0
92
Member Avatar for puk

Hi, I have a form linked to a servlet that uploads files. I would like the name of the file that has been uploaded to be displayed next to the <h3>line once it has been processed. I have no problems linking the servlet to the form or uploading the file. …

Member Avatar for stultuske
0
61
Member Avatar for adi00

hello i install mysql , jdk and tomcat. when i run java file it give message that no database connection available . where to put mysql connector and how to set class path in environment variable . plz help me

Member Avatar for dangari
0
114
Member Avatar for anfeerpt
Member Avatar for sharathk60

this is my code where i am putting values to the checkbox value by getstring i getting problem when displaying the value of checkbox value which displays"Undefined" please give some solution. where i want to get the value of my checkbox which i have been selected

Member Avatar for jwenting
0
278
Member Avatar for -_-

how can i write a email function using jsp which have reply, forward, address book function like yahoo email function.

Member Avatar for jwenting
0
63
Member Avatar for jresh_101

\n is within a string... String str = request.getParameter("textfieldvalue"); I want to display the value of str to other pages..using this link below. window.open("page.jsp?param=<%=str%>") ....the problem is that the window is not opening due the str has \n. How to read \n in a string?

Member Avatar for toughlittleone
0
215
Member Avatar for mjwoodford

Hi, I have a jsp, the relevant piece as follows: [code]<%@ page language="java" contentType="text/html;charset=utf-8"%> <%@ page session="false" %> <%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %> <portletAPI:init /><% String welcomeImage=portletResponse.encodeURL("/images/welcome_image.jpg"); %> <div id="welcome_img_div" style="margin-left:5px;width:715px;height:190px;background-image:url('<%=welcomeImage%>');background-repeat:no-repeat;">[/code] I want to rotate around a series of images as the 'background-image' ..but it is not clear to me …

Member Avatar for ejosiah
0
104
Member Avatar for vinothkumarrvk

Friends i have one doubt: Who invented the [B]spring framework [/B]and when they invented it? Please help me to know this.

Member Avatar for vinothkumarrvk
-1
68
Member Avatar for aroranid

I want to have locale wise 301 redirect on my page, as if if the user browser locale language is set to en_CA then it will be [url]http://www.xyz[/url].[B]ca[/B] domain and if the locale is en_US then we will put a 301 redirect to [url]http://http://www.xyz[/url].[B]com[/B] site. Similarly if the browser locale …

Member Avatar for aroranid
0
49
Member Avatar for dannyfang

HI, I wish to get the values from the drop down menu selected by a user from the HTML page and pass this value into my servlet program for processing. In my servlet program, I've used the getParameter() function to obtain the value from the drop down menu selected. <SELECT …

Member Avatar for peter_budo
-1
9K
Member Avatar for heels

Hi, I am currently using xampp with all the preloaded add ons, such as tomcat, mysql and apache. When i try to connect to the database through my computer with windows xp, it works perfectly fine. But when i changed it to another OS, windows vista. It keeps giving me …

Member Avatar for peter_budo
0
98
Member Avatar for s_jadli

Hi, Is there any way to call a function in jsp under while loop without triggering an event.

0
58
Member Avatar for manikandan_dani

hi, I am developing web application using jsp and servlet. with help of this application I am downloding files from server to client machine. it is working.... But my problem is how to avoid the download window while download the files and store the perticular place in the system. please …

Member Avatar for jwenting
0
68
Member Avatar for manikandan_dani

hi , i am developing web application. In that, I download two files from glashfish server into another local machine in jsf. if i access from client machine, files does not download into client machine. but it download into server machine alone. so to solve the problem, shall i use …

Member Avatar for masijade
0
60
Member Avatar for low1988

Does anyone know how to compile the file inside the bank.zip with database ? Some of the pages can be view in Tomcat server others needs to bundle with the database

Member Avatar for jwenting
0
114
Member Avatar for jagsar2323
Member Avatar for ganeshhsk

The following are the program i did...... and the problem im getting is object expected in onchange function at line 27(where i marked that one in bold for ur ease of identifying the error occuring area) in Task123.jsp. The value in not passed from Task123.jsp to Task113.js. First Page : …

Member Avatar for ganeshhsk
0
216
Member Avatar for bayo_84

Hi .. I try to override the XmlWebApplicationsContext and I dont know how to register my subclass. I found in ContextLoader.java in the method determineContextClass the following code: String contextClassame = servletContext.getInitParameter(CONTEXT_CLASS_PARAM); I looks like I could set the class by setting this Parameter but I down know how. In …

Member Avatar for ~s.o.s~
0
129
Member Avatar for jigar_cool

[B][COLOR=red]I m in urgent need of online flight reservation system source code coded in JSP since i hav to submit it before 15feb.[/COLOR][/B] [B][COLOR=red]the system must do the necessary functions-[/COLOR][/B] [B][COLOR=red]flight infornmation,[/COLOR][/B] [B][COLOR=red]fare details,[/COLOR][/B] [B][COLOR=red]online reservation,[/COLOR][/B] [B][COLOR=red]cancellation,[/COLOR][/B] [B][COLOR=red]view availability of seats,[/COLOR][/B] [B][COLOR=red]administration functions such as edit details,reports generation,etc[/COLOR][/B]

Member Avatar for rizwanshaikh
0
207
Member Avatar for Jerreke

I'm trying to populate the items of a foreach-element in a JSP page. [code]<c:forEach var="request" items="${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}">[/code] Gives me: org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(40,36) '${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}' Property 'getRequestsBySchedule' not found on type $Proxy8 the called function exists, and when i cann manageSchedulesBean or userController, there is no error. Someone got a clue?

Member Avatar for Jerreke
0
110
Member Avatar for anuj_sharma

Hey Guys, Should i use hidden textboxes or session variables to pass values between various jsp pages??

Member Avatar for jwenting
0
88
Member Avatar for abirami84

I wanT to connect database with jsp directly otherwise have connection with servlet anD how to make connection on sevlet WITH jsp

Member Avatar for jwenting
1
81
Member Avatar for coolest_987

I am making a project on j2ee but i am facing a little problem ie.[B][U]How can i play mp3 songs in jsp? [/U][/B]I ask this question to many person but no one was able to answer my question.Plz consult Discussion Community about this question. I am finding this question since …

Member Avatar for peter_budo
0
424
Member Avatar for anuj_sharma

Hey Guys, I am making a Online Testing application. I have one form which sets the settings of the test. The values submitted by the user through this form is passed onto another page. On the second page the user submits questions and answers. Now i want the values submitted …

Member Avatar for peter_budo
0
88
Member Avatar for countenance
Member Avatar for javaAddict
0
66
Member Avatar for angellost

hiii i am doing a project using jsp and oracle.... i am stuck on one thing.... in my project i am asking the user some FAQs about symptoms he has.... depending on the answers he gives i want to show him probability of the diseases he may have... but i …

Member Avatar for jwenting
0
80
Member Avatar for Mandana_bgh

hi i have radio button in jsp i want check that radio is selected or not!! [CODE] <input type="radio" name="code1" value="1" > [/CODE] how can i check in input that radio is selected or not!! for example put if in input [CODE] <input type="radio" name="code1" value="1" <% if(?)%>>[/CODE]

Member Avatar for Mandana_bgh
0
5K
Member Avatar for raghu3117

if a jsp report selects 100 records, then i want to show that report as 10 records per page, such as next,last,pevious 10 records like emails. pls help me with example

0
42
Member Avatar for vinothkumarrvk

Friends what is the result/output for the following code in struts(example.jsp) [code=jsp] <% String linkDesc = "abc\ndef"; desc=linkDesc.toString(); %> <bean:define id="descId" value="<%=desc%>"/> <bean:write name="descId"/> [/code] Please clarify me. Thanks in Advance.

0
55
Member Avatar for manikandan_dani

Hi , i am developing web application using jsf2.0. it includes [B]Datatable[/B] for view the values from mysql. I wish to filter the column by using [B]filterby[/B]. but It is not working properly.. when i try to filter, it display two values for single value. How to solve this problem. …

0
69
Member Avatar for fardoonmuhafiz

hi, i deployed a webapplication(wapp1) having input.html and a servlet(Servlet1) in tomcat web server. The form input.html just accepts a text and when u click on the button click the request is sent to servlet in wapp1. The request is redirected to a servlet(Servlet2) which is in a webapplication(wapp2) deployed …

Member Avatar for fardoonmuhafiz
-1
86
Member Avatar for bayo_84

Hi there I am very new in useing jsp but here is my first problem. I registered a bean in the applicationContext.xml with the id myBean. Now I want to call a function like this ${myBean.myFct} but the function does not exist and it should not. In PHP there exists …

Member Avatar for bayo_84
0
69
Member Avatar for albertkao

I want to set the value to <td><div class='urg5'>High</div></td> in JTSL. [CODE]I tried <c:set var="ack" value="<div class='urg5'>High</div>"/> <c:out value="${ack}"/> Page source of the JSP web page is &lt;div class=&#039;urg5&#039;&gt;High&lt;/div&gt;</td> i.e. special characters appear. instead of <div class='urg5'>High</div>[/CODE]

Member Avatar for albertkao
0
90
Member Avatar for saikatroy1985

Hi, i am having a lot of data n i need to fix the header so that user can check the relevant data without scrolling up down everytime. Can anyone help me out.

0
63
Member Avatar for pradeepkumarb

i developed an online quiz application that retrieves the questions from the database and displays it to the user.how can i put time constraint into that application

Member Avatar for peter_budo
0
67

The End.