----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It does have a search feature!
We cannot guess what you are trying to do:
#1. Include version numbers for all software.
#2. Include relevant configuration settings.
#3. Include full descriptions of the problem.
Got Linux? Seeing lots of java processes?
<http://java.apache.org/faq/?file=274>
----------------------------------------------------
>
>Carsten,
David,
>
>If you use a bean in jsp does it have access to all the request
>parameters and also the session just like a servlet does?
If you want it to have access, it has access. Hey its java!
Pass it as a parameter or set it as a property.
For example I have a formating helper bean of name form
which gets initialized this way.
<jsp:useBean id="form" class="utils.Form">
<jsp:setProperty name="form" value="<%= request %>"/>
</jsp:useBean>
<%= form.insertAsTextarea("field1", 25) %>
(25 is a size value I pass)
>
>Can a jsp bean cause you to be redirected to a login screen form and
>then back again?
I would code that similiar to (may not get the attribute names right, but take
it as pseudocode :-)
(needs to be added in each page, put can pe statically included)
<% if(!mySecurityManager(request)) %>
<jsp:forward file="/general/login.jsp"/>
<% } %>
And in login.jsp you may use the referer attribute of the HTTP-Request so see
from which page
you came.
If you join the jsp-interest mailing list (see sun jsp pages) there was a lot
of traffic
regarding this theme and I didn't follwo it very closely.
>
>Dave
>
>
>> <jsp:include file="/dir1/myotherpage.jsp flush="true"/>
>>
>> you can include output of other jsp pages and on a jsdk 2.1 compatible servl
et
>> engine
>> (Not available for jserv yet) even of other servlets.
>> Jsp pages have all benefits of servlets and using the bean stuff of them
>> is easy and great (I'm just porting an older <servlet>-based application
>> to GNUJSP 1.0 in the moment.).
>>
>> You can use GNUJSP 1.0 (current cvs snapshot) (I recommend it but
>> you may call me biased (? hope to get that work right)) but other
>> jsp engines are available.
>
>
>
>--
>David Warnock
>Sundayta Ltd
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
Ciao,
Carsten Heyl
Carsten Heyl [EMAIL PROTECTED]
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]