Re: How to use return in Jsp file?

2000-12-05 Thread hamid
Hi, First of all why u want to write return. As when ur page converts to Servlets(Aplication auto do this), the code comes in service method. And when u use explicitly return it will (Servlet)not properly do its work so stop execution. If u will not use return it will ultimately stops here

Re: How to keep acc of client interest

2000-12-05 Thread Mio Nino Marquez
For things like this, I would suggest you check the book Instant Java Server Pages from Osborne (http://www.osborne.com/program/instant_javaserver.htm). The book has a good collection of ready to use codes. Mio Nino P. Marquez - Original Message - From: "prasanjeet" [EMAIL PROTECTED]

Re: File Uploading problem

2000-12-05 Thread Thang Nguyen
Hi, I'm not sure that your zip file is being cached somewhere, but try to take a look to ensure that you have worked with the same file.Maybe you have edited a file with same name but in different path. Regards. -Original Message- From: Arun Prakash [mailto:[EMAIL PROTECTED]] Sent:

How can I send a mail write by html?

2000-12-05 Thread Mr. chen
Hi ,all Now I have a problem -- I want to make a JavaBean to send netnews mail .the netnews mail not only include Texts but also include pictures just like an html file. how can I do now? somebody can help me ? I want to get some source codes about sending such mail. Grands Johnson

JSP like Servlets

2000-12-05 Thread Pau García
Hi, We need to install our JSP project into a server wich only supports Servlets. I supose that is possible to call the Servlets generated from the JSP pages and Java Beans directly like a Servlet, placing them in the directory "servlets". Does anybody know how? Thanks! Pau García

Re: How to use return in Jsp file?

2000-12-05 Thread Mengyuan Yuan
Hamid : Firstly thanks for your kindness to reply. I want to use "return " in my program because there are some complicated calculation in the service method. The situation is just like this : if ( A ) { html ... /html return; } do other

Re: How to use key words Return from Jsp??

2000-12-05 Thread Panos Konstantinidis
I am not sure, but I think that you hgave to return a value (for example return 1, or return true - if your method is of type boolean). Now if you just want to exit the method (or a block of code) you can use the break statement. Hope this helps. Panos From: Mengyuan Yuan [EMAIL

Best Server

2000-12-05 Thread Zahid Khan
Hi! Which JSP Server is the best for JSP pages and to administer on Windows 2000. Zahid Khan. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Re: How to use return in Jsp file?

2000-12-05 Thread Satyanarayana Ravada
Hi all, We bascially will have to set some configurations in the properties of the JSP's in the webserver and when the Jsp is executed from the browser with webserver started ,it picks up the path specified in the property files and places the relavent servlet in specified path of

OT:(RE: How to use key words Return from Jsp??)

2000-12-05 Thread Manos M. Batsis
Pes ta re Kostadinidi ;-) Manos -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Panos Konstantinidis Sent: Tuesday, December 05, 2000 11:51 AM To: [EMAIL PROTECTED] Subject: Re: How to use key words

Re: How to use return in Jsp file?

2000-12-05 Thread Pau Garc?
Hi, ŸßWe need to install our JSP project into a server wich only supports Servlets. I supose that is possible to call the Servlets generated from the JSP pages and Java Beans directly like a Servlet, placing them in the directory "servlets". Does anybody know how? ŸßThanks! Pau García.

Re: IllegalStateException

2000-12-05 Thread Berger, Richard
Thanks I'll give it a go ! Richard -Original Message- From: Yogeeta_Raghunathan [SMTP:[EMAIL PROTECTED]] Sent: Sunday, December 03, 2000 9:34 PM To: [EMAIL PROTECTED] Subject: Re: IllegalStateException You could prevent the user from clicking the link many times thru

A problem with forward in JSP

2000-12-05 Thread Mengyuan Yuan
Hi, all : I write too jsp file to test forward: File 1 : test10.jsp10 jsp:forward page="/doc/test9.jsp10" jsp:param name ="today" value="Tuesday " / /jsp:forward File 2 : test9.jsp10 html head % String str =

session closing

2000-12-05 Thread rajan tirumala
Hi, I am Rajan, I joined the listing in recent times. I am finding this listing very helpful. I am using a bean with session scope, in my JSP page. At the end of the interraction, I want to close the session. When I find that it is the last thing to be displayed I am closing the session using:

how to retrieve the value from the url ?

2000-12-05 Thread Varun
hi how can i retrieve a value from the url , im using String id = request.getQueryString(); Suppose http://localhost/index.jsp?code=12345 if i write the above code,then the value of id is code=12345 which i do not want, i only want the value ie 12345, how do i achieve this? Thanx Varun

Re: JSP like Servlets

2000-12-05 Thread Petr Jiricka
Pau, basically you need to specify mappings for the generated servlets, so they can be accessed by the same uri as JSPs would be. Then you also need the JSP runtime in your classpath. An exact way how to do this may be very dependent on your server. If your server supports the servlet 2.2

declaring implicit objects

2000-12-05 Thread Reinhard Pilz
Hi, When creating a VariableInfo object to define custom implicit objects for a tag handler, the constructor needs a boolean value which triggers the new definition of the scripting variable in the resulting .java file. By setting this parameter to 'true', the scripting variable is ALWAYS

Re: how to forward two vectors to different jsp page

2000-12-05 Thread Ying Sun
I happened to the problems in my application,would you please give me some idea? one feature for my application is:cut the branch from the tree in the upper frame and show the cutted branch in the bottom frame.So the upper frame will be upper.jsp,the bottom frame will be bottom.jsp. When the

Re: how to retrieve the value from the url ?

2000-12-05 Thread jaspreet
use request.getParameter("code") this will return you the value you required... Jaspreet Singh Programmer/Analyst IIS. Varun wrote: hi how can i retrieve a value from the url , im using String id = request.getQueryString(); Suppose http://localhost/index.jsp?code=12345 if i write the

stateless and statful bean

2000-12-05 Thread zhangkai
hi guys i am confused ! whats the difference between stateless session bean and state bean? whats the features of statless session bean? thanks in advance === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: How can I set web server name (sorry if out-of-topic)

2000-12-05 Thread Mohammed Ali
All the configuration (for server name, port number etc.,) in apache is done in httpd.conf file. Now, if you want your apache server to respond to requests made to http://www.somename.com instead of your actual machine name (which I am assuming is) http://psc71, then, that needs to be handled by

Re: How to use return in Jsp file?

2000-12-05 Thread Susan Wang
I met this once before. I guess when JSP is coverted to Servlet, the 'Return' statement can't work anyhow. I changed the way of coding and removed the 'Return' statement. Why not try coding without 'Return'? If your code is like this: if ( A ) { html ... /html

Send and Receive XML Data

2000-12-05 Thread Mohammed Sharif
Hi I need to have a Servlet which reads and sends data in XML through http. Can anyone tell me any sample code on the web or a book to approach to this problem. Thanx _ Get more from the Web. FREE MSN

Help Required

2000-12-05 Thread Zahid Khan
Hi! I am new to JSP technology. I am using IIS 5.0 with Win2000. I want to build an application in JSP (website). Which JSP Server is the best in this situation and is there any add-on available for IIS to support JSP? Thanks in advance. Zahid Khan.

Re: Dr.Watson,Help Please!!!

2000-12-05 Thread Scott Evans
Hm. Are you using Sun's JDBC-ODBC brigde by any chance? -Original Message- From: prasad bhosale [mailto:[EMAIL PROTECTED]] Sent: Friday, December 01, 2000 2:06 PM To: [EMAIL PROTECTED] Subject: Dr.Watson,Help Please!!! Hi all, I am running a JSP file on tomcat with apache-tomcat

ejbPostCreate and ejbFindByPrimaryKey

2000-12-05 Thread alex
hi guys. a question for the concept of entity bean . i want to know the meaning of ejbPostCreate method. whats that for? and i am confused if ejbFindByPrimaryKey method will be called by container automatically. if so. when? thanks in advance

Re: Send and Receive XML Data

2000-12-05 Thread Marco M
hi go to http://www.xml.com there are lots of resources or to http://www.alphaworks.ibm.com br marco -Original Message- From: EXT Mohammed Sharif [mailto:[EMAIL PROTECTED]] Sent: 05. December 2000 17:40 To: [EMAIL PROTECTED] Subject: Send and Receive XML Data Hi I

connection pooling on JSP

2000-12-05 Thread Alex A. Almero
how to apply connection pooling on JSP? ** Alex A. Almero Analysts Programmer Information Technology Solutions Int'l Inc. 16/F IBM Plaza Bldg Eastwood City CyberPark Eastwood Ave 188 E. Rodriguez Jr. Ave, Libis, Quezon City, Philippines Tel. Nos.

Need help on Tomcat 4.0 example

2000-12-05 Thread YI,LI (HP-USA,ex1)
Just download and installed Apache 1.3.14 and Tomcat 4.0, startup seems fine, but failed when run examples under Servlet and JSP: when run any Servlet example: HTTP 404 - File not found when run JSP example: A Servlet Exception Has Occurred ... Root Cause: java.lang.NoClassDefFoundError:

Re: Help Required

2000-12-05 Thread Thompson Willard
http://java.sun.com/products/jsp/tomcat/ http://java.sun.com/products/jsp/index.html http://jakarta.apache.org/ -Original Message- From: Zahid Khan [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 03, 2000 11:50 PM To: [EMAIL PROTECTED] Subject: Help Required Hi! I am new to JSP

Checked status of Radio Buttons on form

2000-12-05 Thread GW Lander
I have a couple of pages that allow a user to register on a site. After the user has gone through the registration process I present them with a page that will allow them to verify what they have entered before final submittal. (I am using a Java Bean session to hold the data until final

Re: downloading files over HTTPS

2000-12-05 Thread Panos Konstantinidis
Yes From: "Mr. chen" [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: downloading files over HTTPS Date: Thu, 30 Nov 2000 13:25:44 +0800 Hi ,every one: how can I download files over HTTP?

Re: Need help on Tomcat 4.0 example

2000-12-05 Thread Panos Konstantinidis
You must have your files under your classes subdirectory in WEB-INF. For example if you have a directory (lets say myDirectory) where you have all your .jsp .html etc files then all the class files must be inside the myDirectory/WEB-INF/classes. In your case it must be something like:

Re: Send and Receive XML Data

2000-12-05 Thread Sanjay Gomes
The java.sun website would be having the links or search at webmonkey.com -Original Message- From: Mohammed Sharif [mailto:[EMAIL PROTECTED]] Sent: 05 December 2000 15:40 To: [EMAIL PROTECTED] Subject: Send and Receive XML Data Hi I need to have a Servlet which reads and sends data in

Re: How can I set web server name (sorry if out-of-topic)

2000-12-05 Thread Wai-Ming Hung
Hi It means I cannot set server name in apache, it always maps to my machine, rite ? If I need a DNS, any free software I can use ? Thanks a lot. Kenneth Shuja Nawaz wrote: Hi. You can configure your port to 80 if you don't wanna type the port number in the browser. For Apache you can

JSP Expiry with IE5

2000-12-05 Thread Berger, Richard
Hi, I am having a problem with forcing pages to expiry automatically and not to be cached. At the begining of each JSP I include the following code response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache"); response.setHeader("Expires", "Sat, 01 Jan 2000

Connection Pooling

2000-12-05 Thread Oscar S. Garcia
Does anyone here knows how to implement connection pooling in JSP? Please advise. Oscar S. Garcia Analyst/Programmer ITS International Inc. Tel: 913-0707 to 10 __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger.

unsubscribe

2000-12-05 Thread Julie Galleberg
=== 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:

Re: Connection Pooling

2000-12-05 Thread JSP Insider
There are many examples on the web. and if you search this archive you will find some references to them. Also You can look at Poolman for an example and Java code to perform database pooling. Also You can also Look at our open source JSP kit at www.jspinsider.com. In the kit I have generic

Re: Send a file back for saving and give it a name??

2000-12-05 Thread Mukka, Srikanth
Hi All, I have a image in a frame, I want to save the file by dynamically assigning it a name.Any ideas? or help is appreciated. Bye Srikanth -Original Message- From: Joakim Olsson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 2:39 AM To: [EMAIL PROTECTED] Subject: Re:

Servlets in a package

2000-12-05 Thread Sunil Roy
The following is my problem: From a JSP , I am trying to call a servlet which is inside a package.I have kept this package in classes dir. But when I try to call this servlet from the JSP. it gives an error " page not found ". Pl. help. Sunny

jsp include problem

2000-12-05 Thread arun prakash
Hi All., I'm dynamically including a jsp file as shown in the following code : % out.println("Hello there "); String f = "freeword1"; String str = "/tmp/" + f + ".html"; try { % jsp:include page = "%=str%" flush = "true"/ % } catch(Exception e) { % %=f% % } out.println("This is

Problem with JSP in Visual Age

2000-12-05 Thread S P
Hi, I am using Visual Age 3 JSP Execution monitor for JSP. I am running the JSP in Websphere Test Environment Server which is inbuilt in Visual Age. It runs simple JSP, but gives problem when I try to import a class or use bean. I am storing classes in default package for Webshpere Test

JSP REFRESHING

2000-12-05 Thread Balkrishna R.Parab
Hi All, I am facing problem in refreshing JSP page. I am displaying todays birthday based on system date, but jsp page doesnt display todays birthday unless i make some changes in JSP page. this is what i hv in jSP page META HTTP-EQUIV="expires" CONTENT="0" META HTTP-EQUIV="pragma"

Re: stateless and statful bean

2000-12-05 Thread Vyom Agrawal
Hi there, Well the difference lies in the application of the bean and its life cycle. If the bean has to be deployed only once and destroyed then its a stateless bean but if the same bean is deployed and used again and again then it is known as a stateful bean.. Hope that helps

Using JSP to dynamically update data continuosly -- creates CPU usage 100% on NT

2000-12-05 Thread nilesh Desai
Dear Sir/Madam, I am running HTML PAGE in one frame(frame1) and JSP in another frame(frame2), My jsp is running continuesly, and then keep calling javascript which is on HTML page ( frame1), which in turns keep updating data on frame1 via ID reference on frame1 which is inside DIV element. My

request.form??

2000-12-05 Thread Varun
hi cant i use request.Form on Tomcat, do i have to use request.getParameter, if request.getParameter can retrieve the values from the querystring as well as the form then whats the use of request.QueryString and request.form?? Thanx in advance Varun

METATAG in JSP/HTML/SHTML

2000-12-05 Thread Dinesh Krishnamurthy
Hi all, I would like to know 1. which pages does the Spider search to get the metatags. 2. Is there any difference if i put the metatags in JSP page itself instead of HTML/SHTML page . 3. If i put the metatags on my JSP page will it be recognized by the search engine. Can anyone helpme Thanks

Re: how to retrieve the value from the url ?

2000-12-05 Thread Varun
thanx alot regards Varun - Original Message - From: "jaspreet" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 7:07 PM Subject: Re: how to retrieve the value from the url ? use request.getParameter("code") this will return you the value you required...

Re: how to delete a cookie immediately?

2000-12-05 Thread Mengyuan Yuan
Please try: int i = -1; cookie.setMaxAge(i) it should work Good luck! ÔÚ 12/6/00 10:39:00 AM ÄúдµÀ£º hi how can i delete a cookie immediately,i used cookie.setMaxAge(0); where cookie is the name of the cookie, the cookie is not deleted until i close the browser, any help?

[ANN] O'Reilly's JavaServer Pages book released

2000-12-05 Thread Hans Bergsten
Hi, I'm happy to announce that finally, after a long time of writing and then waiting for the production to turn the text into a production ready book, my JavaServer Pages (O'Reilly) book is released and has started to show up in both the virtual and real bookstores. You can find out all about

Re: jsp include problem

2000-12-05 Thread Sachin S. Khanna
One possible solution is to first create a File object by passing in the requisite filename as a string to the File Constructor. Then check if the file exists with a call to the exists() method of the File Object. If it does then include the file or else don't. Have a nice day. With regards,

how to delete a cookie immediately?

2000-12-05 Thread Varun
hi how can i delete a cookie immediately,i used cookie.setMaxAge(0); where cookie is the name of the cookie, the cookie is not deleted until i close the browser, any help? thanx in advance Varun === To unsubscribe: mailto

Re: session closing

2000-12-05 Thread Manish Joshi
u plz check for session is null or not as this if(session != null) { session.invalidate(); } - Original Message - From: rajan tirumala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 05, 2000 6:30 PM Subject: session closing Hi, I am Rajan, I joined the listing in

Re: how to delete a cookie immediately?

2000-12-05 Thread subramanian Athimoolam
hi try killcookie() ch.. subu _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com === To unsubscribe: mailto

Re: how to delete a cookie immediately?

2000-12-05 Thread Manish Joshi
hey, i dont see any method caed killCookie() in jsp? plz explain MJ - Original Message - From: subramanian Athimoolam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 10:46 AM Subject: Re: how to delete a cookie immediately? hi try killcookie() ch.. subu

Re: session closing

2000-12-05 Thread Sachin S. Khanna
session is a implicit oject available in jsp's. Therefore there is no need to call HttpSession ses = request.getSession(); instead you could just do session.invalidate(); Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: rajan tirumala

Re: how to delete a cookie immediately?

2000-12-05 Thread Varun
the solution u gave only works when the browser is closed then the cookie gets deleted and not when the browser is still open which is what i want, to delete the cookie while the browser is still open, that is the default nature of the cookie , at least that is what i read thanx anyway Varun