Re: a jsp file
No, it should be " flush="true" /> The flush="true" was missing making it invalid. I got burned on this one. -Original Message- From: Antonio W. Lagnada [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 12:21 PM To: [EMAIL PROTECTED] Subject: Re: a jsp file It was on a previous posting to use single quotes: -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. John Bell <[EMAIL PROTECTED]> wrote: > I have a jsp page that retrieves rows from a database and shows them > on the > page. > One of the columns is a reference to an image > > " > > > and this image is displayed. > > Another of the columns is a reference to a file "../articles/article.jsp". > I want to include this in the page dynamically at runtime as > > > > eg. " /> - which > of > course is illegal > > - is there any way I can accomplish this please? > > John > > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > ___ To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: include
-Original Message- From: Luis Javier Beltran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 11:27 AM To: [EMAIL PROTECTED] Subject: Re: include Which is the correct way to use that directive?? How and where do I set flush="true"??? thanks! - Original Message ----- From: "Hernandez, Rey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 14, 2000 3:51 PM Subject: Re: include Thank you oh so much. I thought I had tried it with and without flush="true" and sure enough, that was the key. I always say, it is a good thing to have another pair of eyes looking at something when you get stumped. Thank you again. -Original Message- From: robert young [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 12:23 PM To: [EMAIL PROTECTED] Subject: Re: include -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Hernandez, Rey Sent: Tuesday, November 14, 2000 03:00 PM To: [EMAIL PROTECTED] Subject: jsp:include Before I go insane trying to figure out if I am doing something wrong, let me ask you guys about jsp:include. I am running Tomcat 3.1 on NT4 with the apache web server, jdk1.3, and whenever I try to use jsp:include I get the error "Invalid jsp:include tag", so what am I doing wrong. Here is the tag I am using: ^ flush="true" robert young === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: include
Thank you oh so much. I thought I had tried it with and without flush="true" and sure enough, that was the key. I always say, it is a good thing to have another pair of eyes looking at something when you get stumped. Thank you again. -Original Message- From: robert young [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 12:23 PM To: [EMAIL PROTECTED] Subject: Re: include -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Hernandez, Rey Sent: Tuesday, November 14, 2000 03:00 PM To: [EMAIL PROTECTED] Subject: jsp:include Before I go insane trying to figure out if I am doing something wrong, let me ask you guys about jsp:include. I am running Tomcat 3.1 on NT4 with the apache web server, jdk1.3, and whenever I try to use jsp:include I get the error "Invalid jsp:include tag", so what am I doing wrong. Here is the tag I am using: ^ flush="true" robert young === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
jsp:include
Before I go insane trying to figure out if I am doing something wrong, let me ask you guys about jsp:include. I am running Tomcat 3.1 on NT4 with the apache web server, jdk1.3, and whenever I try to use jsp:include I get the error "Invalid jsp:include tag", so what am I doing wrong. Here is the tag I am using: The tag with parameters: doesn't work either. Am I doing something wrong or barking up the wrong tree? Is this a documented bug or is there a workaroung? Can someone please direct me in a direction where I can figure out what is going on? Thank you all very much, Rey === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Send Mail Example
http://www.webtechniques.com/sourcecode/2000/12/java/1.lst WebTechniques just had an article about sending Email from Java. -Original Message- From: Antonio W. Lagnada [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 8:18 AM To: [EMAIL PROTECTED] Subject: Send Mail Example Hello All, Does anyone have a simple example on how send an email for in JSP or Servlet? Any help would be appreciated. Thanks -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. ___ To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: How to get the parameters passed to included jsp file?
Think of included JSP files as being part of the file the include command is in. If you want the included file to see something, like a string, just make the String declaration before the include command and then use that variable in the included file. Example. Test1.jsp: ... <% String username = "Rey"; String editable = "ok"; %> ... Test.jsp: ... username = <%= username %> editable = <%= editable %> ... -Original Message- From: Tom Yang [mailto:[EMAIL PROTECTED]] Sent: Friday, November 03, 2000 2:03 PM To: [EMAIL PROTECTED] Subject: How to get the parameters passed to included jsp file? Hi all: I am trying to use the to include another jsp file. I want to pass a few parameters to the included file. I used the statements like the following: But I don't know how I can get the parameters in the Test.jsp included. I tried to use the statement String User_Name = request.getParameter("username"); and User_Name is null. I also tried to use the variable username directly in the Test.jsp, it say it is an undefined varaible. Now how can I retrieve the value of the vaiable userename passed so that I can use it in the file Test.jsp included? Any help will be greately appreciated. Thanks in advance! Tom _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Deploying multiple version of an application within the same servlet engine?
I would think you would just need to use request.getServletContext() for all URL generation. Then your app would be totally independent of context and you should be able to move between them all easily. Rey -Original Message- From: Nicholson Robert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 1:38 PM To: [EMAIL PROTECTED] Subject: Deploying multiple version of an application within the same servlet engine? So, Is there anybody that uses different "contexts" for test/production/development? If so how do you manage your url generation? It seem to me that you can bind an application to a context but you'll have to be sure that all urls generated reference that context. How do people tackle the problem of installing multiple versions of their application within the same application server? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
MessageDigest and the database
Hi all, How are people using the MessageDigest object to encrypt values before sending them to the database? Maybe I'm using it in the wrong way, but I am trying to do something like this: Get a value from the user, across SSL, like a password. Encrypt that password with MessageDigest(using MD5). Put the resulting byte array into the database. I can't seem to find a way to get a byte array into the database, Oracle in this case. I figured I could use a NUMBER datatype, but then how do you convert a byte array to a java datatype that you can use with one of the setXXX functions provided with PreparedStatement that will go into a NUMBER? Hope I didn't confuse everyone with this question, I'd be happy to clarify. Thanks in advance, Rey === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: I get "Out of environment space"
I am not saying that people shouldn't ask questions about setting up servers, especially if they are having a difficult time with it. What I am saying is people should read the available documentation before asking the list for help. A lot of questions have been asked that could have been answered by a quick scan through the readmes available with tomcat, or WebLogic or whatever. If someone has a seemingly unique problem with setting up their own server, then the list should be asked. If someone has a problem and the question they ask is word for word in the readme, I don't believe this should be on this list. Maybe I am way off in my expectations for this list. What do the list moderators have to say? Rey -Original Message- From: Sanjay Gomes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 2:01 AM To: [EMAIL PROTECTED] Subject: Re: I get "Out of environment space" Sorry But I dont agree with this The server setting problem n all are related in a way since he or she is setting up the server for running JSPs , and since everyone in this list has tackled the problem at one time or the other they are the best ones to give the proper solution. Sanjay -Original Message----- From: Hernandez, Rey [mailto:[EMAIL PROTECTED]] Sent: 24 October 2000 20:27 To: [EMAIL PROTECTED] Subject: Re: I get "Out of environment space" Just as a tip, it was mentioned earlier, but I feel it should be mentioned and STRESSED. This list, I hope, is for us to resolve issues that we find with JavaServer Pages after we have exhausted all other avenues of help. For example, the tutorials on java.sun.com, the help files that come with whatever server we all might be using, the readme files (as illustrated below), and the plain old javadoc documents, worlds of info about everything we need to use. This list shouldn't be used to clarify syntactical problems, compile problems when it is obvious there are syntactical or spelling errors, and problems with the server we use, especially problems as simple as getting the servers to work. I don't mean to be rude or scolding, but I don't want my email to overflow with simple messages that I end up deleting anyway. This list is useful if we use it correctly. Please refer to documentation, tutorials, manuals and so on to fix problems yourself. Turn to the list when you are just plain baffled by a problem and you need a new pair of eyes to look something over. You will learn more, we will learn from each other and everyone will be happier with the quality of help that is on this list. Thanks for reading, I'm sorry that I had to write all of this, but I felt it was necessary. Any spam regarding this email should be sent to me, don't clutter up the list. Thanks, Rey -Original Message- From: David Koo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 11:57 AM To: [EMAIL PROTECTED] Subject: Re: I get "Out of environment space" from the readme for the sun jswdk Out of Environment Space error message On Windows 95/98 systems, you may see an "Out of Environment Space" error message when starting the server. This happens if Windows provides too small a space for environment variables. To work around this limitation: Close the DOS window (the error can corrupt its CLASSPATH variable). Open a new DOS window. Click on the MS-DOS icon at the top left of the window. Select the Properties option. Click on the Memory tab. Adjust the "Initial Environment" drop-down box from "Auto" to "2816". Click OK. Start the server. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Raj Jain Sent: Monday, October 23, 2000 5:41 PM To: [EMAIL PROTECTED] Subject: I get "Out of environment space" I am not able to start tomcat on my win98. I have the following files: C:\jdk1.2.2\ C:\tomcat\ I used: C:\tomcat>set TOMCAT_HOME=c:\tomcat C:\tomcat>set JAVA_HOME=c:\jdk1.2.2 C:\tomcat>set CLASSPATH=c:\jdk1.2.2\lib\tools.jar When I startup: C:\tomcat\bin>startup I get: Out of environment space starting tomcat in a new window Please advise. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets ==
Re: I get "Out of environment space"
Just as a tip, it was mentioned earlier, but I feel it should be mentioned and STRESSED. This list, I hope, is for us to resolve issues that we find with JavaServer Pages after we have exhausted all other avenues of help. For example, the tutorials on java.sun.com, the help files that come with whatever server we all might be using, the readme files (as illustrated below), and the plain old javadoc documents, worlds of info about everything we need to use. This list shouldn't be used to clarify syntactical problems, compile problems when it is obvious there are syntactical or spelling errors, and problems with the server we use, especially problems as simple as getting the servers to work. I don't mean to be rude or scolding, but I don't want my email to overflow with simple messages that I end up deleting anyway. This list is useful if we use it correctly. Please refer to documentation, tutorials, manuals and so on to fix problems yourself. Turn to the list when you are just plain baffled by a problem and you need a new pair of eyes to look something over. You will learn more, we will learn from each other and everyone will be happier with the quality of help that is on this list. Thanks for reading, I'm sorry that I had to write all of this, but I felt it was necessary. Any spam regarding this email should be sent to me, don't clutter up the list. Thanks, Rey -Original Message- From: David Koo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 11:57 AM To: [EMAIL PROTECTED] Subject: Re: I get "Out of environment space" from the readme for the sun jswdk Out of Environment Space error message On Windows 95/98 systems, you may see an "Out of Environment Space" error message when starting the server. This happens if Windows provides too small a space for environment variables. To work around this limitation: Close the DOS window (the error can corrupt its CLASSPATH variable). Open a new DOS window. Click on the MS-DOS icon at the top left of the window. Select the Properties option. Click on the Memory tab. Adjust the "Initial Environment" drop-down box from "Auto" to "2816". Click OK. Start the server. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Raj Jain Sent: Monday, October 23, 2000 5:41 PM To: [EMAIL PROTECTED] Subject: I get "Out of environment space" I am not able to start tomcat on my win98. I have the following files: C:\jdk1.2.2\ C:\tomcat\ I used: C:\tomcat>set TOMCAT_HOME=c:\tomcat C:\tomcat>set JAVA_HOME=c:\jdk1.2.2 C:\tomcat>set CLASSPATH=c:\jdk1.2.2\lib\tools.jar When I startup: C:\tomcat\bin>startup I get: Out of environment space starting tomcat in a new window Please advise. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where should I put the property file?
For tomcat, I put the property file in the WEB-INF directory and use the ResourceBundle class to get access to it. -Original Message- From: Howard Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 23, 2000 2:40 PM To: [EMAIL PROTECTED] Subject: where should I put the property file? Hi, I have a property file (a text file) that I'd like to load it in run time from a servlet. I hard coded the path and the file name in a java file, and my servlet basically gets it from the bean. The problem is that it is not finding it. I'm using Tomcat at the moment, but this may change later. What is the best way to load a text file in run time? Where should I place the file? Should I use JNDI to do this? I'd like to hear how others are doing it. Thanks! howard === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Simple JSP Program
I would suggest 2 things. Check your server log to see what the problem was. I can see at least one problem with your code, make sure you keep case the same for all variables, specifically numTimes is declared differently than it is used. Rey -Original Message- From: Brahmananda Rao C V S [mailto:[EMAIL PROTECTED]] Sent: Monday, October 23, 2000 11:09 PM To: [EMAIL PROTECTED] Subject: Simple JSP Program Hello friends, I have a very typical program. I wrote a small jsp programme with the following code (SimpleJSP.jsp) and placed it in public_html in Java Web Server(2.0) * <%@ page language="java" %> Simple JSP Example <% int numTimes = Integer.parseInt(request.getParameter("numtimes")); for(int i=0;i Hello, world! <% } %> <%@ include file="PageFooter.html" %> * I wrote a simple html file to get the input. The code is as follows (file name is SimpleJSP.html) Simple JSP Example How many times? * And i am calling the html file as http://machinename:8080/SimpleJSP.html Once i get the page, i give some number in the text box and submit it, It gives the following error: HTTP 500 Internal Server Error (This page cannot be displayed). Where i am wrong. Please suggest some solution. Thanking you in advance. B.Rao === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: off-topic: Thumbnail Generator
You should be able to use the Java Graphics API to do this. -Original Message- From: Kim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 8:32 AM To: [EMAIL PROTECTED] Subject: off-topic: Thumbnail Generator Dear all, I'm currently developing an online catalog using JSP. People can upload images of any sizes to our catalog. I need a program which my jsp can call to generate a thumbnail out of the uploaded images(jpg or gif). Would appreciate it if you can point me to where I can get this component. I've come across some freeware but they have GUI. I need the API. Thanks much. kim. - Original Message - From: "aytekin_umit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 11:10 PM Subject: refresh page problem > Hi. I created a jsp that shows a persons' profile data. > > I take the user data from database and show it to the user. > If the user wants to change its data i take the new data and > update the user profile. > - > if(mode==showuserprofile) > { > create html with required data > } > else if(mode==update user profile) > { > update user data in the database > and create html with required data > } > > I dont let the jsp to cached > The problem i am having is that if the back or forward buttons of > the browser is clicked the browser gives en error that it needs > refresh.I dont want that "refresh" need to occur but instead let the > user go back or forward without clicking the refresh button of the > browser.Is there a way to accomplish this? > Thanks > > > > __ > ÜCRETSÝZ E-MAIL ALDINIZ MI? > Türkçe ilk Portal http://www.mynet.com > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: problem with ....
Is this a bean you were using, recompiled it, and then tried to use it again? I'm not familiar with how WebLogic does things, but tomcat requires you restart the server for the recompiled bean to be recognized again. -Original Message- From: Mutahar Qayum [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 11:54 AM To: [EMAIL PROTECTED] Subject: Re: problem with Yes, i did set it in Weblogic classpaths. -Original Message- From: Tasneem [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 10:34 AM To: [EMAIL PROTECTED] Subject: Re: problem with Have you placed your bean in the proper path. Tasneem Talawala JSP Developer [EMAIL PROTECTED] www.verchaska.com Verchaska - Helping your bussiness succeed - Original Message - From: "Mutahar Qayum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 12, 2000 1:43 AM Subject: Re: problem with > Hi, > > I am using a bean i compiled a class and now i am trying to use it in JSP > page. But, getting > ClassNotFound error. > > can you help ? > > Thanks > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets