Re: How to collect litbox items in servlet or action ??

2008-10-22 Thread Jonas Stumph Stevnsvig
include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user

How to collect litbox items in servlet or action ??

2008-10-22 Thread A. Lotfi
. ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://ja

Re: SERVLET-INTEREST Digest - 11 Dec 2007 to 12 Dec 2007 (#2007-5)

2007-12-12 Thread Philip White
Mark, Not much "interest" in SERVLET-INTEREST more like DIS-interest. :-( > ___ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVL

Re: servlet question

2007-03-22 Thread Emmanuel Eze
You may do an include or a forward. Emmanuel Eze --- [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] To: SERVLET-INTEREST@JAVA.SUN.COM Subject: servlet question Date: Wed, 21 Mar 2007 22:20:41 -0400 if a servlet uses requestdispatcher.forward(httpservletrequest, httpservletresponse

servlet question

2007-03-21 Thread dmitrik
if a servlet uses requestdispatcher.forward(httpservletrequest, httpservletresponse); to open a file1.jsp page how is it possible to open file2.jsp page from the forwarded file1.jsp page? When trying the javascript open('file2.jsp') command, it states that file2.jsp cannot be found

Re: Sending XML via http post, using servlet

2006-03-13 Thread Vishnu
Hey,   I Hope response.sendRedirect() calls the doGet() method of the servlet.   Instead Try Calling the doPost Method of the servlet where you are trying to send the xml stream.   protected void doPost(HttpServletRequest request, HttpServletResponse response

Sending XML via http post, using servlet

2006-03-13 Thread Corey Crandell
Hey I am hopeing someone may be able to help. I am trying to send and xml stream via http post. I am using a servlet using goPost. The server I am sending the request to will return with a response as long as the stream is sent via http post, as of right now I am getting an error from the

Re: servlet

2005-10-20 Thread Richard Yee
no. Since it will be called from init(), it will be called only once when the servlet is loaded. You might want to set the servlet to load on startup or do this in a ContextListener instead. -R SUBSCRIBE EJB-INTEREST anonymous wrote: Hi, I have a question. I have a servlet.I want to load

Re: servlet

2005-10-18 Thread Chris Pratt
That is correct, during init() and destroy() there is only allowed to be one active instance.   (*Chris*)On 10/18/05, Duc Vo <[EMAIL PROTECTED]> wrote: I believe the answer is "no", by default you only have one instance ofthe servlet running.-Original Message-From: A

Re: servlet

2005-10-18 Thread Duc Vo
I believe the answer is "no", by default you only have one instance of the servlet running. -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of SUBSCRIBE EJB-INTEREST anonymous

servlet

2005-10-18 Thread SUBSCRIBE EJB-INTEREST anonymous
in advance, ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html

Re: Filling-in a Bean inside a Servlet

2005-09-03 Thread Paul Copeland
they are used instead of the raw FORM parameters. The JOT Views rendering engine with the same functionality can be invoked from your controller Servlet. Neither JOT or the Struts example you cite are going to automatically populate your POJO customer object. Often there are conversions (numeric,

Re: Filling-in a Bean inside a Servlet

2005-09-03 Thread Chris Pratt
letAPI Technology. [mailto: SERVLET-INTEREST@JAVA.SUN.COM]On Behalf Of DaniPardoSent: Friday, September 02, 2005 12:53 PMTo: SERVLET-INTEREST@JAVA.SUN.COM Subject: Re: Filling-in a Bean inside a Servlet> Can I fill all the properties of the Bean magically on a line, The> same way that the jsp

Re: Filling-in a Bean inside a Servlet

2005-09-02 Thread Zerbe John W
does this already. John Zerbe -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] Behalf Of Dani Pardo Sent: Friday, September 02, 2005 12:53 PM To: SERVLET-INTEREST@JAVA.SUN.COM Subject: Re: Filling-in

Re: Filling-in a Bean inside a Servlet

2005-09-02 Thread Dani Pardo
nd to myself. I've done intensing search and I've finally get on the conclusion that it can't be done: When using Servlets and JSPs, you play with FORM parameters on the jsp side, and play with attaching attributes on the Servlet side. Acutally, it's almost the same

Re: Filling-in a Bean inside a Servlet

2005-09-01 Thread Dani Pardo
problem remains the same: When I create the Bean in the servlet, and I attach it to the session scope via session.setProperty, then the JSP can fill all the fields via That's great for, say, displaying the customer info. But, if the user changes the text fields and pressess Submit, th

Re: Filling-in a Bean inside a Servlet

2005-09-01 Thread Brett Zamora
riginal Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] Behalf Of Dani Pardo Sent: Thursday, September 01, 2005 11:08 AM To: SERVLET-INTEREST@JAVA.SUN.COM Subject: Filling-in a Bean inside a Servlet Hi, I'm

Re: Servlet Init method

2005-09-01 Thread Chris Pratt
The API isn't based around GenericServlet, it's based around Servlet.   (*Chris*)On 9/1/05, Nic Ferrier <[EMAIL PROTECTED]> wrote: Chris Pratt <[EMAIL PROTECTED]> writes:> Actually, what I remember from the early days of Servlets, it is because the> Servlet API is in

Re: Servlet Init method

2005-09-01 Thread Nic Ferrier
Chris Pratt <[EMAIL PROTECTED]> writes: > Actually, what I remember from the early days of Servlets, it is because the > Servlet API is interface based, and you can't specify constructors in a Java > interface. The developers decided to use a method that they can specif

Re: Servlet Init method

2005-09-01 Thread Chris Pratt
Actually, what I remember from the early days of Servlets, it is because the Servlet API is interface based, and you can't specify constructors in a Java interface.  The developers decided to use a method that they can specify in the interface contract.   (*Chris*)On 9/1/05, Nic Ferrier &l

Filling-in a Bean inside a Servlet

2005-09-01 Thread Dani Pardo
tomer. NOM When submited, the FORM calls a Servlet, the CustomerController servlet. From this Servlet, I should create a Customer Bean, and then get all request parameters and calling the correspondent setters of the Bean: Customer c=new Customer(); S

Re: Servlet Init method

2005-09-01 Thread Nic Ferrier
rly this is wrong, type checking can enforce that requirement: public abstract class Servlet { public Servlet(ServletConfig sc) { // do some stuff } // do some stuff } The reason a servlet has an init method, as opposed to a constructor is that a

Re: Servlet Init method

2005-08-31 Thread Sreenath N
t Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of Duc Vo Sent: Thursday, September 01, 2005 12:13 PM To: SERVLET-INTEREST@JAVA.SUN.COM Subject: Re: Servlet Init method In my opinion, it's because that developer can only write one public void init() met

Re: Servlet Init method

2005-08-31 Thread Duc Vo
In my opinion, it's because that developer can only write one public void init() method but several public constructors of a servlet. There will be no guarrantee that which constructor will be used by the container, hence the J2EE STANDARD to use init method to initialise the ser

Servlet Init method

2005-08-31 Thread Senthil_Theerthagiri
Hi,       I am a beginner in servlet programming. . I have a question in that. Can anybody clear it for me?         Why do we have init() method instead of constructor. Bcaz servlet is also a java class file, so why don’t we use constructor instead of init

Re: No Java Servlet Programming 3rd edition?

2005-08-16 Thread Ben Turner
lars" (quote by Dr. > Evil). :>) I'll buy > your book. > > Sans adieu, > Danny Rubis I usually just lurk in the shadows on this list, but mr. Rubis' rather ill-begotten views on projects such as Struts made my fingers itch. I have not been on this list since day on

Re: No Java Servlet Programming 3rd edition?

2005-08-13 Thread David Orriss Jr
___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Re: No Java Servlet Programming 3rd edition?

2005-08-13 Thread Danny Rubis
more appealing. But, David, are you wanting that or an Approach Two kind of book? -jh- ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Arch

Re: No Java Servlet Programming 3rd edition?

2005-08-12 Thread Zutshi, Rahul
If this might end up being taken as a poll for the support for Approach #2, please count my vote too... -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of Sian Soon Yee Sent: Friday, Augu

Re: No Java Servlet Programming 3rd edition?

2005-08-12 Thread Sian Soon Yee
e stack than servlets. So should the book move > up the stack too? > > This approach would take a lot of time, and > honestly I'd rather be > > writing about Ruby on Rails than JSF. :) > > > > From a time management and enjoyment of life > perspective, Ap

Re: No Java Servlet Programming 3rd edition?

2005-08-12 Thread James Wilson
ife perspective, Approach One looks much more appealing. But, David, are you wanting that or an Approach Two kind of book? -jh- ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of

Re: No Java Servlet Programming 3rd edition?

2005-08-12 Thread Mark Galbreath
pproach One looks much more appealing. But, David, are you wanting that or an Approach Two kind of book? -jh- ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET

Re: No Java Servlet Programming 3rd edition?

2005-08-11 Thread Jason Hunter
David, are you wanting that or an Approach Two kind of book? -jh- ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://arc

Re: No Java Servlet Programming 3rd edition?

2005-08-11 Thread Henry Reardon
... Rhino From: David Orriss Jr <[EMAIL PROTECTED]> Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." To: SERVLET-INTEREST@JAVA.SUN.COM Subject: No Java Servlet Programming 3rd edition? Date: Tue, 9 Aug 2005 16:25:34 -0700 H

No Java Servlet Programming 3rd edition?

2005-08-09 Thread David Orriss Jr
/index.cfm?fuseaction=software.developer&userID=822646423 ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.

Re: How do I call method of servlet from jsp

2005-06-28 Thread Jason Johnston
If you're trying to call something from a JSP, it's preferable and easier to place the logic in a bean and then use the bean in the JSP. To execute Servlet code you actually have to use the dispatcher or gain a handle on the servlet to call the method which is messy to do from wi

Re: How do I call method of servlet from jsp

2005-06-28 Thread Karr, David
The only methods of a servlet that are practical to call from a JSP are static methods. From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. on behalf of shashi kanth Sent: Tue 06/28/2005 7:18 AM To: SERVLET-INT

Re: How do I call method of servlet from jsp

2005-06-28 Thread shashi kanth
  Hi All,     How do I call method(other than Life-Cycle methods) of servlet from jsp? -Thanx Shashi ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INT

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-23 Thread Johan Hahn
ome cryptographic method, like a shared secret, to issue a ticket in his servlet and pass it to the client. Another thing the OP didn't make clear was how the university service handles sessions. If it is protected against session hijacking (for example if it relies on the web servers se

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-23 Thread Paul Copeland
ke a guest password public anyway! Paul Copeland JOT Servlets Web Component Framework http://www.jotobjects.com -- Date:Wed, 22 Jun 2005 17:37:20 -0700 From:Chris Pratt <[EMAIL PROTECTED]> Subject: Re: redirecting from a servlet to an exterior URL us

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-22 Thread Chris Pratt
his redirection never actually goes back to the browser, it just internally forward the request (with any attributes you define) to the Servlet/JSP that is responsible for processing that page in your web application. The URL bar on the user's browser will still contain the request as it was

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-22 Thread Garey Mills
d to the end user. I have an authentication facility that I pass a URL (to a servlet) to be connected to once the end user is authenticated. What I would like is to be able to formulate a POST request in the servlet and then foward the end user to it. It sounds to me that you are sugge

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-22 Thread Paul Copeland
http://www.jotobjects.com -- Date:Wed, 22 Jun 2005 10:19:28 +0800 From:Sreenath <[EMAIL PROTECTED]> Subject: Re: redirecting from a servlet to an exterior URL using a POST Hi Gary As long as u use requestDispacther.forward("")(Instead of redirect) , the URL won

Re: redirecting from a servlet to an exterior URL using a POST

2005-06-21 Thread Sreenath
Hi Gary As long as u use requestDispacther.forward("")(Instead of redirect) , the URL won't be visible .rather ur servlet URL will be visible in the address bar . So as long as URL is not visible GET and POST shouldn $B!G (Bt make any difference until unless u r sending some

redirecting from a servlet to an exterior URL using a POST

2005-06-21 Thread Garey Mills
Hello - Once a servlet I am writing is accessed, I want to set the values on several parameters and then redirect to an exterior URL, sending along the parameters. But I do not want the parameters exposed, so putting them into the URL as a query string won't work, I need a

Re: Possible to send an image from a servlet to Shockwave?

2005-05-04 Thread Darrin Smith
?out.flushBuffer(); ...Darrin Smith wrote: I have an application where I need to load a 3D image based on a user selection that takes place in a JSP.The Flash/Shockwave plugin will have a value that relates to a servlet that will load the image and send it back to the plugin. So far, I can get th

Re: Possible to send an image from a servlet to Shockwave?

2005-05-03 Thread Mr. Cristian D. Romanescu
Have you tried to flush the buffer after writing the data? out.flushBuffer(); ... Darrin Smith wrote: I have an application where I need to load a 3D image based on a user selection that takes place in a JSP. The Flash/Shockwave plugin will have a value that relates to a servlet that

Possible to send an image from a servlet to Shockwave?

2005-04-28 Thread Darrin Smith
I have an application where I need to load a 3D image based on a user selection that takes place in a JSP.The Flash/Shockwave plugin will have a value that relates to a servlet that will load the image and send it back to the plugin. So far, I can get the plugin to load just fine and contact

Re: Need help with servlet thread safety...

2005-04-12 Thread Brett Zamora
ds, Brett ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://j

Re: Need help with servlet thread safety...

2005-04-12 Thread Nic Ferrier
y. You should also take out the spurious sync on the bean in the doPost. Nic Ferrier http://www.tapsellferrier.co.uk ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sign

Re: Need help with servlet thread safety...

2005-04-12 Thread Emmanuel Eze
Hi, I had a look at your code. SimpleBean1 is not a servet but it makes use of the Servlet session tracking API. I think your desgn structure is fundamentally flawed. Emmanuel Eze Quoting Brett Zamora <[EMAIL PROTECTED]>: > Hi... > > I'm trying to build a JSP/Servlet a

Re: Need help with servlet thread safety...

2005-04-12 Thread Mark Beaty
Sorry, I found your code. I'll take a look at it and see if there is anything obvious (or not obvious). -Mark ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signo

Re: Need help with servlet thread safety...

2005-04-12 Thread Mark Beaty
into multi-threading issues with just one hit to a servlet. -Mark ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.j

Re: Need help with servlet thread safety...

2005-04-11 Thread Narendra Krishna
ever createing Object's globally in servlets. Bye. On Apr 12, 2005 7:24 AM, Brett Zamora <[EMAIL PROTECTED]> wrote: > Hi... > > I'm trying to build a JSP/Servlet application that will retrieve, add, > update, and delete records from a database. I've recently encoun

Need help with servlet thread safety...

2005-04-11 Thread Brett Zamora
Hi... I'm trying to build a JSP/Servlet application that will retrieve, add, update, and delete records from a database. I've recently encountered some of the complications that can be seen if a servlet is not written to be thread safe. First I'd like to say that I've been re

Init on startup (Servlet or EJB)

2005-03-17 Thread Rich Armstrong
I have a J2EE application, with a bootstrap servlet (that initializes some properties etc). The servlet is set to init on startup. It works fine. Now, I have another J2EE application that also requires some initialization, but does not really need a web component. I could of course use the

How Refresh InnoDB data in servlet ?

2005-01-28 Thread andy susanto
hai, i am a newbies with InnoDB, i am using MySQL ver 4.0.23 and i do not know InnoDB version. i am develop an application for multi user, i am use JAVA-Servlet for a tool development, an Internet Explorer for a GUI. My Question is how to refresh a InnoDB data on other user when other user

Servlet / JDBC Question

2005-01-25 Thread Jack Lauman
I have used the following servlet code for over a year and it worked fine. When I updated to MySQL v4.1.9 and run "SELECT LAST_INSERT_ID();" from the command prompt it returns a value of "0". In phpMyAdmin the "Table Options - auto_increment" field show a value of

Re: staticly servlet context

2004-12-21 Thread Neale Rudd
Hi, A timer thread won't have a servlet context. However, if you want it to use the context of the servlet that started it, you can pass that in from the starting servlet when you start the timer thread class. Then you should be able to pull it out again from the timer class where you ne

staticly servlet context

2004-12-20 Thread Guy Katz
hi; i am looking for a way to get a hold of the servlet context from a thread that is not a part of the regular HTTP request/response cycle but a Timer thread. is there a way to do this? thanks. Guy Katz Allot Communications [EMAIL PROTECTED] tel: +972 9 7619288 fax: +972 9

Servlet/ server.xml problem ?????

2004-11-27 Thread Nuruthin Ahammed
I have three contexts in Webapps namely Root, examples & rma I have a sevlet called Connect inside C:\Tomcat\webapps\rma\web- inf\classes\plutus\pda\Connect.class I gave the following url in the adressbar of ie. http://localhost:8080/rma/servlet/plutus.pda.Connect But I am getting the E

Re: Registering Servlet in web.xml file

2004-11-16 Thread sandeepK
/HEEP/BHEL/HARIDWAR/INDIA). - Original Message - From: "Nic Ferrier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 3:43 AM Subject: Re: Registering Servlet in web.xml file > sandeepK <[EMAIL PROTECTED]> writes: > > > w

Re: Registering Servlet in web.xml file

2004-11-16 Thread Wei Cheng
no offence nor trying to take credit, but i dun recall you tell him how to do it ^_^ Wei Cheng <[EMAIL PROTECTED]> writes: > if you're using apache tomcat then the answer is quite simple : > use the invoker servlet . > > quote : > "The invoker servle

Re: Registering Servlet in web.xml file

2004-11-16 Thread Nic Ferrier
Wei Cheng <[EMAIL PROTECTED]> writes: > if you're using apache tomcat then the answer is quite simple : > use the invoker servlet . > > quote : > "The invoker servlet lets you run servlets without first making > changes to your Web application's deployment

Re: Registering Servlet in web.xml file

2004-11-16 Thread Wei Cheng
Hi Puneet , if you're using apache tomcat then the answer is quite simple : use the invoker servlet . quote : "The invoker servlet lets you run servlets without first making changes to your Web application's deployment descriptor (i.e., the WEB-INF/web.xml file). Instead, you

Re: Registering Servlet in web.xml file

2004-11-16 Thread Nic Ferrier
y servers still allow dynamic loading. -- Nic Ferrier http://www.tapsellferrier.co.uk ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives

Re: Registering Servlet in web.xml file

2004-11-16 Thread sandeepK
websphere. later sandeepK - Original Message - From: "Nic Ferrier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 2:26 AM Subject: Re: Registering Servlet in web.xml file > Puneet Gupta <[EMAIL PROTECTED]> writes: > > &

Re: Registering Servlet in web.xml file

2004-11-16 Thread Nic Ferrier
Puneet Gupta <[EMAIL PROTECTED]> writes: > Hi > I am new to servlets. > Can any body please tell me whether we need to specify each servlet in the > web.xml file. > If I write 25 servlets and some of these servlets are called from jsp and > servlets.Do we still nee

Re: Registering Servlet in web.xml file

2004-11-16 Thread Rahul Juneja
yes -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] Behalf Of Puneet Gupta Sent: Tuesday, November 16, 2004 3:19 PM To: [EMAIL PROTECTED] Subject: Registering Servlet in web.xml file Hi I am n

Registering Servlet in web.xml file

2004-11-16 Thread Puneet Gupta
Hi I am new to servlets. Can any body please tell me whether we need to specify each servlet in the web.xml file. If I write 25 servlets and some of these servlets are called from jsp and servlets.Do we still need to register all the 25 servlets in web.xml file. Is there any way in which I don&#

Re: Dynamic image generation servlet...

2004-11-15 Thread Becky Phaneuf
led GreetingServlet that displays the web page for the application. The web page includes an image that is dynamically generated by the second servlet, called ImageServlet. I'm thinking that the GreetingServlet can display the dynamic image by including the following html snippet:

Re: Dynamic image generation servlet...

2004-11-14 Thread Nic Ferrier
URLs. Michael's problem was that he was using an incorrect absolute URL to refer to his servlet. So the BASE fix won't work unless he also changes to using relative URLs. And then he doesn't need BASE because his servlet is in the same location as the referring page. Or perhaps

Re: Dynamic image generation servlet...

2004-11-14 Thread Paul Copeland
From:Nic Ferrier <[EMAIL PROTECTED]> Subject: Re: Dynamic image generation servlet... Johan Hahn <[EMAIL PROTECTED]> writes: Michael Burbidge wrote: [snip] Note that the ImageServlet is registered to handle URI from the root context of the form "/image". I would think then t

Re: Dynamic image generation servlet...

2004-11-13 Thread Nic Ferrier
ng to work because /image is not bound to anything. Instead he should use: Or alternately use relative paths. If the HTML page is being served from, for example /demo/index.html then his HTML could be this: In a more advanced note: if relative paths are not possible then you can still m

Re: Dynamic image generation servlet...

2004-11-13 Thread Johan Hahn
Try /image* It should work without explanaition. ...johahn ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://a

Dynamic image generation servlet...

2004-11-12 Thread Michael Burbidge
I have a very simple web application that contains two servlets. One called GreetingServlet that displays the web page for the application. The web page includes an image that is dynamically generated by the second servlet, called ImageServlet. I'm thinking that the GreetingServlet can displa

Re: servlet quest

2004-10-21 Thread Michael Weller
Deepak A L wrote: hi i have a servlet below how do i call it from my jsp page All you have is some "utility method" you put in a servlet. But that doesn't matter... just import the class's package in your jsp: <%@ page import="test.path.*;sth.else.*;" %> and u

servlet quest

2004-10-20 Thread Deepak A L
Title: Message hi i have a servlet below how do i call it from my jsp page     import java.util.*;import java.lang.*;import javax.servlet.*;import java.servlet.http.*;import java.io.*;   public class MyServlet extends HttpServlet{    public String getUrl(HttpServletRequest req){  String

Re: Open source Web-based (servlet/JSP/JSTL) JDBC database manager?

2004-10-06 Thread Jay K
life easier. > > Many thanks, > > - Paul Philion > > ___ > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: > http://archives.j

Open source Web-based (servlet/JSP/JSTL) JDBC database manager?

2004-10-06 Thread Paul Philion
sort of stuff, it would make my life easier. Many thanks, - Paul Philion ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Arch

Re: Servlet Security

2004-10-01 Thread Henry Reardon
From: Nic Ferrier <[EMAIL PROTECTED]> Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Servlet Security Date: Fri, 1 Oct 2004 20:45:43 +0100 Henry Reardon

Re: Servlet Security

2004-10-01 Thread Nic Ferrier
rvlets. No, it isn't. The problem with CGI is that you are exposing the operating system directly into the request methodology. In simple terms, there is just too much code involved to be confident that it is secure. > Basically, I'm looking for an argument that a servlet-based wiki > w

Re: Servlet Security

2004-10-01 Thread Henry Reardon
From: Nic Ferrier <[EMAIL PROTECTED]> Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Servlet Security Date: Fri, 1 Oct 2004 19:46:49 +0100 Henry Reardon

Re: Servlet Security

2004-10-01 Thread Nic Ferrier
but both can be made > satisfactorily secure. > > Therefore, our wiki could be both CGI-based or servlet-based and still be > satisfactory. > > Have I basically got that right? I don't think so. CGIs are inherantly insecure. There is a high level of risk in using CGIs,

Re: Servlet Security

2004-10-01 Thread Henry Reardon
both CGI-based or servlet-based and still be satisfactory. Have I basically got that right? --- Henry _ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com

Re: Servlet Security

2004-09-30 Thread Nic Ferrier
r rejection is misconstrued. Nic ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/s

Re: Servlet Security

2004-09-30 Thread Nic Ferrier
in executing another process. Nic ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources:

Re: Servlet Security

2004-09-30 Thread Mark Galbreath
uggest various precautions that will reduce the risk. This has me wondering if servlets are equally insecure or have a much stronger security model. I also have Jason Hunter's 'Java Servlet Programming (Second Edition)' which has a 30 page chapter on Security that details how various form

Re: Servlet Security

2004-09-30 Thread Nic Ferrier
ut > protecting your site from external threats is CGI scripts." They go on to > suggest various precautions that will reduce the risk. > > This has me wondering if servlets are equally insecure or have a much > stronger security model. I also have Jason Hunter's 'Java Servlet

Re: Servlet Security

2004-09-30 Thread David Potts
ripts." They go on to suggest various precautions that will reduce the risk. This has me wondering if servlets are equally insecure or have a much stronger security model. I also have Jason Hunter's 'Java Servlet Programming (Second Edition)' which has a 30 page chapter on Securit

Servlet Security

2004-09-30 Thread Henry Reardon
hey go on to suggest various precautions that will reduce the risk. This has me wondering if servlets are equally insecure or have a much stronger security model. I also have Jason Hunter's 'Java Servlet Programming (Second Edition)' which has a 30 page chapter on Security that details

Re: Running Servlet on WebLogic 5

2004-09-16 Thread dileepmohan
___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LIS

Re: Running Servlet on WebLogic 5

2004-09-15 Thread Nagendra Shukla
in properties file u need to give an alise name of the servlet. then call it by this alise name -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] Behalf Of SUBSCRIBE SERVLET-INTEREST Anonymous

Re: Running Servlet on WebLogic 5

2004-09-13 Thread Guy Katz
i think there are 2 things you can do: 1. why weblogic 5, to old of a version. upgrade to version 8 2. you can publish this in a WL forum to get bettter help i have worked with WL 6 and 7. never had to change anything by hand for a simple servlet. it was always a matter of hot deployment (throwing

Running Servlet on WebLogic 5

2004-09-13 Thread SUBSCRIBE SERVLET-INTEREST Anonymous
/weblogic.properties and at the entries titled as USER-WRITTEN AND DEMO SERVLET REGISTRATIONS I made the following entry: weblogic.httpd.register.jhn=examples.servlets.firstServlet. When I run the examples supplied with the server , the execution is successful , when i run mine i have the server error

signoff SERVLET-INTEREST

2004-09-02 Thread ZP
gnoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Using Tomcat 4.1 and JBuilder X for servlet application

2004-09-01 Thread Peter Claesson (CA/EUS)
Hi, I apologize that this mail in not strictly a servlet question. I've exhausted my sources for help and is now turning to you. The problem I am having is that the development environment I have for my servlet/JSP application must be upgraded to support Servlet spec 2.4 (from servlet 2.2).

destroy() and max users for servlet

2004-08-30 Thread shashi kanth
hi there!! here is question?.Iam using tomcat for my web applications. i want to know whether destroy() method for servlet will be called if i terminate the process using ctrl+c. if no how to release resources which my servlet was using when i do ctrl+c. question2: where should i

Re: Upgrading from an old Servlet

2004-08-16 Thread Guy Katz
cactus httpunit -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED] Behalf Of dileepmohan Sent: Monday, August 16, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading from an old Servlet Can an

Re: Upgrading from an old Servlet

2004-08-16 Thread dileepmohan
Can anybody tell the names of good Software testing tools for Web Application(J2EE).. - Original Message - From: "Partha Ranjan Das" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 13, 2004 4:59 PM Subject: Re: Upgrading from an old Servlet > You

  1   2   3   4   5   6   7   8   9   10   >