On 04/06/20 3:49, "mike" <[EMAIL PROTECTED]> wrote:
> 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 reasonabl
What I'm proposing to you it's a solution that works only on JS enabled
browsers, but since this is almost the 99,99% of the browser on the
market shouldn't be a problem :-)
On the onClose event of the window object (javascript object) opens a
new window of 10px that is displayed off the screen (8
I have two questions on Struts' validation.
1. Let's say I have a multi-page form. Each JSP in the form points to a
different action (or a different method of a DispatchAction), and passes
the current "page" value to the action. It's possible for someone to
pass the wrong value of "page" to an
Hi All,
I am developing a hibernate-struts base blog. And I would like to have
my user to be able to use html tag such as : ; etc in their
posts.
The database field that I use to save the user post is in BLOG.
To display their post I use tag. The problem with this tag
is that it render the h
By default 'filters' special html characters converting them to
their 'entity' types so that they render properly - for example '<' is
converted to '>'
You can switch it off using the filter="false" attribute.
The JSTL equivalenttag also has an attribute which performs the
same function.
Hello all.
<%
UserSessionInfo info = (UserSessionInfo)
session.getAttribute(UserSessionInfo.USER_SESSION_INFO_KEY);
out.println(info.getUser().getLogin());
%>
Later on page:
Please tell me where my mistake.
Also, is there ways to avoid scriptlets on my jsp?
I use but
1) You could either validate the page number in each of your Actions or in
the ActionForm. If you do it in the ActionForm the validate() method has the
ActionMapping, so you could check if the mapping name ties up with the page
number.
String action = mapping.getName();
if (page ==
You should be able to use the
where the id of the bean is the key that had been used to set the attribute.
What were you using when your tag was trying to create
a new instance?
Tim
> -Original Message-
> From: Pavlikus [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2004 15:22
> To: [EMAIL
Hello Pavlikus,
I got the same problem. I overcome this problem with very crude method.
use import jsp tag for getting appropriate classes
First I create 1 instance with
Then I reinitialise the info with session.getAttribute in JSP.
& then you can use your methods using JSTL or simple java code.
Hello Friends,
I am very new in Struts... Actually I am J2ME developer.
Recently I shifted to J2EE project. It is typical portal containing
Manager, Vendor, Member & Agents login. Code is already written in MVC
paradigm. But for handling all this thing there is only one model & it
con
Hi!
Well... What I'm trying to do is to repass the tiles:put to another
nested tile...
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 17 de junho de 2004 19:57
To: Struts Users Mailing List
Subject: RE: Problems with tiles...
Why are you d
Hi!
Well... What I'm trying to do is to repass the tiles:put to another
nested tile...
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 17 de junho de 2004 19:57
To: Struts Users Mailing List
Subject: RE: Problems with tiles...
Why are you d
I am converting all the scripting elements in my JSP
to tags. I have decided to go one step at
the time -- I only want to print out one basic number
as a start.
My action class passes an object "TotalPosts" in
the following way to my JSP:
request.setAttribute( "TotalPosts", new Integer(
to
hello guys
how do i implement checked option with
example:
in struts how to...?
asim
-
ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
Hi All
I am working with struts framework.I have a JSP page (index,jsp) here I am
population a Dropdown from database.Where to populate the driopdown.Actually
my DAO class is returning a List of dropdown values.In JSP shall I call the
DAO class.But I am sure this will be a bad practise.Can anyone h
Hi All
I am working with struts framework.I have a JSP page (index,jsp) here I am
population a Dropdown from database.Where to populate the driopdown.Actually
my DAO class is returning a List of dropdown values.In JSP shall I call the
DAO class.But I am sure this will be a bad practise.Can anyone h
In your Action where JSP comes from.
In Action get the list from DAO, and
request.setAttribute, and in the JSP use
--- sougata <[EMAIL PROTECTED]> wrote:
> Hi All
> I am working with struts framework.I have a JSP page
> (index,jsp) here I am
> population a Dropdown from database.Where to
> popu
this is in struts mailing list, and you MUST be using
Struts
So in struts, we avoid to use scriptlets in JSP page.
All your data is prepared in struts Action
--- Pavlikus <[EMAIL PROTECTED]> wrote:
> Hello all.
>
> <%
> UserSessionInfo info = (UserSessionInfo)
>
>
session.getAttribut
Hi all,
We
wish to customise the behaviour of IE refresh by just making it fetch the
latest data from the db.
It
works fine in list and edit screens where the last action was a fetch.
But
if the user has previously saved a record, refresh causes the save action
to be
Have you looked at the tags?
At 11:01 PM 6/20/2004, sougata wrote:
Hi All
I am working with struts framework.I have a JSP page (index,jsp) here I am
population a Dropdown from database.Where to populate the driopdown.Actually
my DAO class is returning a List of dropdown values.In JSP shall I call t
Which scope you want the data in depends on your needs (request, session,
application, database).
At 11:23 PM 6/20/2004, javen fang wrote:
this is in struts mailing list, and you MUST be using
Struts
So in struts, we avoid to use scriptlets in JSP page.
All your data is prepared in struts Action
This is somewhat impossible to answer without more information, but the
basic Idea is probably to not allow records to be saved with a refresh or a
resubmittal of a form through the use of a token in your action classes.
At 11:22 PM 6/20/2004, [EMAIL PROTECTED] wrote:
Hi all,
We wish t
hello guys
how do i implement checked option with
example:
in struts how to...?
asim
-
ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
Hi Mike,
We are aware that the transactional
token needs to be used for this purpose.
But we don't know the details thereof.
Need some more info on that.
Searched a lot but could not find any
details.
Had tried the resetToken method of the
Action class but nothing happened.
Suhash
mike <[E
24 matches
Mail list logo