Hi, I am are trying to call session object in tiles page, but it returns null.
Is there any specific methodology to call session in jsp page.
Since I am just using session.getAttribute("Parameter") in session.
--
Jignesh Patel
Project Leader
_
Youre right, they may not explicitly log off.
And you are right that you need to handle the occasion that they go away
without saying anything to you.
But you shouldn't be worried about the occasion that this happens. You
should be handling it with an entirely different paradigm.
But being able
Rick,
Sorry if I the problem def I supplied wasn't complete enough. I
was trying to avoid keyboard diarrhea. I'm sure that I'm making this
more difficult than it need be. :-)
I have a number of mappings. Each with its own unique action,
form, and set of forwards comprising the jsp screen
Hi all,
I'm looking for a way to insert in a JSP from a web module an other JSP from
an other web module.
For example:
example.jsp :
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
where exampleLayout.jsp, header.jsp and footer.jsp are in the main web
module with contex
There are ways, if you are so adamant about this that you want to use a lot
of resources. Are you?
At 04:53 PM 6/19/2004, Bill Siggelkow wrote:
AFAIK this cannot be done -- your best bet is to provide a Logoff link and
a reasonable session timeout.
ksitron wrote:
Is there a way to detect when
Bill -
The point of my discussion was the following premise:
public class MyCheckboxForm extends ActionForm
public class MyForm1 extends MyCheckboxForm
public class MyForm2 extends MyCheckboxForm
I want to be able to pass MyForm1 or MyForm2 to the same JSP and have it
work because th
Thanks for the reply. But, I find it hard to accept that it can't be done.
And, users may not be computer savy or follow good etiquette and log off.
Bill Siggelkow wrote:
AFAIK this cannot be done -- your best bet is to provide a Logoff link
and a reasonable session timeout.
ksitron wrote:
Is th
AFAIK this cannot be done -- your best bet is to provide a Logoff link
and a reasonable session timeout.
ksitron wrote:
Is there a way to detect when the user closes the browser.
What I want to do is do clean-up and destroy the session.
Thanks in advance.
Hi Everyone,
Depending upon the interest level, I'm willing to organize a social
gathering at a bar or restaurant in San Francisco during the upcoming
JavaOne conference. It would either be around 8:30pm on Sunday, June 27th,
after the Welcome Reception ends. Or it would be around 8:00PM on Thursd
Is there a way to detect when the user closes the browser.
What I want to do is do clean-up and destroy the session.
Thanks in advance.
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Chris, your running into the problem because when you use
where the value is specified in the body of that tag, it create a new
String scripting variable as well as a page-scoped attribute that is
also a String.
Instead, you want the actual form bean itself. I am not too sure about
how tiles
Hmm .. in your Action's execute method you should be able to do:
DynaValidatorForm myForm = (DynaValidatorForm) form;
String sort = myForm.get("sort");
String order = myForm.get("order");
This will get the current values on the form -- if the form was just
created than these will be the initial va
Is anyone familiar with this that can help?
- Original Message -
From: "Chris Cranford" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 3:47 PM
Subject: Re: bean defines
> And it may be important that I point out if I use:
>
>
> Th
Thanks for a very interesting thread.
An elucidation of many of the topics in this thread can be found in Ted Husted's book,
Struts in
Action; especially see chapter 5, Coping with Action Forms.
It is very tempting when you first come to Struts to do a great deal of processing in
the Action
cla
14 matches
Mail list logo