3,760 Topics
| |
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 | |
What is difference between include action and include directive? | |
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 … | |
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 … | |
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 | |
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 | |
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. | |
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 … | |
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 | |
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 +"',' "+ … | |
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" … | |
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 … | |
who can help me ? i need some sample program search in JSP | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 = … | |
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 … |
The End.