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
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
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
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
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
;
>
>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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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("
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
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.
===
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
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
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
-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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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,
42 matches
Mail list logo