3,760 Topics

Member Avatar for
Member Avatar for skycrew

Hello there, Im new in JSP Just want to ask, how I can force web browser to popup download box to download the .prn file that was generated by server? Assume that [CODE]fileName.getAbsolutePath()[/CODE] is the variable that hold the path for .prn file *** Im using pure JSP

Member Avatar for skycrew
0
795
Member Avatar for kvprajapati
Member Avatar for kvprajapati
0
288
Member Avatar for tulsi_apr03

hi , frends i have a problem with displaying data on jsp page. While displaying data on web page(jsp page) i want to display some records , after a certain time that will be "automatically display" the next some more records on it, and continue this while the end of …

Member Avatar for tulsi_apr03
0
227
Member Avatar for mamatachaudhari

hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing …

Member Avatar for mamatachaudhari
0
4K
Member Avatar for sanjayrawat177

PLEASE PROVIDE ME A WAY TO PUT A JSP OUTPUT IN PDF FILE........ ACTUALLY WHAT I M DOING IS THAT......... There is a JSP page which displays charts (bar,pie) of students (name and marks ) from database ,,i want that this chart output also display in PDF file... pls help

Member Avatar for sanjayrawat177
0
2K
Member Avatar for mamatachaudhari

SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.mail.pop3.POP3Message I am not getting why this exception has occurred.It throws the exception when i starts tomcat server. I have used recieve() method in LoginAction which is used to recieved mails using POP3 protocol. I am using JAVAMAIL 1.4

Member Avatar for kvprajapati
0
151
Member Avatar for mamatachaudhari

Hello' I m using struts 2.0 . I want a comboBox(<s:select>) on Jsp. bean i want to populate in combobox is nested. I only know list property of <s:select> but my list is nested. How can i populate combobox with nested arraylist.

Member Avatar for mamatachaudhari
0
92
Member Avatar for Netti

Hi there, Im creating a rating system in .jsp and im doing trial and error to figure out how to solve it. Here's the structure of the rating system. I have a jsp page call 'ListPhotos.jsp' of all the different images and directly below every image there is a hyperlink …

Member Avatar for kvprajapati
0
209
Member Avatar for ritesh399

Hi all, I am self submitting(reloading) the jsp page using javascript but after self submitting the value in <input type="file" name=" "> disappears . I tried to retain it using <input type="file" name="exe" value="<%=value[0][1]%>" > but it is not working. please suggest me how to retain this value. Thaks Ritesh

Member Avatar for kvprajapati
0
269
Member Avatar for shahbaz5144842

Hi to all there ! i am trying to to execute the query to insert values into database but all the time facing this exception my code for query is this [code]String query=("INSERT INTO imageinfo (imgId,imgName,imgEntryDate,userName,imagePath) VALUES ( '"+ 0 +" ',' " + imgNam +"',' "+ date +"',' "+ …

Member Avatar for peter_budo
0
93
Member Avatar for mamatachaudhari

hi.. I am using struts 2.. I want tabs on my jsp and my code is.. On first Jsp i used to create tabs which works fine for me. [code=JSP]<s:tabbedPanel id="test" labelposition="middle" > <s:iterator value="teamlist"> <s:url id="resultsUrl" action="navigateChangeTeamAction.action" > <s:param name="teamCode" value="teamCode" /> <s:param name="teamName" value="teamName"></s:param> </s:url> <s:div label="Team2" theme="ajax" …

Member Avatar for mamatachaudhari
0
2K
Member Avatar for gunman

Guys, I am stuck , where I am not able to find out the way to display the ArrayList of ArrayList in jsp page. So if possible Please help me. My code in DAO class is as under [code] //DAO class name:StdprdSetCatViewDAOImpl.java public ArrayList getF(String[] pg) throws Exception { //pg …

Member Avatar for gunman
0
2K
Member Avatar for janotox
Member Avatar for annumol

Respected Sir, i am developed a web based sofware in j2ee. Now I want to include hibernate. i am in need of a suggession. when i used a query for selecting some records from database, i want to present data. Is it better to present Data java class itself or …

Member Avatar for annumol
0
69
Member Avatar for sivendar1

Hi Please help to me I am not able to display image from Mysql 2005 i written code but the image is not displaying the data is comming to my java but not displaying [code=Java]( if(request.getParameter("option").equalsIgnoreCase("FOUR")) // for image & signature { //qry2="select PicBuffer from D140101 where CustNo="+cust+" and PicSrNo …

Member Avatar for kvprajapati
0
119
Member Avatar for satin

Hi.. i want to use mysql without installing on client system.. So i planned to use mxj.. but this was not helping .. It is trying to access my mysql which i installed.. Can somebody help me.. Iam using mysql-connector-java-5.1.5-bin.jar,aspectjrt.jar,mysql-connector-mxj-gpl-5-0-9.jar,mysql-connector-mxj-gpl-5-0-9-db-files.jar files.. Process i followed: 1. Set the classpath for all …

Member Avatar for kvprajapati
0
143
Member Avatar for UAEU Student

Hi to ALL I tried to upload file using JSP and Oracle. The first page is page.jsp which the user choose the file /////////////// [code=jsp]<%@ page language="java" %> <%@ page session="true" %> <HTml> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD> <BODY> <%=session.getAttribute("Name")%> <FORM ENCTYPE="multipart/form-data" ACTION= "upload_page.jsp" METHOD=POST> <br><br><br> <center> <table …

Member Avatar for kvprajapati
0
154
Member Avatar for anzaan

hii ppl... i want to open an excel file stored in c:\ drive. i have a link in JSP file. i want to open the excel file when a user clicks on link. the problem is while running the application on server, i m not able to open the any …

Member Avatar for kvprajapati
0
157
Member Avatar for webster5u

Hi, i am developing the JSP/Servlet system now. Let we discuss database pooling, how you normally do that? My developing application is open/close database object every single class instance. My design is every time, we need access database then we invoked a database class object, execute SQL and close it. …

Member Avatar for webster5u
0
133
Member Avatar for blufab

I am starting a project that will require me to create custom tag libraries. 1. Are there any limitations to what can be performed in a tag class? 2. What are recommendations of what I should not do in a tag class? 3. How do I do error handling in …

Member Avatar for kvprajapati
0
55
Member Avatar for adrian_hs

Hello, unfortunately i'm a newbie to java servlets, still i want to learn something new and powerful (for now i'm a PHP developer ;) ). So i have installed Tomcat 6 and Netbeans on my Windows XP. I want to do something for whidh i need some clesses tahat aren't …

Member Avatar for adrian_hs
0
240
Member Avatar for osirion666

int test = numbers.length; if (numbers[i] = test) { } i want to find the last array in numbers then do something with it for example out put it the above code is my attepmtp at it however i am doingd something wrong and cant for the life of me …

Member Avatar for peter_budo
0
95
Member Avatar for shijunair

hello everyone, I am stuck with this problem.If anyone could help me, it would be a great favour. I am working on a leave application. Here the leaves are been applied by employees and accordingly the leaves are been approved or cancelled. so the problem is that when i am …

Member Avatar for shijunair
0
2K
Member Avatar for litu

hi, i have a jsp with 3 tabs add,modify,view. when i select modify there are two dropdowns. when i select a value from 1st dropdown i have to populate another dropdown based on the selected value. now the problem is when i am going from servlet to that jsp after …

Member Avatar for hardik.rajani
0
85
Member Avatar for kadamati

hi i'm developing a webpage.page contains various fields like collegename ,studentname and so on.collegename field will be a dropdown box and it gets option from backend table collegedetails.every collegename will have a unique collegeid in collegedetails table.after selecting collegename and filling necessary fields in webpage the details should be stored …

Member Avatar for peter_budo
0
99
Member Avatar for chicago1985

I am using Apache Tomcat 6.0.18 on a Windows Server that also has IIS. For IIS I can enable Integrated Windows authentication to fetch the Intranet Windows login username using ColdFusion. Is there a setting in Apache Tomcat I need to enable Integrated Windows authentication so I can fetch the …

0
106
Member Avatar for anandarju

I need to know how to access two tables which has some reference values within the table.I need the Java Code to Fetch Both the tables values which are same and have to display it

Member Avatar for hardik.rajani
0
99
Member Avatar for yas.alvarez

Hi everyone! I need your help!! :S I have an app that open a page(JSP) on a browser. I want it when i open the page, it executes some code and then close automatically. Can i do that?? if yes, how can i do that?? please i hope you can …

Member Avatar for hardik.rajani
0
58
Member Avatar for osirion666

Okay heres the problem i have stored Phone numbers from a check box into an array i want to replace #NUMBERS# in the String URL with a value from the array numbers[] example : number[1] = 0000 Before: url:[url]http://www.sendmessgae.com/send?#NUMBERS[/url] After: url:[url]http://www.sendmessgae.com/send?0000[/url] [code] String url = "http://www.sendmessgae.com/send?#NUMBERS" for (int i = …

Member Avatar for hardik.rajani
0
136
Member Avatar for chaituu

I am trying to implement dynamic rows paging.just imagine for a particular booking id lets say 22 records are there in the database. per page i am displaying 10 records.if u see the HTML code as per sample its showing only 3 records .but in real it will display 10 …

0
65

The End.