Java Server Pages (JSP)

  • URGENT!. read & write Files with JSP (I/O)
  • Fri, 08 Feb 2008 18:58:00 GMT
  • I sorry, this is !URGENT!. i can't help in this big problem, how cani read and write Files with JSP (I/O), for validate path on OS of thewebserver.Thank you for fast reponse,A Friend...
  • "10.4.5 404 " error in Netscape 6.2.1, but not in IE
  • Tue, 15 Jul 2008 09:20:00 GMT
  • I`m trying to ensure that my JSP is functioning on both I.E and Netscape.It works fine on I.E, but throws Error 404--Not FoundFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:10.4.5 404 Not Foundin Netscape.Is anybody familiar with this problem?thanksChris...
  • "AJAX Push" & "Icefaces"
  • Wed, 16 Jul 2008 13:24:00 GMT
  • Hi folks,yesterday I read about the technology called "Icefaces" [ref:http://www.icefaces.org], and am curious to use it's Ajax Push framework, that is also called as RIA framework in Java EE apps.Now, before I start doing that, I want some expert advise about the product. If any o' you...
  • "application" & "getServeltContext"
  • Tue, 15 Jul 2008 09:33:00 GMT
  • Hi,AllCan you tell me the difference between "getServletContext()" and "application"?The code is as follows:.....<%! public void jspInit() { getServletContext().setAttribute("cats",EShop.getCats())//why getServletContext() use here, and can we raplace it with application ? } public void jspDe...
  • "Back" functionality in J2EE Application
  • Tue, 15 Jul 2008 09:19:00 GMT
  • We're writing a web app that has a requirement for the users to be able to have some sort of "BACK" functionality to navigate through the application. We don't want to use the "Back" button on IE or the javascript function history.go(-1) because we don't want them to be able to submi...
  • "Best" IDE for JSP development
  • Tue, 15 Jul 2008 09:22:00 GMT
  • My company has been using JBuilder 7 for for Java development. When I started JSP development, I just stuck with what I already know. As Borland's IDE support is coming to an end, we have been advised to not upgrade our JBuilder version and are now considering other development environments....
  • "bind" property
  • Thu, 17 Jul 2008 17:37:00 GMT
  • Hi,I'm creating a dataTable with multiple rows dynamically populated.One of the column is another dataTable also dynamically populated.This is the code for the inner dataTable :code:<h ataTable binding="#{Page1.dataTable2}" headerClass="list-header" id="dataTable2" rendered="#{beanCollec...
  • "Browse for folder" button in a jsp page
  • Tue, 15 Jul 2008 08:49:00 GMT
  • Hi,Please let me know how to handle "Browse for folder" button in a jsp page.For e.g. during installation of any software we will show browse button to choose where we would like to install the software / application.Thanks,...
  • "cannot resolve symbol" when passing JspWriter to my class
  • Mon, 14 Jul 2008 21:45:00 GMT
  • I'm making a webpage using JSP and I'd like to be able to print to thewebbrowser in my class. Below is what i think is the relevant part ofmy class. I believe I have included the right packages and I believeeverything else is correct but for some reason I get an error when Itry to compil...
  • "code too large for try statement " , While compiling JSP
  • Tue, 15 Jul 2008 08:53:00 GMT
  • I have a JSP with the size 147kb. When it gets compiled the size is becoming 250kb. I am aware of that there can be 64k of code between try-catch block. But i can't split the jsp and have include one jsp into other, bcoz i am using the XML mapping for my jsp. Can any one please suggest me a...
  • "Component Specific Custom Error Messages"
  • Wed, 16 Jul 2008 13:35:00 GMT
  • Hi Guys,Need to set component specific custom error messages. For instance, if user name & adderss is mandatory then global custom messages such as:1. Please enter 'User Name'2. Address is missing / required.By default the standard error message is displayed for all mandatory fields name...
  • "contact us" web form?
  • Tue, 15 Jul 2008 08:40:00 GMT
  • Hi, I have an interview and they asked me this question :Describe what files and classes you would need to develop in order to accept data from a "Contact us" web form.please if you were asked this question, how would you answer it ?Thank you your help is appreciated.[ April 29, 2005: Message ed...
  • "Document is empty" error, what does it mean?
  • Wed, 16 Jul 2008 13:23:00 GMT
  • I'm attempting to follow this tutorial (http://www.thearcmind.com/confluence/display/SHJFT/Getting+started+with+JSF,+Facelets,+Eclipse+WTP+and+Tomcat). I've gone through each step and have even downloaded the supplied code. No matter what I do, each time I attempt to hit the add or multi...
  • "Error: 500 java/sql/Savepoint " what is this?
  • Tue, 15 Jul 2008 08:15:00 GMT
  • I am using J2EE and trying to access a table called DiagnosticCenter in the Database Pharma in MySQL.But I am getting this error..!what could be the possible reason?code:<%.thatisjava.com. page language="java" import="java.sql.*"%><%.thatisjava.com. page import="java.io.*"%><html> <body> <% String...
  • "f:verbatim"?
  • Wed, 16 Jul 2008 13:29:00 GMT
  • Hi..Can I render HTML codes which is defined inside <f:verbatim> tag based on some condition, like rendered attribute for <h utputText> tag..Can you people clear my doubt..Thanks in advance..[ February 12, 2007: Message edited by: Jessica James ]...
  • "General Error...." on my JSP page
  • Tue, 15 Jul 2008 09:36:00 GMT
  • Hello, please eac time i tried to load my JSP code, i get a GENERAL ERROR. I have registered my Access Database with microsoft ODBC and it is located in the same directory with my JSP codes; please what should i do?This is the code attached below:<HTML><HEAD><TITLE>JDBC in JSP...
  • "h:selectOneMenu" with Ajax4JSF passing selection to backing bean on the "fly"
  • Wed, 16 Jul 2008 13:41:00 GMT
  • I'm a JSF newbieI have a form with a dropdown; I want to pass my selection on the "fly" to the backing bean by using Ajax4JSF;Unfortunately I'm not able to able to pass on the "fly"; However form submit seems to workHere's my code snippet:code:<f:view><h:form><h:panelG...
  • "How to connect jdeveloper web server with tomcat"
  • Sun, 10 Feb 2008 16:47:00 GMT
  • i have to connect jdeveloper web server with tomcat web server. please help me out.Thankyou...
  • "HTTP/1.1 200 OK Server"
  • Tue, 15 Jul 2008 09:29:00 GMT
  • hi, im getting this error in my JSP. kindly let me know how to fix this error.thanks and regardsVishnu"HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 04 Oct 2002 12:52:23 GMT Connection: close Content-Type: text/html;charset=ISO-8859-1 Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Serv...
  • "include file" gives unwanted empty line
  • Tue, 15 Jul 2008 08:08:00 GMT
  • It is commonly known when scripting server that you may encounter empty lines in your generated code. That's why you should attach endings and beginnings of scriplets and include statements like this ...%><%... and not ...%><%...But suddenly, after adding a feature in my server-s...
  • "jsp:include page=..." & refresh
  • Tue, 15 Jul 2008 09:19:00 GMT
  • I used <jsp:include page=...> hoping that it dynamically picks the new file content. However, I found I need to hit "refresh" button to get it. Is it because it uses some cached page ? How to make it dynamically load the latest page content instead of loading any cached results ?Thanks....
  • "jsp:include" : why use "flush=true" ?
  • Mon, 14 Jul 2008 22:00:00 GMT
  • Hi,When using "jsp:include", tutorials often recommend flushing: <jsp:include page="myPage.jsp" flush="true" />The documentation says this would flush the response buffer before starting to write the included page.But *why* is this important ?If you don't flush, isn't it true that...
  • "jsp:include" performance implications
  • Mon, 14 Jul 2008 21:43:00 GMT
  • Hi, I have a JSP file that has a couple of include directives in a forEach loop. For some reasons outside of this discussion, I need to change the include directives to include actions. The code is sort of like the following:[Before] c:forEach ... .thatisjava.com. page include="childA.jsp" .thatisjava.com. page include="chil...
  • "mailto:" link
  • Mon, 14 Jul 2008 21:38:00 GMT
  • Hello there,I'm having to do some validation server-side (not a real site, just question for courswork) and I need to display a mailto: link if there are no errors found.What I tried is this, but nothing appears on screen, and I'm guessing it's something to do with my '"' mar...
  • "Mastering JavaServer Faces" by Bill Dudney
  • Tue, 15 Jul 2008 09:56:00 GMT
  • Hi Bill,do you think JSF will likely overtake other MVC frameworks such as Struts, or will they work together?...
  • "Next" button functionality
  • Tue, 15 Jul 2008 09:19:00 GMT
  • I have a web application implemented im J2EE.On the screen I have a table wherein I display 5 records at a time.At the bottom of the table there is a "Next" button to fetch more records.So how is this "Next" button functionality implemented?Do I get all the records from the database put it in a...
  • "No data is available for the requested resource." error in jsp
  • Mon, 14 Jul 2008 22:00:00 GMT
  • HelloCan any one help me in resolving this problemo. i am displaying some data using java beans. The jsp that does this is included using jsp:include tag. it display some objects data and then i get internet explorer msg box:No data is available for the requested resource.This error always arriv...
  • "OS LOGIN & LOGOUT TIMES"
  • Tue, 15 Jul 2008 08:18:00 GMT
  • I HAVE A REQUIREMENT WHERE IN I NEED TO FIND OUT THE THE LOGIN TIME AND LOGOUT TIME WHEN EVER I GET IN TO WINDOWS OPERATING SYSTEM SO I REQUIRE CODE IN JAVA TO TRAP THE LOGINS AND LOG OUT TIMES OF ALL THE USERS...
  • "out"ing values stored in javabean
  • Tue, 15 Jul 2008 09:23:00 GMT
  • How do I get a value (or call the get method) from a javabean to display on my jsp page?I've got my usebean statement, but if I have a getEmail method in my bean, how do I get the value of the email to the jsp page?I've tried code:<c ut value="${subscriber.email}/>code:<jsp:use...
  • "Page not found" exception
  • Tue, 15 Jul 2008 08:17:00 GMT
  • In my web application I would like to customize ""Page not found" exception to my user defined exception message.so when ever user request to a given page , which does not exist should should my user defined exceptionHow could i do this?Thanks,aakash...
  • Java Technology Blogs
  • "Java Server Pages (JSP)" Related Questions
  • "bind" property
  • Hi,I'm creating a dataTable with multiple rows dynamically populated.One of the column is another dataTable also dynamically populated.This is the code for the inner dataTable :code:<h ataTable binding="#{Page1.dataTable2}" headerClass="list-header" id="dataTable2" rendered="#{beanCollec...
  • "How to connect jdeveloper web server with tomcat"
  • i have to connect jdeveloper web server with tomcat web server. please help me out.Thankyou...
  • "10.4.5 404 " error in Netscape 6.2.1, but not in IE
  • I`m trying to ensure that my JSP is functioning on both I.E and Netscape.It works fine on I.E, but throws Error 404--Not FoundFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:10.4.5 404 Not Foundin Netscape.Is anybody familiar with this problem?thanksChris...
  • "HTTP/1.1 200 OK Server"
  • hi, im getting this error in my JSP. kindly let me know how to fix this error.thanks and regardsVishnu"HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 04 Oct 2002 12:52:23 GMT Connection: close Content-Type: text/html;charset=ISO-8859-1 Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Serv...
  • "OS LOGIN & LOGOUT TIMES"
  • I HAVE A REQUIREMENT WHERE IN I NEED TO FIND OUT THE THE LOGIN TIME AND LOGOUT TIME WHEN EVER I GET IN TO WINDOWS OPERATING SYSTEM SO I REQUIRE CODE IN JAVA TO TRAP THE LOGINS AND LOG OUT TIMES OF ALL THE USERS...
  • "h:selectOneMenu" with Ajax4JSF passing selection to backing bean on the "fly"
  • I'm a JSF newbieI have a form with a dropdown; I want to pass my selection on the "fly" to the backing bean by using Ajax4JSF;Unfortunately I'm not able to able to pass on the "fly"; However form submit seems to workHere's my code snippet:code:<f:view><h:form><h:panelG...
  • "Back" functionality in J2EE Application
  • We're writing a web app that has a requirement for the users to be able to have some sort of "BACK" functionality to navigate through the application. We don't want to use the "Back" button on IE or the javascript function history.go(-1) because we don't want them to be able to submi...
  • URGENT!. read & write Files with JSP (I/O)
  • I sorry, this is !URGENT!. i can't help in this big problem, how cani read and write Files with JSP (I/O), for validate path on OS of thewebserver.Thank you for fast reponse,A Friend...
  • "Mastering JavaServer Faces" by Bill Dudney
  • Hi Bill,do you think JSF will likely overtake other MVC frameworks such as Struts, or will they work together?...
  • "Browse for folder" button in a jsp page
  • Hi,Please let me know how to handle "Browse for folder" button in a jsp page.For e.g. during installation of any software we will show browse button to choose where we would like to install the software / application.Thanks,...