3,747 Topics
| |
I use to pass data between *.java and *.jsp, since this is a MVC framework, it will go by the *.java first. so i used request.getSession().setAttribute("test", "01010101010") to save the value, and then in *.jsp, use request.getSession().getAttribute("test") to get value. But it returns a strange string "682342348" all the time. … | |
What i want is when i click upload button upload the file with progress bar [CODE] <form action="image_upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="filei" id="filei" /> <input type="submit" name="button2" id="button2" value="Upload" /> </form> [/CODE] this is my php file [CODE] <?php $name=$_FILES["filei"]["name"]; $size=$_FILES["filei"]["size"]; $type1=$_FILES["filei"]["type"]; $dirpath = "upload/"; //upload image if ((($_FILES["filei"]["type"] … | |
in jsp,i created login.jsp. in login.jsp,i created username,password and submit button. my login.jsp goes through database. i am okie BUT i want validation in login.jsp which goes through database. | |
Hello, I am building a servlet which handles the login process after the user clicks the submit button on the previous HTML form. The servlet should get the data entered from the form then perform an SQL statement to select all the data in the registered users table. Once all … | |
i use netbeans 6.8 with jato ve ee plug-in i tried to run a simple web project ,in the un in the netbeans everything looks fine but nothing browser i got this message in firefox : The connection was reset im use win 7 help me please:'( | |
i've got a 404 error when i tried to call a servlet it said Not Found The requested URL /Login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument handle the request. please help me solve this problem Thank … | |
Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting … | |
i want to make tabpanel in which the tabs are in two rows...dnt require them in a single row...cuz the no.of tabs are more. can any1 help me in doign that in jsp?? | |
Dear all, No matter what I do, I can't seem to be able to make the JSP with Database work. How can I connect to an Oracle database which is hosted in our University, over a JSP page. I have a project where we need to connect to Oracle database … | |
Hi all, it's my first post. i'm using tomcat 6 and put under it website done by jasper . this website contain xml.html ang jsp pages .the jsp pages needed to be encrypted, i try using ant but i'm fail may be i don't use it right. could you please … | |
[code] <?php include "config.php"; include "header.php"; echo "<tr>"; echo "<td width=\"250\" valign=\"top\">"; include "left.php"; echo "</td>"; echo "<td width=\"4\" bgcolor=\"#CCCCCC\"> </td>"; echo "<td width=\"550\" height=\"320\" align=\"left\" valign=\"top\"><h3 align=\"left\" class=\"pagesect judul_besar\"> <span class=\"menu1\"> Sistem Pakar Gangguan Perkembangan pada Anak</span></h3>"; echo "<p class=\"pagesect judul_besar\">"; echo "<blockquote>"; if(!pasien()) { echo "<div align=\"center\"><span class=menu>Access Denied !!!</span></div>"; … | |
Hi: I took a course on Spring 2.56 from Interface21 and the labs I got get it to work during the training. But when I tried it at home it doesn't work. I go to the following url and it's find. [url]http://localhost:8080/accounts/[/url] It display "This is my JSP page. " … | |
Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so … | |
hi, I have a requirement to include a website in my jsp file,say [url]http://www.abc.com[/url] . But the problem jsp:include does not support any protocols. how to achieve this functionality?? Thanx, lpk | |
I am getting closed exception messages with my below jdbc connection to Oracle 9i from Tomcat 6 container. The database connection is used about once or twice a day. [b]java.sql.SQLException: Closed Statement[/b] and [b]java.sql.SQLException: Closed Statement: next[/b] [code] private Connection connection; public ArrayList<MoneyBean> getMoneyList() { ArrayList<MoneyBean> list = new ArrayList<MoneyBean>(); … | |
Any good suggestions for creating a JSP that reads several initialization parameters and outputs them to a Web page. | |
I dont want to use resultset object in JSP page. Rather I want to use a java class for retrieving values in to the JSP page. Either using array list or something like that., I tried many times but failed Please advise in detail. Thanks | |
How to select multiple location under one central location in jsp and should be stored in oracle? | |
Hello Everyone, i am new to websphere and i m trying to install websphere and its pluging to eclipse. i searched a lot but i didnt get the result. please tell me how to configure WASCE plugin with eclipse? thanking you. | |
Respected Sir, I am trying to execute above code with rerquest response object. In my jsp file i have 3 text boxes 1.mobile 2.username 3.password , All the above three attributes are stored in MySql table emp. I want to execute this code in a fashion like when i entered … | |
Hi, I just finished learning basic OO concepts and java programming. I know some HTML and have made very basic webpages. I'd like to tackle something like Ruby then ruby on rails. I've also taken a class in databases and mySQL. Do you think it's ok for my level to … | |
Hi all, I've registered a host name that I have been port forwarding to IIS for html/php pages. I recently setup up some connectors for Tomcat 6 and IIS, but that's not going so well. I can only view a set of sample pages that came with Tomcat and none … | |
i want to made a online test series program in jsp using beans, so plz help me , i want structure and database of program . | |
Hi all, Kindly let me know the solution for the below query [code]<fmt:message bundle='${config}' key='singlelevelauth' /> [/code] the above line prints a value in the page but i need that value to be set using <core:set> tag and i used the following.. [code]<core:set var="corpID" value=<fmt:message bundle='${config}' key='singlelevelauth' /> ></core:set>[/code] i … | |
i have no idea about how to create a forum in jsp please give me suggestion and code to create a discussion forum | |
Hi for a web application I am developing there is a need to assign the value attribute of struts tag and the value is in expression of jsp. I have a string in a jsp page and that string has to be assigned to textfield of struts tag using. How … | |
The name of this question is jsf_dao_interface Hello and Thank you in advance for any assistance. [B] System info: [/B] netbeans,glassfish,MySQL [B] The Purpose of this post is: [/B] I am trying to learn to use an interface. I was wondering if someone was familiar with using and or had … | |
plz help me.......... how to connect jsp and access. how can we retrive data from access to jsp. | |
Where is best JSP tutoriall, at least best for you? I will appreciate also downloadable for offline use. I'm extremely noob to JSP but I know some java | |
Hello, I am trying to make a forum website using struts and hibernate. I am totally new to struts, hibernate and jsp, so am not familiar with how the flow should be. So, I have a homepage which will give me a link to the forum page. On this forum … |
The End.