Thank all of you for your replies, finally i convienced my collegue.
regards
S.Karthikeyan
-Original Message-
From: Sivakumar Samiappan [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: does servlet and jsp comes under J2EE
Hi All,
I know that this is a silly question, but anyhow i need to know this .
Suppose if iam creating a web application with jsp and servlet using MVC
architecture, can i call that applications as
J2EE based application. One of my collegue is arguing that only when we use EJB
/2004 11:29 AM
Please respond to JSP-INTEREST
To: [EMAIL PROTECTED]
cc:
Subject:does servlet and jsp comes under J2EE or not ?
Hi All,
I know that this is a silly question, but anyhow i need to know this
.
Suppose if iam creating a web application
claim to
have known the J2EE architecture. `
--- S Karthikeyan [EMAIL PROTECTED] wrote:
Hi All,
I know that this is a silly question, but
anyhow i need to know this .
Suppose if iam creating a web application with
jsp and servlet using MVC architecture, can i call
Yes, using any of the JSP, Servlet or EJB technology, you can call yourapplication
a J2EE application. To say in simple terms if youapplications needs J2EE SDK for
deployment, it is a J2EE application.
These links to J2EE FAQ will help you understand better:
http://java.sun.com/j2ee
Got a question about Java Servlet Technology or JSP Technology?
Want to find out what's new in these areas? Then join this online
chat with noted computer scientist Marty Hall, author of the books
Core Servlets JavaServer Pages, and More Servlets JavaServer
Pages, and Sun Technical Staff Member
Hi All,
I am facing problem while redirecting from servlet to JSP. Although JSP
page is displaying properly, the CSS used in it is not working properly.
Also the address showed in the address bar of the browser is of servlet.
I am using following command for redirection from servlet
be
wrong. You must ahve defined it relative, define it virtual and it will work for you.
-Original Message-
From: Biji Harees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: Redirection from Servlet to JSP
Hi All,
I am facing problem while
Hi,
It is not giving any error but Style sheet defined is not working and
display itslef is changed fully. Again after redirection if I try to submit
using a select box, it is giving error.
response.sendRedirect doesn't work when you try to redirect from a servlet
to JSP. Is there any solution
Send some code snippet and your directory structure. I have done the same way and it
works for me.
-Original Message-
From: Biji Harees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 3:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Redirection from Servlet to JSP
Hi
: Redirection from Servlet to JSP
Send some code snippet and your directory structure. I have done the same
way and it works for me.
-Original Message-
From: Biji Harees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 3:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Redirection
The tech tip below shows how to dynamically create an image within a
servlet and send it to the output stream.
http://developer.java.sun.com/developer/JDCTechTips/2001/tt0821_update.html
In most cases developers want to send both HTML text and images when
dynamically creating a web page. How
After doing some further research, in all likelyhood this can't be
done.
However, a fairly simple work around is to have a JSP with a servlet
as the image source (img src=/servlet/chartRender).
The information necessary to dynamically create the image can be
pulled from a session object.
Mike
To me, the main advantage (or difference) to use a jsp bean (jsp:usebean
... over a class bean, i.e. a normal java class, is that you can clearly
specify the life cycle of your bean objects using the scope attribute.
How is this any different than simply placing the object/bean into the
]
Subject: Re: newbie wanting to pass data from servlet to jsp
To me, the main advantage (or difference) to use a jsp bean (jsp:usebean
... over a class bean, i.e. a normal java class, is that you can clearly
specify the life cycle of your bean objects using the scope attribute.
How is this any
I am accessing a db in a servlet and want to display all the rows of
a table in a jsp, to divide the presentation from the logic.
Essentially I want to pass an object (ResultSet rs) from the servlet
to the jsp, so within the jsp I can call something like:
tr
while(rs.next())
td
You can store the objects you want to pass in the request scope.
public void request.setAttribute(String attrname, Object value)
public Object request.getAttribute(String attrname)
Your servlet code would look like:
request.setAttribute(myData, rs);
to get the data, if the bean can be set in a servlet and
retrieved in a jsp. Is there a clearer way to think about beans in
the context of passing info from a servlet to a jsp?
John
-- Reply Separator
Originally From: Joe Cheng [EMAIL PROTECTED]
Subject: Re
interchangeable between the two.
Hope this helps clear up some of your questions.
Celeste
-Original Message-
From: John Kilbourne [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 4:07 PM
To: [EMAIL PROTECTED]
Subject: Re: newbie wanting to pass data from servlet to jsp
Thanks Joe
You do not have to do any declarations (of the %! % type) to do what you
want to do.
You would probably have to import the Employee class, is all. If Employee
lived in a package com.mycom, just do %@ page import=com.mycom.Employee
%
I personally never use the JavaBean framework, e.g.
Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Joe Cheng
Sent: Monday, December 10, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: newbie wanting to pass data from servlet to jsp
You do not have to do any declarations
Cheng [EMAIL PROTECTED]@JAVA.SUN.COM on 12/10/2001 03:47 PM EST
Please respond to A mailing list about Java Server Pages specification
and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: newbie wanting to pass data from servlet to jsp
You can store the objects you
hi all,
how do
i pass data from servlet to jsp bean ?
example in my servlet i have this object call
config which is a hastable type.is it a way touse it in jsp bean and
taglib program ? ignore this if there isn;t
thanks.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Nguyen, Thang P
Sent: 17 August 2001 01:21
To: [EMAIL PROTECTED]
Subject: Re: EJB and Tomcat/Servlet and JSP
First, would like to thank Christopher for pointing
.
Some J2EE implementations use Tomcat, but that's not
really on-topic for jsp-interest or servlet-interest.
You might try:
http://archives.java.sun.com/archives/j2ee-interest.html
or maybe:
http://archives.java.sun.com/archives/ejb-interest.html
You might also want to check out JBoss
Ganesh,
1. How to send XML String from Servlet to JSP?
session.putAttribute(XML, strXML);
2. How to retreieve the XML sent by Servlet?
session.getAttribute(XML, strXML);
It's at least one way. :-)
== Ross ==
Ross W. Lambert, CTO
WebWolves, LLC
voice: (509) 886-2049
e-mail: [EMAIL
from jakarta taglibs, http://www.jakarta.apache.org.
Justy
- Original Message -
Ganesh,
1. How to send XML String from Servlet to JSP?
session.putAttribute(XML, strXML);
2. How to retreieve the XML sent by Servlet?
session.getAttribute(XML, strXML);
It's at least one way
Dear All,
Please help me to do the following.
1. How to send XML String from Servlet to JSP?
2. How to retreieve the XML sent by Servlet?
Thank you
Ganesh
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "si
Alireza Nahavandi wrote:
Hi All,
I am calling a servlet using jsp:include ... tag from jsp and then
forward to appropriate page according to some conditions. I am getting this
error :
"java.io.IOException: Unable to clear JspWriter buffer, data already written
to stream."
without
Hi ,
I have a servlet in which I try to call a .jsp page in JRUN 2.3.3
environment.
.
.
.
String target = "./helloFromServlet.jsp";
RequestDispatcher rd = null;
rd = getServletContext().getRequestDispatcher(target);
rd.forward(req,res);
.
.
The above code when called from the
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 output
results
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
hi,
I am trying to forward a jsp(which has a session bean
and
setting some pro) to a
a servlet which adds a cookie and then forwards to
another jsp page.
In the servlet i am forwarding the request and
response to the
Jsp page. I am using java web server2.0. jdk1.2.2 and
jsdk1.0.1 .
Stefán F. Stefánsson wrote:
Hello.
Here's my problem:
I have a servlet that initiates a bean. This bean is put in the request
object as an attribute and then forwarded to a JSP page. That JSP has a
form where the user selects one thing from a drop down list. Then (when
he/she presses
Hello.
Here's my problem:
I have a servlet that initiates a bean. This bean is put in the request
object as an attribute and then forwarded to a JSP page. That JSP has a
form where the user selects one thing from a drop down list. Then (when
he/she presses the submit button) it's directed to
Stefan,
Http is stateless protocol. There is no way you can
store objects in html and send it back to web server.
Only thing you can do is find means to save attributes
(either in hidden form fields or other form fields)
which will help you create the original object in the
same state, when
Hi,
I am new in this mailing list.Please let me know what are all
the main differences between servlet and JSP.
thanks and regards,
-elango
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INT
wrote:
Hi,
I am new in this mailing list.Please let me know what are all
the main differences between servlet and JSP.
thanks and regards,
-elango
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signof
Hi Alex,
Use a dynamic include:
jsp:include page="/servlet/YourServlet"/
Regards,
Manne
-Original Message-
From: Alejandro López [mailto:[EMAIL PROTECTED]]
Sent: 29 September 2000 21:22
To: [EMAIL PROTECTED]
Subject: servlet into jsp
Sorry I´m a new jsp programmer, this i
: Robuschi (Delfi) [mailto:[EMAIL PROTECTED]]
Sent: 29 September 2000 17:49
To: [EMAIL PROTECTED]
Subject: Re: Servlet or JSP
JSP is better but you take the source so if you must give it to a customer,
he can read your code
Servlet is compiled... so hidden from other's eyes!!!
Bye
ASP. It is more compliant and direct with MS SQL DBs.
Developing a Servlet or JSP project would be more time-consuming than merely
coding in a familiar ASP environment.
nasser
software/ecommerce/it developer
- Original Message -
From: "Chandra, Debmalya (CAP, RAIL)" [EMAIL
Hi friends,
I have a "HTML ready" page. I mean someone has already done the screen in
HTML. The controls in the page are like : textarea(s), command buttons,
comboboxes. My job is to populate the screen using SQL server DB. I might
have to design similar "HTML ready" screens which are all
JSP is better but you take the source so if you must give it to a customer,
he can read your code
Servlet is compiled... so hidden from other's eyes!!!
Bye
Robuschi Roberto Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932411 Fax 0521/989045
[EMAIL PROTECTED]
hi,
I am using VisualAgeJava professional edition 3.02. I configured my ide for
Apache Tomcat Servlet for JSP Development as per instruction in the ibm site
(http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocumentp=1BCT=1Footer=1).
The Tomcat is working fine but the Http server
: Friday, July 07, 2000 6:08 PM
To: [EMAIL PROTECTED]
Subject:problem passing Array from Servlet to JSP (newbie
question)
Hi,
I'm trying to pass an Array from a Servlet to JSP. My problem is that
all of the values that show up on the JSP are zero, but I get the
correct length o
Hi,
I'm trying to pass an Array from a Servlet to JSP. My problem is that all of the
values that show up on the JSP are zero, but I get the correct length of the size of
the Array.
Here's what I have
in the Servlet:
-
AccountBean[] aB = getAccounts();
req.setAttribute
Hi,
I'm trying to pass an Array from a Servlet to JSP. My problem is that all of
the values that show up on the JSP are zero, but I get the correct length of
the size of the Array. (I am using Tomcat 3.1 on NT)
Here's what I have
in the Servlet:
-
AccountBean[] aB = getAccounts
PROTECTED]]
Enviado el: miércoles 7 de junio de 2000 23:52
Para: [EMAIL PROTECTED]
Asunto: How to print from a applet, servlet o JSP
Hi All!
Help me please, How can I to print from a applet, servlet o jsp?
Thanks in advance for your answers
Best regards
Alexander Bonill
;employee", (EmployeeBean)i.next(),
pageContext.REQUEST_SCOPE);
What are you using for a server? I've been using Tomcat 3.1.
-Original Message-
From: John Cartwright [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 5:29 PM
Subject: passing bean from servlet to
Hi All!
Help me please, How can I to print from a applet, servlet o jsp?
Thanks in advance for your answers
Best regards
Alexander Bonilla Dionisio
Analista - Programador
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Cosapisoft S.A.
Unidad Sarabank
Telef. (51 1) 437-8585
Hello All,
I am trying to understand an example from Chapter 8 of the WDJSP by
FieldsKolb that relates to passing a bean from a servlet to a jsp page.
Code listing below. The accessor methods work OK, but the getProperty
tags do not. They behave like they are referring to an empty bean. I'm
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
Hi all,
Can anybody tell the optimum way to pass a collection object from the
servlet to JSP ?
I have got two options currently.
1. Adding the collection object with the session or,
2. Using a javaBean which will hold the collection object
and using the JavaBean in the JSP using usebean tag
User jsp:forward
as in
jsp:forward page="/servlet/JSP2Servlet" /
rgds
jagan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 11, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: How to invoke servlet in jsp?
Hello everyone:
I am a ne
are not of this variety of behavior, although I've read about this form of servlet-JSP
use in the white papers.
JavaSoft's words exactly for this are as follows:
...the Web-based client may make a request directly to a Java Servlet, which actually
generates the dynamic content, wraps the results into a result
I am looking for a Web host in the United Kingdom that provides support for
servlets and JSPs? I would be very grateful for any
suggestions/recommendations.
Thank you in advance,
Bohdan Kurpita
===
To unsubscribe: mailto
Hello everyone:
I am a newer. Now I have a question, I know how to invoke jsp from servlet.
but I have a exiting servlet , I want to invoke servlet in jsp file.
I dont know how to invoke servlet in jsp, who know? who can help me?
Thanks in advance!!!
netjava
ÍáÍá wrote:
Hello everyone:
I am a newer. Now I have a question, I know how to invoke jsp from servlet.
but I have a exiting servlet , I want to invoke servlet in jsp file.
I dont know how to invoke servlet in jsp, who know? who can help me?
Thanks in advance!!!
You can use
Hi,
Use the request.sendRedirect() method. It might be helpful for u.
Pranav
- Original Message -
From: Matt Brown [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 03, 2000 6:16 AM
Subject: passing parameters from servlet to jsp page
I am writing a jsp page
I am writing a jsp page with a basic form that collects some personal
information. When the user submits the form, my servlet checks to see that
all the fields have been filled out. If fields are empty, I want to
redisplay the jsp form page with a different message at the top, like "fix
the
How can I pass a large amount of text from my servlet to a JSP page? I know
that I can pass parameters on the query string but that is generally limited
to like 256 bytes or something, and the data that I want to pass is a lot
(2-3k) of text.
N
"G. Goerke" wrote:
[...]
Tomcat 3.1 RC1 supports URL rewriting.
http://jakarta.apache.org/builds/tomcat/release/v3.1_rc1/
I can't say I've done any extensive testing, but based on a few simple tests
(using only JSP pages) it seems to work.
Nevertheless, URL-Rewriting didn't work
Hello!
I've got some troubles using session-tracking between servlets and jsp's. I've tried
it using the web-servers LWS from Gefion and tomcat 3.0 and 3.1.
My first choice was the LWS, because it supports URL-Rewriting and I don't want to use
cookies. But everytime I switch from a servlet
verytime I switch from a servlet to an jsp or back,
request.getSession()
provides a new session-object, although switching between two servlets or to jsp's
is no problem.
Therefore my first question is:
Doesn't LWS support session-tracking between servlets and jsps or is there a trick,
I ne
ss objects from servlet to JSP. HttpSession could be a good idea,
but without
HttpSession, could I create a JavaBean instance and set some values,
then get the
values in JSP ?
===
To unsubscribe: mailto [EMAIL PROTECTED]
Hi, JSP folks.
I am trying to use JSP as the html templates, but I have to find out a
good method
to pass objects from servlet to JSP. HttpSession could be a good idea,
but without
HttpSession, could I create a JavaBean instance and set some values,
then get the
values in JSP ?
Thanx
Hi,
I am trying to write a application using JSP's. Currently i am
using Servlets and wrote custom methods Templates to print out the
resultant HTML data. I want to convert this code to use JSP.
Is there any way i can give the context to a JSP page to print the page,
and pass the Data
Look up the following FAQ which explains how to do this:
http://www.esperanto.org.nz/jsp/jspfaq.html#q11
-Original Message-
From: Sudhir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 28, 2000 11:48 PM
To: [EMAIL PROTECTED]
Subject: Servlet and JSP
Hi,
I am trying to write
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 des
Herzog Bernhard wrote:
Hi,
I want to include a 3rd part servlet into my JSP
page. But it looks like the servlet-tag is not
recognized.
At first I had the idea to use iframe:
iframe src="/servlets/...?%= parameters %"
/iframe
But the parameter list can get very large
and I
You can use the jsp:include tag as follows:
jsp:include page="/servlet/qis.servlets.LastUpdate" flush="true"
jsp:param name="wnFile" value="Updates" /
/jsp:include
To include the output from a servlet or other source.
Thank you very much for your answer. But I am using
JRun which
have look CalendarServlet at http://coldjava.hypermart.net
--
Hi,
I am looking for a ready-to-use Calendar Servlet or JSP source code. I
would appreciate you sharing any information that you might be having.
Thankyou.
cheers,
Amar
Hi,
I want to include a 3rd part servlet into my JSP
page. But it looks like the servlet-tag is not
recognized.
At first I had the idea to use iframe:
iframe src="/servlets/...?%= parameters %"
/iframe
But the parameter list can get very large
and I think GET has a limit.
Hi,
I am looking for a ready-to-use Calendar Servlet or JSP source code. I
would appreciate you sharing any information that you might be having. Thankyou.
cheers,
Amar..
===
To unsubscribe: mailto [EMAIL PROTECTED
You can use the jsp:include tag as follows:
jsp:include page="/servlet/qis.servlets.LastUpdate" flush="true"
jsp:param name="wnFile" value="Updates" /
/jsp:include
To include the output from a servlet or other source.
Good luck,
Paul McKean
Computer Systems Designer
Lockheed Martin Space
You can call a servlet from jsp by specifying the url in the action
atribute of the form tag.
Pass the parmeters either as querystring or use the post method. Use the
getParameter function of the request object to obtain the values from the
form.
You can use response.redirect to call the jsp page
should i procced doing this.
How to pass parameters from jsp to servlet.
How to call a servlet from JSP Page.
How to call a JSP Page from a Servlet.
Any inputs are appreciated .
Is there any good web site where can i get info on JSP other than Sun
Site.
Thanks in advance
Ajay
Hi All, i got a problem, can some one can advice me what i suppose do in
order to fix it...
I created a JSP, Servlet, and Bean and placed in appropriate directories
with clean Compilation.
The servlet in c:\jswdk-1.0.1\webpages\web-inf\servlets\AddServlet.class
The Jsp in c:\jswdi-1.0.1
ns
signing an agreement (JSPA). As with most of the JCP, the JSPA is based
on past experience and its main goal is to enable the practical exchange
of information within the expert group.
The current versions of the Reference Implementation and Tests for
Servlet and JSP specifications (Servlet 2.2 a
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
Can anyone explain me how to call a servlet from a JSP page.
The princip is:
JSP pageServlet
==
%
jsp code ...
%
Call the servlet
D]
Subject: Calling servlet from JSP
Can anyone explain me how to call a servlet from a JSP page.
The princip is:
JSP page Servlet
==
%
jsp code ...
%
Call t
Two tips:
1. When reporting a problem to a group like this, post your errors. Those
mean a lot more than "my servlet fails."
2. Use the forward() method of RequestDispatcher, not callPage(). There's
no such thing as callPage() in newer versions of the Servlet API.
Scott Stirling
West Newton,
Hi,
I am a newcomer to JAVA. and obviously more so to servlets and JSP.
Can you guide me how to go for servlet oriented design to JSP oriented
design. How far i need to change the implementations, which are there in
servlets.
thanks and regards,
Ritesh Sinha.
S/w Engineer,
ITIL
Hi all,
I have a simple servlet .In doPost Method , it called a jsp page, but failed in every
time.
Can you tell me what's wrong? thank you! The codes of servlet are metioned below.
import java.io.*;
import java.lang.*;
import javax.servlet.*;
import javax.servlet.http.*;
import
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:RE: regs servlet calling Jsp...
Sun as good examples that comes with jswdk-1.0.1 and orion has those
examples too. This are the code snippet from Sun's examples:
Source Code for Servlet calling JSP
import javax.servlet.*;
import
Hi all,
Can anyone help me how to call a JSP from a servlet.
1.) I've tried with "callPage" but I'm getting ClassCastException at
this step:
((com.sun.server.http.HttpServiceResponse)
res).callPage("/DisplayData.jsp", req);
2.) I can call a JSP page with send
t;);
-AMT
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2000 6:50 AM
To: [EMAIL PROTECTED]
Subject: regs servlet calling Jsp...
Hi all,
Can anyone h
Hello
My problem is I am calling a Databse from html file i am taking that
resultset object into a session Object. Connection i created in a class
called Connect so that it can be called uniqely for all servlets
jsp's(only for connection).I.e form servlet i am calling jsp (so thati don't
want
I have to launch an error jsp page from a servlet passing a String with the
description of the error.
How can I do that ? Can someone help a novice ?
Thanks a lot.
**
Samuele Brignoli - Sinapsi S.r.l.
Viale Gorizia 2 - Milan - Italy
+39 2
page ?
2) Can i do some sort of chaining (i.e servlet-jsp) ? I know that i can do a
servlet-servlet chaining.
Thanks a lot.
Cheers,
Amar..
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST&q
into theJSP page ?
2) Can i do some sort of chaining (i.e servlet-jsp) ? I know that i can
do a
servlet-servlet chaining.
Thanks a lot.
Cheers,
Amar..
==
=
To unsubscribe: mailto [EMAIL PROTECTED] with body: "si
ast longer than just the current
request.
2) Can i do some sort of chaining (i.e servlet-jsp) ? I know that i can do a
servlet-servlet chaining.
Forwarding from servlet to JSP works just like forwarding servlet to servlet:
RequestDispatcher rd =
getServletContext().getRequestDis
I am new to using Servlets and JSP but want to use a Servlet to generate
a result set and then use JSP to display the information. I can generate the
result set okay and redirect to a JSP, using
request.setAttribute("rs",rs);
RequestDispatcher rd =
I am new to using Servlets and JSP but want to use a Servlet to generate
a result set and then use JSP to display the information. I can generate the
result set okay and redirect to a JSP, using
request.setAttribute("rs",rs);
RequestDispatcher rd =
Hans Bergsten wrote:
That's as close as you get in JSP 1.0. In JSP 1.1 there are ways to pass
parameters to the included servlet (as a query string on the page URI or
using jsp:param actions).
But you may also like to analyze your design and see if the included
servlets really need to be
JonTom Kittredge wrote:
Hans Bergsten wrote:
That's as close as you get in JSP 1.0. In JSP 1.1 there are ways to pass
parameters to the included servlet (as a query string on the page URI or
using jsp:param actions).
But you may also like to analyze your design and see if the
Title: Can I forward a resultset from Servlet to JSP
Hi Java gurus,
Can some on give me any suggestion on how to forward a Result from servlet to jsp.
I am using JSWDK1.0. I have a servlet that accesses a database and generates a ResultSet (rs). This rs is stored in a Vector (vec
Is it possible to duplicate the generalized functionality of the SERVLET tag
supported in JSp 0.92 in JSP 1.0? The jsp:include action is close, but it
doesn't allow you to change the request parameters. You can initialize a bean of
appropriate scope in the .jsp with the new parameter values and
richard hargrove wrote:
Is it possible to duplicate the generalized functionality of the SERVLET tag
supported in JSp 0.92 in JSP 1.0? The jsp:include action is close, but it
doesn't allow you to change the request parameters. You can initialize a bean of
appropriate scope in the .jsp with
1 - 100 of 128 matches
Mail list logo