Timeout problem

2001-01-18 Thread Mozhgan Eslami
Hi everybody I want to control the timeout in an JSP. I want to do some updating in an EBJ when timeout occurs. how can I do it? Please help me. thank you , Mozhgan. === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Hashtable error when I don't use it

2001-01-18 Thread Robuschi (Delfi)
Hello everybody!! I have a strange error: in the first page of my application, I make few JSP instructions: I use a bean that reads from a text file and I put some session variables. I'm sure that I don't use Hash tables in that code. When I run it (on Tomcat) the strange error is: Error: 500

Re: Hashtable error when I don't use it

2001-01-18 Thread Clemente Dani
I think that it's because the session object uses a hashtable to store you objects and you are trying to store a null reference. Bye - Mensaje Original - De: "Robuschi (Delfi)" [EMAIL PROTECTED] Fecha: Jueves, Enero 18, 2001 9:35 am Asunto: Hashtable error when I don't use it Hello

ERROR: 500

2001-01-18 Thread Sebastian Cremers
hi, I have the following code in my jsp page (test2.jsp): %@ page import="java.lang.*% !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head titleUntitled/title /head body a href="ordner.jsp"GO!/a /body /html when I call the page, I get the following error:

Re: ERROR: 500

2001-01-18 Thread Robuschi (Delfi)
hi, I have the following code in my jsp page (test2.jsp): %@ page import="java.lang.*% ^ CLOSE APEX !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" html head Bye Roberto

Re: what is SOAP

2001-01-18 Thread Manish Jain
it's RPC over HTTP with help of XML. a wire protocol ,a request/response protocol where messeges are passed as XML documents between two ends(client and server). read more on http://msdn.microsoft.com/xml/general/soapspec.asp http://msdn.microsoft.com/xml/general/soap_webserv.asp hope this

Re: JSP XML Integration

2001-01-18 Thread Manish Jain
Just post xml to another web server, where u have a listener which will accept that xml hope this helps.. cheers... Manish -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Menon Madhu Sent: Tuesday,

Free JSP host?

2001-01-18 Thread Hardeep Singh
Hi All, Can anyone tell me the name of a website that allows users to host Java Server Pages for free? It need not provide EJB/Database/Mail support but must be fast and reliable. It should also give me about 10MB of space. Hardeep

Re: How to access java class files from jsp

2001-01-18 Thread Manish Jain
inline... - Original Message - From: "chindu jose" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 10:24 AM Subject: How to access java class files from jsp hii all, i have few queries.. 1. How to access jave class files from jsp? in import add that package

AW: ERROR: 500

2001-01-18 Thread Sebastian Cremers
thanx a lot! I've been searching for hours move3d interactive media GmbH Sebastian Cremers Heinersdorfer Str. 4-6 13086 Berlin +49 30 4790 840 -45 (fon) +49 30 4790 840 -99 (fax) [EMAIL PROTECTED] www.move3d.com we think. we dream. we know. -Ursprngliche Nachricht- Von: A

Re: ERROR: 500

2001-01-18 Thread Manish Vohra
hi u missed the closing " in the import statement...it shd be %@ page import="java.lang.*" % try it manish -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sebastian Cremers Sent: Thursday, January 18, 2001

Re: introspection problem

2001-01-18 Thread Kevin Jones
jsp:useBean id="employee" class="com.taglib.wdjsp.arch.EmployeeBean" scope="request" / jsp:setProperty name="employee" property="*"/ /jsp:useBean Are you sure this is right? You close the jsp:useBean tag in the first line (note the / ) and then call jsp:setProperty, and then have a closing

Re: Hashtable error when I don't use it

2001-01-18 Thread G.Nagarajan
The session handler uses a hashtable to store the session attributes. The attributes are stored as name-value pairs. so in your jsp page (jspindex_jsp_1.java), you are either putting a null value for the attribute name or the attribute value! -Original Message- From: A mailing list

Re: introspection problem

2001-01-18 Thread Meghana
Do not close the jsp:useBean tag if u want to use setProperty within this. Moreover, when u use setProperty within useBean tag it simply means, set the property only if the bean is instantiated and there is no error while instantiating. So u can either put setProperty within the useBean or close

Re: Printing from HTML document

2001-01-18 Thread Girish B Mohite
Hi I have the same problem I want to print a file on the client side Can i create a file on the Client PC from a JSP Because i want to print some labels on the client printer.The Printer which we use is called a Zebra Printer.Its not like a normal printer We need to pass the Data to this printer

Re: Hashtable error when I don't use it

2001-01-18 Thread Robuschi (Delfi)
Thanks very much!! This was the problem Thank you a lot!!! Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL PROTECTED] --- http://www.delfi.it

Re: ERROR: 500

2001-01-18 Thread kishore
it is internal servlet error it is translation error . it is caused by missing of semicolon, derective etc please check what location and what sort of exceptions are thrown in error:500. - Original Message - From: Sebastian Cremers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

Re: HTML printing

2001-01-18 Thread Hardeep Singh
I did it this way: Head script function doPrint() { window.print(); } /script /Head body onLoad=doPrint() ...other o.p. from JSP, the matter to be printed... /body This is not EXACTLY printing, but see if this is viable. Hardeep Singh, K-49, B.K.Dutt Colony, New Delhi 110003. Phone:

Re: Free JSP host?

2001-01-18 Thread Ted Husted
Take a look at http://webappcabaret.com *** REPLY SEPARATOR *** On 12/18/2000 at 3:18 PM Hardeep Singh wrote: Hi All, Can anyone tell me the name of a website that allows users to host Java Server Pages for free? It need not provide EJB/Database/Mail support but must be fast

how do I to go out from this list???

2001-01-18 Thread Marcelo Mathias Lima
please === 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: how do I to go out from this list???

2001-01-18 Thread Willard Thompson
-Original Message- From: Marcelo Mathias Lima [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 5:40 AM To: [EMAIL PROTECTED] Subject: how do I to go out from this list??? please === To unsubscribe:

Re: how do I to go out from this list???

2001-01-18 Thread Harish Vishvanath
Hi Please follow the directions at the end of ever mail which tells you how to unsubscribe if u want to ... Im highlighting them below for u.. To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". regards Harry -Original Message- From: A mailing list about

Re: HTML printing

2001-01-18 Thread ramanathanp
this is doing the same thing as putting window.print() in the onclick event of print button. What i want to do is : Print the jsp/html page without printing the menu items and buttons of the page... i.e, only the contents of the page any way to do this... Original Message- From:

Must hard-code context path always?

2001-01-18 Thread Hines, Bill
We would like to have our web applications run on different servers with perhaps different web application paths. For example, if I set up the web app in WAS 3.5 with the web application web path set to /myapp, I have to have that name 'myapp' in the webapp descriptor files as well as in any URIs

Apache + Tomcat

2001-01-18 Thread [Jwas J]
Hi, I want to configure Apache and Tomcat . For this i have downloaded Apache and Tomcat . One Adapter mod_jserv is required for redirectiong the request. So i have downloaded the src for Tomcat jakarta-tomcat-3_2_1-src_tar.tar file but when i tried to make the file , the

Re: Must hard-code context path always?

2001-01-18 Thread Peter Pilgrim
Hi Will %-- The context path returns the web application context path --% % String contextPath = request.getContextPath() % ... form action="%= contextPath+"/servlet/com.myco.DataEntry" %" %-- A bit UGLY but it works --% Would a custom tag make it clearer? Probably would

How to create Dynamic PDF's from java

2001-01-18 Thread Hosegood, Chris W (EDU)
Has anyone had any experience creating dynamic pdf reports from java (jsp or servlets)? We have to create some documents where the layout is critical. If anyone knows of any java classes to do this, or better yet, experience doing this I would greatly appreciate a push in the right direction.

Re: HTML printing

2001-01-18 Thread Michael Dinsmore
The menu items and buttons _ARE_ content on the page! If you want to just print some text, then just have that text on the page -- that might mean you have to put it in a frame (maybe an IFRAME, perhaps?). If this is still unacceptable, then maybe you don't want to build a web application, but

Re: how implement carriage return

2001-01-18 Thread Michael Dinsmore
That is correct -- More importantly, you need to set the content type for the email in the header, something like this: Content-Type: text/html; charset=us-ascii Content-Type: text/plain; charset=us-ascii Beware, not all email readers can handle the HTML. -Original

Session Object

2001-01-18 Thread Anis Kasmani
Hi All, Just a though. Does the Java session object faces the same problem as an ASP Session object in a webfarm situation. Is it advisable to use the session object for a WebFarm scenario. I am not sure wheter the Session class provided with the servlet engine can work over a webfarm where

Re: HTML printing

2001-01-18 Thread Rosario Samanez
okyou can use files *.css for this. 1.- in you file jsp put a file *.css(for example formato.css) and copy this source in you file *.css(formato.css) @media screen { span.main { position : absolute; width : 1000; height: 850; top: 130;

Re: How to create Dynamic PDF's from java

2001-01-18 Thread LouisVoo
u can try this: http://www.lowagie.com/iText/ Regards, Louis `,,`,,`,,` - Original Message - From: "Hosegood, Chris W (EDU)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 7:51 AM Subject: How to create Dynamic PDF's from java Has anyone had any

Re: ERROR: 500

2001-01-18 Thread Yogeeta_Raghunathan
You forgot to close the quotes after java.lang.* -- From: Sebastian Cremers[SMTP:[EMAIL PROTECTED]] Reply To: A mailing list about Java Server Pages specification and reference Sent: Thursday, January 18, 2001 2:49 PM To: [EMAIL PROTECTED] Subject:

button link to next page?

2001-01-18 Thread S. Chen
Hi, Can I link a button to a new page? Since I have 4 buttons on one page, I only want two buttons to use submit type and the other two's type are buttons, then I use links to make them to go to other pages. How do I do that? thanks very much!

Re: How to create Dynamic PDF's from java

2001-01-18 Thread Kevin Jones
Doesn't Coccon do this (xml.apache.org), although it expects the input as XML, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Hosegood, Chris W (EDU) Sent:

Re: button link to next page?

2001-01-18 Thread Marty McKeever
javascript: input type="button" onclick="top.location='http://www.yahoo.com'" / At 12:07 PM 1/18/01 -0600, you wrote: Hi, Can I link a button to a new page? Since I have 4 buttons on one page, I only want two buttons to use submit type and the other two's type are buttons, then I use links to

Re: How to create Dynamic PDF's from java

2001-01-18 Thread Steve
http://www.etymon.com/pj/ --- "Hosegood, Chris W (EDU)" [EMAIL PROTECTED] wrote: Has anyone had any experience creating dynamic pdf reports from java (jsp or servlets)? We have to create some documents where the layout is critical. If anyone knows of any java classes to do this, or

Re: button link to next page?

2001-01-18 Thread youness htite
helo pls i wont to add images in the listbox object with javascript === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Help! change made to.jsp does not reflect promptly

2001-01-18 Thread YI,LI (HP-USA,ex1)
Starting from today, when make some changes to .jsp file, reload page, it does not show the change anymore. Using Tomcat3.2/Apache under NT4.0 with service pack 6. .html calls .jsp Have tried: 1) restart tomcat/Apache -- no change 2) restart browser (IE5), refresh, or even from other machine

Protecting Non-JSP pages

2001-01-18 Thread Boemio, Neil (CAP, FGI)
I have a JSP page that displays a list of files for downloading. This JSP page first checks the session to see if the user is logged in. If so, the list of files is displayed. If not, they are redirected to a login page. My problem is that this page only protects the ability to list the

signoff JSP-INTEREST

2001-01-18 Thread Narendra Kumar
On Thu, 18 January 2001, LouisVoo wrote: u can try this: http://www.lowagie.com/iText/ Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Hosegood, Chris W (EDU)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18,

Re: Help! change made to.jsp does not reflect promptly

2001-01-18 Thread Zhong Li/Toronto/Contr/IBM
Hi Li, It looks like you have cached old .jsp files somewhere: 1, Maybe your proxy server cache files if you go through a proxy server; 2, Maybe your browser cached old .jsp; Try to clean all the cached files and call .jsp again. Hope this can help.

Re: Help! change made to.jsp does not reflect promptly

2001-01-18 Thread Bill Fellows
Stop Tomcat. Delete everything in the /work subdirectories. This will force a fresh version of stuff to be out there when you bring Tomcat back up. I've hit this problem too but it seemed to be erratic. Once every x days or something. /bill "YI,LI (HP-USA,ex1)" [EMAIL PROTECTED] on

Re: Must hard-code context path always?

2001-01-18 Thread Hans Bergsten
"Hines, Bill" wrote: We would like to have our web applications run on different servers with perhaps different web application paths. For example, if I set up the web app in WAS 3.5 with the web application web path set to /myapp, I have to have that name 'myapp' in the webapp descriptor

Tomcat Starting Problem

2001-01-18 Thread Sunil Roy
Hi Guys, My Tomcat webserver ( used independently, i.e. without Apache ) was functioning properly for many days on Windows 2000. All of a sudden, it has started giving starting problems. It starts then immediately shuts down. I have tried from Dos prompt also by clicking startup.bat also. Pl.

URL of File Sending the request

2001-01-18 Thread Sunil Roy
Hi Guys, Can somebody tell me how to get the URL of the file from where the request is coming to the servlet? Thanks in advance. Sunil K. Roy === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

MVC Architecture and JSP

2001-01-18 Thread julian sitkewich
I pose a question, in the MVC (Model-View-Controller) architecture information is commonly passed between servlet and JSP via session. This seems to go against certain principles of server overhead and memory consumption. My example is this: A servlet creates a HUGE Vector object of a company

Re: How to write info into a file using JSP?

2001-01-18 Thread Hung Yee
the java.io.File class has two methods for making directories(i.e., folders): mkdir() and mkdirs(). See the link below: http://www.java.sun.com/products/jdk/1.2/docs/api/java/io/File.html#mkdir() -Original Message- From: Sunil Roy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31,

Re: Apache + Tomcat

2001-01-18 Thread Stephen, Prem Kumar
Hi JWas, I am not sure if I have the solution to your problems but a more appropriate mailing list would be [EMAIL PROTECTED] for these kinds of Questions -Original Message- From: [Jwas J] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 3:58 AM To: [EMAIL PROTECTED]

Re: MVC Architecture and JSP

2001-01-18 Thread julian sitkewich
It should last to the next page where it will be displayed. Would a "request" be the best choice? What if I wanted to persist my results for more than one user, to save the round trips to the all the way back to the webserver-EJB-database? julian From: Kevin Jones [EMAIL PROTECTED] Reply-To:

Why use Java beans ?

2001-01-18 Thread Singh, Jasbinder
Hi, Could someone please explain the following to me: What is the advantage of using JavaBeans with servlets and JSPs when the same result could be obtained by common classes ? This might be a basic question, but any elaboration would be greatly appreciated. Thanks JS

Re: MVC Architecture and JSP

2001-01-18 Thread Duffey, Kevin
I have a framework you may like to look at. At any rate, if the Vector will NEVER be used again, put it in the request scope. However, in the MVC framework, generally you would put a reference to the Vector in a bean, then on the JSP page use that bean (which is session scope) to get the Vector.

Re: Why use Java beans ?

2001-01-18 Thread Shawn Zhu
This question seem to come up over and over in this list...JavaBeans are classes! -Original Message- From: Singh, Jasbinder [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 2:04 PM To: [EMAIL PROTECTED] Subject: Why use Java beans ? Hi, Could someone please explain

New User

2001-01-18 Thread Pham, Trung
Hi, I just joined the list because I am trying to learn Java, JSP and XML. My background is C, C++, and a little HTML. Please tell me where I should start, any ideas would be appreciated. Thanks, TP === To unsubscribe:

Re: Why use Java beans ?

2001-01-18 Thread Duffey, Kevin
I think the purpose is because the JavaBean spec requires the use of private fields with public getter/setter methods, AND that it implements Serializable. The important thing to remember is that if you want a scalable front-end setup, the application servers do session level fail-over ONLY if

Re: Tomcat Starting Problem

2001-01-18 Thread Anis Kasmani
Check out wheter something else is using the port. Maybe the class settings have changed. Another thing to check would be wheter TOMCAT_HOME and JAVA_HOME have been set Anis - Original Message - From: "Sunil Roy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000

Exception with jsp:forward

2001-01-18 Thread S Ramakrishnan
Hi - I have a page that posts a form and based on the input forwards to a different page: # bajji.jsp form action="bajji.jsp input type="text" name="sname" value="" /form % String s = request.getParameter("sname"); if (s.equals("silk")) { % jsp:forward

Re: Apache + Tomcat

2001-01-18 Thread Jayson Falkner
Try heading over to the Tomcat listserv the Apache Group has. They are great about helping these types of questions. http://jakarta.apache.org/site/mail.html Jayson Falkner V.P./CTO, Amberjack Software LLC [EMAIL PROTECTED] www.jspinsider.com - Original Message - From: "[Jwas J]"

Re: Apache + Tomcat

2001-01-18 Thread [Jwas J]
I had installed the Apacche server and it is working fine independently Next step for me is to configure the Tomcat . for that i had downloaded the src file and tried to build While building i got the following error. # /applns/apache/bin/apxs -c *.c -o mod_jserv.so apxs:Error: Sorry,

Tomcat on Apache configuration

2001-01-18 Thread Sivakumar Chiluvuri
Hi All, Iam new to JSP, I have installed Apache and Tomcat 3.1 and configured as per instructions of the user guide. when iam running the sample JSP examples in the Tomcat default page it is giving Error 500. However Servlets samples in the tomcat default page are running fine. Jasper log

Re: JSP spec Q: nested #include directives?

2001-01-18 Thread Hans Bergsten
Papaya Head wrote: Hi, this is a question concerning jsp spec. hope I can get answers from SUN engineers or jsp spec authors... say, I have a file structure like this: doc_root | sub_dir | | | x.jsp y.jsp | z.jsp in x.jsp, I have an

Re: URL of File Sending the request

2001-01-18 Thread Ramesh, Kesav
request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original

Re: How to write info into a file using JSP?

2001-01-18 Thread Ramesh, Kesav
you can use mkDir() Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Sunil Roy [mailto:[EMAIL PROTECTED]] Sent:

Re: How to create Dynamic PDF's from java

2001-01-18 Thread Ramesh, Kesav
you can use Htmldoc which converts a html page into a pdf format. Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From:

Best Java IDE

2001-01-18 Thread John Mandia
Hi all, I'm just starting JSP/Servlets (I come from an ASP/COM background). What is the best Java IDE if I don't want to be tied down to any particular Vendor? I'm currently using netbeans as it's free :-) but I'd like to know what the best one in case I get given the choice of selecting a

connection reset by peer

2001-01-18 Thread Drew Nichols
Anytime I request an image Tomcat (3.2) generates the following error. Any clues please. 2001-01-18 09:28:18 - Ctx( ): IOException in: R( + / + /bgtile.gif) Connection reset by peer: socket write error 2001-01-18 09:28:18 - Ctx( ): IOException in: R( + / + /images/logo.gif) Connection

jsp:forward page=thanks.html /

2001-01-18 Thread Drew Nichols
Why can't I forward to an html page from a jsp page?? The page loads (and from the users point of view the errors make no difference) but a long error message is generated (see below). The error is generated at or after the forward to the .html is reached in the jsp. Do I have to change my static

doPost vs doGet.

2001-01-18 Thread ShriKant Vashishtha
Hi, As you must be aware that whatever processing we can do with doGet() method of servlet can also be done with doPost() also. Except saving the hyperlink as a bookmark, or showing the parameters passed what are the advantages or disadvantages using doGet() and doPost(). Simply if we can do

Re: jsp:forward page=thanks.html /

2001-01-18 Thread Clemente Dani
this happens because you are forwarding to another page when you have already sent data to the client. You must use buffered output, with the autoflush option set to false - Mensaje Original - De: Drew Nichols [EMAIL PROTECTED] Fecha: Viernes, Enero 19, 2001 7:46 am Asunto: jsp:forward

Re: Exception with jsp:forward

2001-01-18 Thread Clemente Dani
You cannot use FORWARD if you have sent data to the client, in this case you sent the form before you forguard to other page. You need to use bufferred output or check the condition before. Bye, Dani - Mensaje Original - De: S Ramakrishnan [EMAIL PROTECTED] Fecha: Viernes, Enero 19,

Re: doPost vs doGet.

2001-01-18 Thread Kevin Jones
Read the archives to this and the servlet list. This has been discussed so many times. Simpley - POST allows for updating state at the server (inserting a row into a DB maybe), GET is query only. It's easier to manage these logical differences with two methods, Kevin Jones DevelopMentor