Re: Calling Servlet from JSP

2001-03-01 Thread Vidyasagar Guduru
I think you can use URL and URLConnection objects to read the requested data from any web site. Please give your Servlet url to construct URL object and get a IOStream from that connection and u can read the data. Hope this will helps u. --- Bo Su [EMAIL PROTECTED] wrote: Dear All, I am

Calling Servlet from JSP

2001-02-28 Thread Bo Su
Dear All, I am working on a project now and facing a problem with JSP and Servlet. We already have a set of Servlets which deal with java application server. Now I need to generate web page using JSP. So my question is how to call these servlets from JSP in Java, not HTML form. These servlets

Re: Calling Servlet in Frame

2001-02-07 Thread Deepak Kumar
"submit" value="Submit" name="B1"input type="reset" value="Reset" name="B2"/p /form /body /html Regards Deepak - Original Message - From: Santosh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: mm/06/2001 9:48 AM Subject

Re: Calling Servlet in Frame

2001-02-05 Thread Santosh
Hi, This refers to the problem of deciding the target of a servlet at runtime. I think one of the options would be to follow a two step process. The first servlet creates the Frameset Html file, the decision as to where the actual servlet will be called is made here. The Frame would then just

calling servlet from JSP page

2000-06-03 Thread Branko Kaucic
Hi! I am sure, that the answer for my question was already been spoken, but ... still don't know how to resolve this: I need to call a servlet from my JSP page. As I understand, this are the ways of calling servlets from JSP page: 1. FORM ACTION="calling servlet" ... (servlet returns

Re: Calling Servlet methods from JSP - basic

2000-05-30 Thread Choi Jong Myung(SS)
Marc Krisjanous wrote: Hi all, Could someone please answer my question. Question: How can a JSP that is "Loading" call a servlet method? Servlet A calls a JSP and while the JSP is "Loading" it needs to use some of the methods in Servlet A. Cheers Marc

Re: Calling Servlet methods from JSP - basic

2000-05-30 Thread Eric Dunstan
You cannot call methods of JSP or Serlvets from outside. A calling servlet or jsp is one that forwards itself to another jsp or serlvet and does not return. A Servlet or JSP loads once and thereafter is loaded, until changed again. Once loaded, a calling jsp or serlvet will not cause

Re: Calling Servlet methods from JSP - basic

2000-05-30 Thread Balaji Srinivasan
cc: Sent by: A Subject: Re: Calling Servlet methods from JSP - basic mailing list about Java Server Pages specification and reference

Calling Servlet methods from JSP - basic

2000-05-29 Thread Marc Krisjanous
Hi all, Could someone please answer my question. Question: How can a JSP that is "Loading" call a servlet method? Servlet A calls a JSP and while the JSP is "Loading" it needs to use some of the methods in Servlet A. Cheers Marc

Re: Calling Servlet methods from JSP - basic

2000-05-29 Thread Robert Nicholson
PROTECTED]]On Behalf Of Marc Krisjanous Sent: Monday, May 29, 2000 7:01 PM To: [EMAIL PROTECTED] Subject: Calling Servlet methods from JSP - basic Hi all, Could someone please answer my question. Question: How can a JSP that is "Loading" call a servlet method? Servlet A calls a JSP

CALLING SERVLET

2000-05-24 Thread Mohan Radhakrishnan
Hi, I am trying to call a servlet from JSP 0.91 with the servlet tag. The page shows both the servlet html and the JSP html. That is the servlet html is tagged on to the JSP and I see two pages one below the other. Is this to be expected ? I submit the JSP and immediately

Calling servlet

2000-05-24 Thread Mohan Radhakrishnan
Hi, Are there any performance problems involved in calling a servlet from a JSP serveral times ? I have to call a servlet from a JSP which in turn calls the JSP again. This happens several times. I find the engine that I am using JRun freezes after some time. Do I have to

Re: Calling servlet

2000-05-24 Thread Michael Prescott
Of Mohan Radhakrishnan Sent: Wednesday, May 24, 2000 2:59 PM To: [EMAIL PROTECTED] Subject: Calling servlet Hi, Are there any performance problems involved in calling a servlet from a JSP serveral times ? I have to call a servlet from a JSP which in turn calls the JSP again. This happens

Re: Calling servlet

2000-05-24 Thread Mohan Radhakrishnan
, May 24, 2000 12:43 PM To: [EMAIL PROTECTED] Subject: Re: Calling servlet I'm not sure, but off the top of my head it sounds like there should be a better way of doing what you're trying to do. What are you trying to do? Michael -Original Message- From: A mailing list about Java Server

Calling Servlet from JSP Page

2000-03-27 Thread Megan Ray
Hi All! What is the best way to call a servlet from a JSP page? Here are the ways I have found: jsp:usebean id="start" class="oe.Startup" scope ="request" / My understanding of this tag is that it creates an "instance" of a Java bean - it is really designed for bean use. Using the HTML form

Re: Calling servlet from JSP

2000-02-03 Thread [EMAIL PROTECTED]
nbaas Sent: Wednesday, February 02, 2000 4:33 PM To: [EMAIL PROTECTED] Subject: Re: Calling servlet from JSP use the include tag: jsp:include page="/servlet/Test" flush=true -Original Message- From: A mailing list about Java Server Pages specification and refe

Calling servlet from JSP

2000-02-02 Thread Stéphan Benichou
Can anyone explain me how to call a servlet from a JSP page. The princip is: JSP pageServlet == % jsp code ... % Call the servlet --

Re: Calling servlet from JSP

2000-02-02 Thread Lee Elenbaas
D] Subject: Calling servlet from JSP Can anyone explain me how to call a servlet from a JSP page. The princip is: JSP pageServlet == % jsp code ... % Call t

Re: Calling servlet from hyper text link

1999-11-22 Thread Bailey, Jeff A
These do work, I was incorrect in my earlier message :) Specifically, the second one requires a blank href value as he shows Sorry if my earlier post confused you, wasnt thinking correctly this early on monday :) J You can do this by using Javascript. form name="postform" method="POST"

Re: Calling servlet from hyper text link

1999-11-20 Thread Nanduri Amarnath
meter("PARAM").equals("POST_THIS") ) doGet(req,resp) ; else blah blah blah } Cheers, Amar.. Sanjay Garg [EMAIL PROTECTED] on 11/19/99 03:33:27 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amarnath Nanduri/IT/VANCPOWER) Subject: C

JSP 0.92 calling servlet and pass parameters.

1999-10-19 Thread Steven Lin
I found that JSP 0.92 can call servlet by add these code: % getServletContext().getRequestDispatcher("testAP/testServlet").include(reque st,response); % Our application server is NAS4.0, and it does work both "include" and "forward". But we need more function to pass parameters to servlet in

JSP 0.92 calling servlet

1999-10-14 Thread Steven Lin
I used to use shtml to call and pass parameters to servlet to generate HTML, and now i need change the role of shtml to JSP. I know JSP1.0 support redirect and include function by using standard action: jsp:forward ... / jsp:include ... / I try to test the following code in jsp, but

Calling servlet from a jsp file

1999-06-02 Thread Vitaly Yurik
Hi all, I am a newbie in jsp and this may be a simple question. I am trying to call a servlet from a jsp file and display the result in JavaWebServer1.2. The DBPhoneLookup.jsp is in JavaWebServer1.2\public_html directory and looks like this: HTMLHEADAccessing DBPhoneLookup

Re: Calling servlet from hyper text link

1999-01-17 Thread Craig R. McClanahan
Sanjay Garg wrote: Hi, I am trying to invoke doPost() method of a servlet from a hyper text link in my JSP, but it is always calling doGet(). I am doing different stuff in each method, so can't do a doPost() within a doGet(). Is there a way I can force a method type for my servlet when

Re: Calling servlet from hyper text link

1999-01-17 Thread Carles Pi-Sunyer
You can do this by using Javascript. form name="postform" method="POST" action="someservlet" input type="hidden" name="name1" value="value1" input type="hidden" name="name2" value="value2" /form a herf="javascript:document.postform.submit();"A link that posts/a I think that a href=""