Re: How to redirect JSP to Servlet by clicking button?

2002-06-12 Thread Sandeep Kumar Agrawal, Noida
ailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 8:53 PM Subject: Re: How to redirect JSP to Servlet by clicking button? use javascript. have onclick events in all 3 buttons with different locations as the parameter to a function call. use something like window.location = d

Re: How to redirect JSP to Servlet by clicking button?

2002-06-12 Thread Chen, Gin
EMAIL PROTECTED] Subject: How to redirect JSP to Servlet by clicking button? Importance: High I want to call Servlet from JSP,In JSP,I have three button,named "button1","button2","button3",for example: value="<%=button1%>" style="wi

How to redirect JSP to Servlet by clicking button?

2002-06-12 Thread Edward
I want to call Servlet from JSP,In JSP,I have three button,named "button1","button2","button3",for example: value="<%=button1%>" style="width:200px"> value="<%=button2%>" style="width:200px"> value="<%=button3%>" style="width:200px"> When I click button1 with mouse,I want to red

Re: passing bean from JSP to servlet

2001-12-03 Thread Richard Yee
I am >also using "setProperty" tag to update the same attribute in the JSP. But >neither works. > > >Regards > >Sanjay Jain > > >-Original Message- >From: Richard Yee [mailto:[EMAIL PROTECTED]] >Sent: Monday, December 03, 2001 5:54 PM >To: [EM

Re: passing bean from JSP to servlet

2001-12-03 Thread Jain, Sanjay (Exchange)
ut neither works. Regards Sanjay Jain -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 5:54 PM To: [EMAIL PROTECTED] Subject: Re: passing bean from JSP to servlet Sanjay, The little bit of JSP code that you supplied seems to just get val

Re: passing bean from JSP to servlet

2001-12-03 Thread Richard Yee
; > >Thanks again > >Sanjay Jain > > > >-Original Message- >From: Richard Yee [mailto:[EMAIL PROTECTED]] >Sent: Monday, December 03, 2001 5:07 PM >To: [EMAIL PROTECTED] >Subject: Re: passing bean from JSP to servlet > > >Sanjay, >The JSP is just d

Re: passing bean from JSP to servlet

2001-12-03 Thread Jain, Sanjay (Exchange)
nt: Monday, December 03, 2001 5:07 PM To: [EMAIL PROTECTED] Subject: Re: passing bean from JSP to servlet Sanjay, The JSP is just displaying your data. You say that that is working fine. When the user changes the data and submits the form, your servlet then needs to process the form data and updat

Re: passing bean from JSP to servlet

2001-12-03 Thread Richard Yee
Sanjay, The JSP is just displaying your data. You say that that is working fine. When the user changes the data and submits the form, your servlet then needs to process the form data and update the bean. The JSP does not update the bean. Regards, Richard P.S. If you think that a topic has bee

passing bean from JSP to servlet

2001-12-03 Thread Jain, Sanjay (Exchange)
Greetings !!! This is my first attempt at Web based development. The problem I am about to post is a fundamental requirement of any application and am sure the issue have beaten to death in this forum. So I am hoping for a quick reply. Here it goes:- 1) I instantiate a bean in a servlet and popu

Re: JSP to SERVLET

2001-05-06 Thread Roy Truelove
a server does to your JSP files to "servlet-ize" them. Take it easy, Roy - Original Message - From: "Lorena Carlo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 10:24 PM Subject: JSP to SERVLET > Hi all, > > Can

JSP to SERVLET

2001-05-06 Thread Lorena Carlo
Hi all, Can somebody tell me, in a detail manner, how a JSP page is parsed and transformed in a Servlet?, is this process independent of the Web Server or Web Application Server?. Thanks in advance Lorena Carlo === To unsu

JSP to Servlet

2001-01-29 Thread Willy LEGIMAN
Hi there, I tried to pass parameter values from JSP to a Servlet. The output from the Servlet is displayed on the browser but the parameter values are null. Why is this so? -- JSP -- <%@ page language="java" %> <% String Username = "SUPER"; String Password = "TOMCAT"; %> <%-- Forward to Servl

Re: Jsp to Servlet and ViceVersa

2000-10-31 Thread Shireesh Thanneru
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/abc/des/xyz.jsp"); dispatcher.forward(req, res); or dispatcher.include(req, res); Shireesh Thanneru On Wed, 1 Nov 2000, Ganesh N.M wrote: >Hi All, > >Can any one give me sample code for calling servlet from

Re: Jsp to Servlet and ViceVersa

2000-10-31 Thread Murphy, Chris (OTS-EDH)
de like this: ... <% String message = (String)request.getAttribute("message"); %> <%= message %> ... Have fun... -cm -Original Message- From: Ganesh N.M [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 31, 2000 1:15 PM To: [EMAIL PROTECTED] Subject: Jsp to Servlet a

Re: Jsp to Servlet and ViceVersa

2000-10-31 Thread Daryani Santosh
getRequestDispatcher("/jsp/hello.jsp").forward(request , response ); Calling JSP to Servlet Add Servlet URL in your call , either while doing a post or forward Santosh "Ganesh N.M" <[EMAIL PROTECTED]> on 10/31/2000 04:15:24 PM Please respond to A mailing

Jsp to Servlet and ViceVersa

2000-10-31 Thread Ganesh N.M
Hi All, Can any one give me sample code for calling servlet from JSP and viceversa? thanx in Advance. Bye, Ganesh === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/S

JSP To Servlet Communication (RE)

2000-09-25 Thread SoftLiban KEYROUZ Charbel
ce > > [mailto:[EMAIL PROTECTED]]On Behalf Of SoftLiban KEYROUZ Charbel > > Sent: 25 September 2000 13:10 > > To: [EMAIL PROTECTED] > > Subject: JSP to Servlet Communication. > > > > > > Hello all, > > How can I save a variable using a servlet an

JSP To Servlet Communication (RE)

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Yes you'r right, but the problem was that this servlet was only available for a specific context (the contexts that you define inside server.xml for Tomat), therefore I had to access it in order to reach this session. Thank you for you answer because pageContext.getAttribute would have returned nu

Re: JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
ce > > [mailto:[EMAIL PROTECTED]]On Behalf Of SoftLiban KEYROUZ Charbel > > Sent: 25 September 2000 13:10 > > To: [EMAIL PROTECTED] > > Subject: JSP to Servlet Communication. > > > > > > Hello all, > > How can I save a variable using a servlet an

Re: JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
gt; DevelopMentor > www.develop.com > > > -Original Message- > > From: A mailing list about Java Server Pages specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of SoftLiban KEYROUZ Charbel > > Sent: 25 September 2000 13:10 > > To: [EMAIL

Re: JSP to Servlet Communication.

2000-09-25 Thread Kevin Jones
gt; Sent: 25 September 2000 13:10 > To: [EMAIL PROTECTED] > Subject: JSP to Servlet Communication. > > > Hello all, > How can I save a variable using a servlet and then access it using JSP > pages? > this is what I am doing getServletContext().setAttribute("

Re: JSP to Servlet Communication.

2000-09-25 Thread Alok Kumar
You can't store a Variable in the setAttribute method. You can only store object thru it. TRy by storing object?? - Original Message - From: SoftLiban KEYROUZ Charbel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 25, 2000 5:39 PM Subject: JSP to Serv

JSP to Servlet Communication.

2000-09-25 Thread SoftLiban KEYROUZ Charbel
Hello all, How can I save a variable using a servlet and then access it using JSP pages? this is what I am doing getServletContext().setAttribute("myVar", aVar); in the jsp when I use pageContext.getAttribute("myVar"); it return null. What am I doing wrong? plz help it's urgent. ===

Better from JSP to Servlet or viceversa ???

2000-05-04 Thread Germán López Castro
Hi-u-all again. I'm trying to write pairs of servlets with complementary functionalities: one of them will handle the data contained inside my database and the other, a JSP, will format the results. What's best? Making a call from a JSP to a Servlet by means of the "forward" or "include" metho

Re: Problem downloading binaries (JSP to Servlet to Browser)

2000-03-13 Thread Greg Purpura
February 29, 2000 8:30 PM To: [EMAIL PROTECTED] Subject: Problem downloading binaries (JSP to Servlet to Browser) I have checked the archives and have been unable to find a resolution to my problem. I am interested in sending a binary data stream (attachment) to the browser so that the end-user

Re: Problem downloading binaries (JSP to Servlet to Browser)

2000-03-05 Thread Cor Ruiten
essage- From: Jari Worsley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 01, 2000 2:03 AM To: Cor Ruiten Subject: Re: Problem downloading binaries (JSP to Servlet to Browser) Cor, have you checked the servlet documentation for a lead on this? I had this problem writing servlets - basical

Re: Problem downloading binaries (JSP to Servlet to Browser)

2000-03-03 Thread Greg Purpura
-Original Message- From: Greg Purpura [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 02, 2000 2:56 PM To: Cor Ruiten; [EMAIL PROTECTED] Subject: RE: Problem downloading binaries (JSP to Servlet to Browser) >I am able to send the attachment to the browser, and then save the >atta

Problem downloading binaries (JSP to Servlet to Browser)

2000-03-01 Thread Cor Ruiten
I have checked the archives and have been unable to find a resolution to my problem. I am interested in sending a binary data stream (attachment) to the browser so that the end-user can save these attachments on their local workstation. I am able to send the attachment to the browser, and then s

Re: how to convert jsp to servlet?

2000-02-11 Thread alex wu
file instead of jsp. thanks again, everybody!! -Alex Wu -Original Message- From: P'Simer, Dana [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 10, 2000 7:36 AM To: 'alex wu'; [EMAIL PROTECTED] Subject: RE: how to convert jsp to servlet? The method for converting JSPs

Re: how to convert jsp to servlet?

2000-02-10 Thread P'Simer, Dana
: how to convert jsp to servlet? Is there a way to convert jsp files to servlet files? I want to code in jsp and deploy in servlet so that I don't get the slow down problem when access jsp files the first time. any idea would be a

how to convert jsp to servlet?

2000-02-10 Thread alex wu
Is there a way to convert jsp files to servlet files? I want to code in jsp and deploy in servlet so that I don't get the slow down problem when access jsp files the first time. any idea would be appreciated. === To unsubsc

jsp to servlet

2000-01-04 Thread Attili Srinivas
Hai, can any one tell me what is the tag to get the response object from the servlet if I call a servlet from my jsp file using Thanks Sri === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTER

Re: passing array from jsp to servlet

1999-12-29 Thread David Eaves
ll be sent as an array in the request. Let me know what you find out.   David Eaves -Original Message-From: Kelvin Tee [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 28, 1999 8:48 PMTo: [EMAIL PROTECTED]Subject: passing array from jsp to servlet Is there any way of passing an ar

Re: passing array from jsp to servlet

1999-12-28 Thread Jason Lee
The only way I can think of is if you have a session and store that array in the session on the jsp side and then let the servlet pick it up. Or, I suppose you could serialize it out on the jsp side and then serialize it back in on the servlet side. But disk reads are expensive, so I'd opt for the

passing array from jsp to servlet

1999-12-28 Thread Kelvin Tee
Is there any way of passing an array from a .jsp file to a servlet?   In the .jsp file, there is a listbox with a list of options. What I intend to do is to pass the entire content of the listbox into a servlet so that it can be processed. I can iterate thru each listbox elements in a JavaSc

Re: passing parameters from jsp to servlet not working

1999-11-03 Thread Uddipan Bagchi
If you put a parameter in request using request.setAttribute(), you have to retrieve it using request.getAttribute() [and not request.getParameter()]. Hooke Kevin wrote: > Hi - I am trying to call a servlet from a jsp page to perfrom a simple > server-side include. > > I can successfully call th

Re: passing parameters from jsp to servlet not working

1999-11-03 Thread Willie Wheeler
On Wed, 3 Nov 1999, Hooke Kevin wrote: > Hi - I am trying to call a servlet from a jsp page to perfrom a simple > server-side include. > > I can successfully call the servlet, but any parameters I pass do not seem to > make it into the servlet. > > I would like to use the following: > > flush="t

Re: passing parameters from jsp to servlet not working

1999-11-03 Thread Hans Bergsten
Hooke Kevin wrote: > > Hi - I am trying to call a servlet from a jsp page to perfrom a simple > server-side include. > > I can successfully call the servlet, but any parameters I pass do not seem to > make it into the servlet. > > I would like to use the following: > > flush="true"/> > > This suc

passing parameters from jsp to servlet not working

1999-11-03 Thread Hooke Kevin
Hi - I am trying to call a servlet from a jsp page to perfrom a simple server-side include. I can successfully call the servlet, but any parameters I pass do not seem to make it into the servlet. I would like to use the following: This successfully calls the servlet, but the parameter passed

JSP to Servlet to EJB

1999-08-16 Thread Chee Keong
Hello, I would like to experiment on doing a three tier application development using free tools. I am aware of tools from application server vednors but most of the software are time expired and I am only free on weekends. By the time I learned some stuff, the software would be expired. The go

Re: BEAN from JSP to SERVLET

1999-04-12 Thread Craig McClanahan
Bruce Bantos wrote: > I have written an application that passes a simple data bean to a JSP page > for presentation. This page then passes name/value pairs back to a servlet > for database updates. I would like to have the JSP page simply update the > properties of the data bean using the SETFROM

BEAN from JSP to SERVLET

1999-04-12 Thread Bruce Bantos
I have written an application that passes a simple data bean to a JSP page for presentation. This page then passes name/value pairs back to a servlet for database updates. I would like to have the JSP page simply update the properties of the data bean using the SETFROMREQUEST tags in the JSP page,