Re: Hiding /servlet/ directory form the user

2002-05-02 Thread David Mossakowski
Do a redirect in the doGet method to some page and only implement doPost. d. Iván Escobedo wrote: > Folks, i have one question, how can i prevent, thru apache or tomcat, the > access to a servlet, i mean, i wrote directly > http://www.domain.com/servlet/SomeServlet > > i don't need a login form

Hiding /servlet/ directory form the user

2002-05-02 Thread Iván Escobedo
Folks, i have one question, how can i prevent, thru apache or tomcat, the access to a servlet, i mean, i wrote directly http://www.domain.com/servlet/SomeServlet i don't need a login form to execute the servlet, i just need that the only access to the servlet be thru a html form How can i hide i

mail error

2002-05-02 Thread Lance Prais
I am not sure what is going wrong here. I have a page that send mail using our server, it uses a bean: I am getting the following error when trying to call the page: org.apache.jasper.JasperException: Unable to compile class for JSP/usr/netscape/server4/https-kb.ts.checkpoint.com/config/../Cla

Re: Passing request parameters with response.sendRedirect

2002-05-02 Thread Chen, Gin
do a forward or include. look at requestdispatcher to do this. -Tim -Original Message- From: Iván Escobedo [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 1:22 PM To: [EMAIL PROTECTED] Subject: Passing request parameters with response.sendRedirect Hello Folks, me again. I have s

Passing request parameters with response.sendRedirect

2002-05-02 Thread Iván Escobedo
Hello Folks, me again. I have several parameters in an html form, when i submit the page, it goes to a servlet that check the info, then, it redirects to another servlet, how can i read the parameters i submitted before in this new servlet? Thanks

Re: Informacion

2002-05-02 Thread Rich Shonk
> Necesito saber donde puedo encontrar un buen manual de J2EE y de WebSphere Application Developer Enterprise Java Programming with IBM Websphere ISBN# 0-201-61617-3. ___ To unsubscribe, send email to [EMAIL PROTECTED]

Re: Runtime error handling for JSPs.

2002-05-02 Thread Mike Whittaker
When I was using 3.3a it threw an IllegalStateException, when ever a RequestDispatcher was involved.  This has been a recognised problem, but it's fixed now in 4+ So don't know what's causing your problem.   Mike W. -Original Message-From: A mailing list for discussion about S

Re: Runtime error handling for JSPs.

2002-05-02 Thread Diego Sabaris
Well, I'm currently using Tomcat 4.3. How is the error shown in your application?   Regards. - Original Message - From: Mike Whittaker To: [EMAIL PROTECTED] Sent: Thursday, May 02, 2002 12:56 PM Subject: Re: Runtime error handling for JSPs. Just use

Informacion

2002-05-02 Thread Tapia Marcelo
Hola a todos: Necesito saber donde puedo encontrar un buen manual de J2EE y de WebSphere Application Developer Saludos Marcelo ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "

Informacion

2002-05-02 Thread Tapia Marcelo
Hola a todos: Necesito saber donde puedo encontrar un buen manual de J2EE y de WebSphere Application Developer   Saludos Marcelo

Re: Runtime error handling for JSPs.

2002-05-02 Thread Mike Whittaker
Just use Tomcat 4, I had the same problem with TC3.3a if that's what you're using   Mike W -Original Message-From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Diego SabarisSent: 02 May 2002 13:01

Re: reading a file

2002-05-02 Thread Chen, Gin
I dont understand the question. Are you asking us to hack permissions for you or to present you with an alternative to FTP? If your asking for the latter. someone already presented you with an option. Jason Hunter was kind enuff to write us a file upload servlet and you should be grateful enuff

Re: reading a file

2002-05-02 Thread Galbreath, Mark
Send the file to a servlet on the server and have the servlet read it to non-volatile storage.  There are instructions on how to do this at www.servlet.com.   Mark -Original Message-From: Andrea [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 02, 2002 9:39 AMTo: [EMAIL PROTECTED]Sub

FW: difference between

2002-05-02 Thread Deepak Rustagi
> hi, > > I have a doubt about ServletConfig and ServletContext object. > ServletConfig is passed by the container and has method > getServletContex(), but we can > call getServletContext() directly also as it's provided in > HttpServlet.So, why it's provided in ServletConfig interface

reading a file

2002-05-02 Thread Andrea
Hi I have a problem,i must read a file using servlets so i have had an idea:   i put the file on the server using FTP then Iread it   but if I don't have the permission for the FTP how i can do?   someone can help me with this?   thanks  

Re: Header

2002-05-02 Thread Chen, Gin
Hey Gennis, Thanks for the reply :) I guess using a wrapper is as good of a method as any. Oh well, its just for testing. -Tim -Original Message- From: Gennis Emerson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:26 PM To: [EMAIL PROTECTED] Subject: Re: Header "Chen

Re: difference between

2002-05-02 Thread Galbreath, Mark
>From the API: ServletConfig is a servlet configuration object used by a servlet container to pass information to a servlet during initialization. ServletContext defines a set of methods that a servlet uses to communicate with its servlet container to get the MIME type of a file, dispatch request

Re: Good book for JSP and Servlets

2002-05-02 Thread Raghupathy, Gurumoorthy
YOU CAN GET THE FREE PDF VERSION OF THIS BOOK FROM http://www2.usermagnet.com/books/Core-Servlets-and-JSP.pdf   -Original Message-From: Silvio dos Passos Neto [mailto:[EMAIL PROTECTED]]Sent: 02 May 2002 12:21To: [EMAIL PROTECTED]Subject: Re: Good book for JSP and Servlets

Runtime error handling for JSPs.

2002-05-02 Thread Diego Sabaris
I'm including a JSP page into another (main.jsp):       The problem is when a Runtime exception is thrown within the "toolbar.jsp". How can I show the error correctly? It is difficult because the browser has already received some data before the error occurs.    Thanks in advance. Diego.

Re: Good book for JSP and Servlets

2002-05-02 Thread Argiri
Here is a link to the  book online.   http://pdf.coreservlets.com/   - Original Message - From: Silvio dos Passos Neto To: [EMAIL PROTECTED] Sent: Thursday, May 02, 2002 1:21 PM Subject: Re: Good book for JSP and Servlets A good book for JSP and Servlets i

Re: Good book for JSP and Servlets

2002-05-02 Thread Silvio dos Passos Neto
A good book for JSP and Servlets is:   Core Servlets and JavaServer Pages Marty Hall Makron Books - Original Message - From: Manikandan Subramaniam Sent: Wednesday, May 01, 2002 12:26 AM Subject: Good book for JSP and Servlets Hi   I want to learn JSP and Ser

Re: reading a file

2002-05-02 Thread Michael Weller
hi! just upload the file you must read via HTTP POST (check out servlets.com for the most recommended package for handlig uploads). -mw - Original Message - From: Andrea To: [EMAIL PROTECTED] Sent: Thursday, May 02, 2002 10:13 AM Subject: reading a file Hi I have a problem,i must read a

Re: Compression level in creating .zip file???

2002-05-02 Thread Michael Weller
> Hi all friends, hi! > > I want to set the compression level in .zip file > creation. and who told you to ask at servlet-interest??? -mw > Regards > Bikash > ___ To unsubscribe, send email to [EMAIL PROTECTED] and inclu

[no subject]

2002-05-02 Thread Michael Weller
hi! what you do only works if the servlet container is installed on the same machine as Excel! instead of writing to a file and opening up excel with that file, write the excel-stuff directly to response.getOutputStream, if your client uses IE and has Excel installed, Excel should start up opening

[no subject]

2002-05-02 Thread Balaji M (CTC)
Hi, I have got a grid in an Applet <<...OLE_Obj...>> On click of Export, I need to open the Selected Rows in MS Excel, I have th following Method for doing this Job. public void ExportDataToExcel(HttpServletRequest request, HttpServletResponse response) throws IOException { try

Compression level in creating .zip file???

2002-05-02 Thread Bikash Paul
Hi all friends, I want to set the compression level in .zip file creation.I know we can set compression level by using java.util.zip.Deflator class and we can set level from 0-9 but Iam confused what will be the syntax for that.If any one have any idea about this plz extend to me.Below r my codes

FW: difference between

2002-05-02 Thread Deepak Rustagi
> hi, > > I have a doubt about ServletConfig and ServletContext object. > ServletConfig is passed by the container and has method > getServletContex(), but we can > call getServletContext() directly also as it's provided in > HttpServlet.So, why it's provided in ServletConfig interfa

reading a file

2002-05-02 Thread Andrea
Hi I have a problem,i must read a file using servlets so i have had an idea:   i put the file on the server using FTP then Iread it   but if I don't have the permission for the FTP how i can do?   someone can help me with this?   thanks  

Re: Good book for JSP and Servlets

2002-05-02 Thread Manikandan Subramaniam
Thanks a Lot Gary   I have downloaded the file. It is extremely good.   Thanks and Regards   S. Manikandan   - Original Message - From: Gary Ekins Sent: Wednesday, May 01, 2002 11:28 PM To: [EMAIL PROTECTED] Subject: Re: Good book for JSP and Servlets  Core Servlets (Marty Hall) is ava

PDF Form ? and file upload ?RE : Re: file upload, multipartrequest

2002-05-02 Thread BERWART Thierry
Hello, I have a PDF form and the action of this form is to send the complete PDF (file) to a servlet. Do you think that I can use the oreilly package to save the file in my servlet ? or ... ? If you have any experience in this domain, please help me Thanks you in advance Thierry -Messag