you really want and need.
Frank
struts lover wrote:
Hi,
I am using Struts and Tiles for an intranet application. I want to disable
the back button.
How can I achieve this?
Any help would be appreciated.
Thanks
-
Yahoo! Mail
Use Photomail to share
14, 2006 11:37 am, struts lover said:
Hi Frank,
Thanks for your reply. That solves my problem of back button or other
key on the keyboard. But I still have the problem with the browser back
button. I am using Tiles.
It would be nice if you can provide any pointers.
Thanks.
Frank W
: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
On Tue, March 14, 2006 3:11 pm, struts lover said:
Hi Frank,
I tried it but could not make it work. Also I am trying something like
Hi,
I am using Struts and Tiles for an intranet application. I want to disable the
back button.
How can I achieve this?
Any help would be appreciated.
Thanks
-
Yahoo! Mail
Use Photomail to share photos without annoying
Hi,
I am trying to call the org.apache.struts.validator.Resources class
initValidator method.
It has the following piece of code in the initValidator method.
validator.setParameter(SERVLET_CONTEXT_PARAM, application);
validator.setParameter(HTTP_SERVLET_REQUEST_PARAM, request);
Hello Everyone,
I just downloaded the struts-faces nightly build and
tried to integrate in my existing struts application.
I get the following error.
/virtual/addMember.jsp(10): Error in using tag library
uri='/WEB-INF/struts-faces.tld' prefix='s': The Tag
class
Hello Everyone,
I have this problem related to tags.
I am using c:set to set the ActionForm to some
variable, and dont ask why :).
And now I want to access a collection on the form for
the drop down list. How do I do this?
I am doing as follows :
c:set var=empForm value=${employeeForm}/
Now
value=salaryValue/
Niall
- Original Message -
From: struts lover [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 3:56 PM
Subject: jstl and struts tag problem
Hello Everyone,
I have this problem related to tags.
I am using c:set
Hello Everyone,
I wanted to know if smart navigation is possible in
JSP with Struts as it is with ASP.Net.
If yes, I would like to know it. Any help would be
appreciated.
Thanks everyone.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
in the html document.
/script
Jack
On Wed, 24 Nov 2004 05:39:09 -0800 (PST), struts
lover
[EMAIL PROTECTED] wrote:
Hello Everyone,
I wanted to know if smart navigation is possible
in
JSP with Struts as it is with ASP.Net.
If yes, I would like to know it. Any help would
of the browser window.
Regards,
David
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 12:29 PM
To: Struts Users Mailing List; Dakota Jack
Subject: Re: smart navigation
Thanks Jack,
I am not very good at javascript.
Can you
Thanks for your reply.
I will try it later. Have to go out for Thanksgiving.
Happy Thanksgiving everybody.
--- David G. Friedman [EMAIL PROTECTED] wrote:
You (got a name? Struts Lover is so impersonal) can
invoke it by clicking on something in a page using
by adding onClick=SetScrollTo
Hi Everyone,
I have this weird problem. My error messages were
displaying fine but after I started using tiles, the
messages dont show up.
If I do the logic:messagesPresent for a particular
property, it shows that error is present. But the
html:errors/ tag doesnt show errors.
Anyone can help
Hi,
I have my html taglib definition on the top on my main
jsp.
Thanks
--- Niall Pemberton [EMAIL PROTECTED]
wrote:
When you broke your jsp up into tiles did you still
include the html taglib
definition?
Niall
- Original Message -
From: struts lover [EMAIL PROTECTED
the main one.
Niall
- Original Message -
From: struts lover [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 5:28 PM
Subject: Re: error messages not displaying
Hi,
I have my html taglib definition on the top on my
main
jsp
Thanks very much.
--- Joe Germuska [EMAIL PROTECTED] wrote:
At 7:24 AM -0700 10/25/04, struts lover wrote:
Hello,
Thanks everyone for your interest and replies.
Thanks
very much.
I had one more question. If I use getContentType()
of
FormFile, does it give the same results on
different
Hi Everyone,
I wanted to know what is the best practice for file
type validation. I want the user to allow to upload
only certain type of files and disallow all other
types.
I am using Struts FormFile.
Any help would be appreciated.
Thanks.
___
Do
;
however, the browser
may not do anything with this information; so in
your ActionForm, I
suggest you validate the type by checking the
extension of the received
file name.
struts lover wrote:
Hi Everyone,
I wanted to know what is the best practice for
file
type validation. I want
Hello everyone,
I am facing this problem of session. I have my action
form in session(a wizard like thing). Now if the user
starts filling in values and clicks on the NEXT
button, to go on to the next screen and then instead
of completing the process of application, clicks on
some other link.
: struts lover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 5:04 PM
To: [EMAIL PROTECTED]
Subject: cleaning session
Hello everyone,
I am facing this problem of session. I have my
action
form in session(a wizard like thing). Now if the
user
starts filling in values
Hello Everyone,
I have this problem. I have several submit buttons on
a form and I am using a modified version of
LookupDispatchAction class.
Is there any way for the buttons to have the same
name instead of having separate names as required by
LookupDispatchAction. I also want
Thanks Michael very much. I will go through it. If I
dont understand anything, will come back :).
Thanks again.
--- Michael McGrady [EMAIL PROTECTED] wrote:
Lucky you, Struts Lover, this has already been done.
See
http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions
. You
LOL :))
--- Durham David R Jr Contr 805 CSPTS/SCE
[EMAIL PROTECTED] wrote:
http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions
Mike, why not link directly to the Struts related
stuff from the wiki.
Or are you trying to drum up business for your flash
skills? ;)
- Dave
It is not possible with lookupdispatchaction class.
You need to have different method signatures. You have
to have different names for your cancel button like
Cancel Sign, Cancel Reservation etc.
--- Michael McGrady [EMAIL PROTECTED] wrote:
What you describe sounds impossible. How do you
-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:47 PM
To: [EMAIL PROTECTED]
Subject: go one level up
Hi Everyone,
I am using struts nested iterate tag. Is there any
way
to go one level up inside the iterate.
Huh?
Any help would
Hey how did your dad get the username and password you
emailed, without logging into the account
--- Rick Reumann [EMAIL PROTECTED] wrote:
This should give most of you a good chuckle so I
figued I'd share..
My dad has never used a computer until about a week
ago, when I
convinced
Hi Everyone,
Struts 1.2.2 is up and available.
http://struts.apache.org/acquiring.html
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
what is your directory structure ??? Are you giving
the correct relative path for the input parameter
--- Jim Barrows [EMAIL PROTECTED] wrote:
-Original Message-
From: Saurabh Bhatla
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 2:52 PM
To: Struts Users
Erik, what if the user clicks the submit button 2-3
times while the form data is being submitted to the
database.
--- Erik Weber [EMAIL PROTECTED] wrote:
Larry, what if an error occurs after form
validation, but during
processing of the submit, which requires you to
forward back to the
Hi,
I am developing a web application. There is a search
page where user enters a search parameter. Then it
displays search results. Each search result has a
hyperlink to view its details. But when I click, on
the back button, it gives me error.
Any one knows why and how to solve it.
Thanks.
Hi :),
It gives me the following error.
Warning: Page has Expired
Thanks.
--- Jim Barrows [EMAIL PROTECTED] wrote:
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 12:04 PM
To: Struts Users Mailing List
Subject: Back
:
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 12:14 PM
To: Struts Users Mailing List
Subject: RE: Back Button
Hi :),
It gives me the following error.
Warning: Page has Expired
Starting with the obvious:
Do
Hi,
I think it should be
var-valuedd/MM//var-value
instead of
var-valuedd/MMM//var-value
--- Research labs [EMAIL PROTECTED] wrote:
Hi,
Please help me.
I am trying to force users to enter dates in the
format 23/JAN/2003, therefore, I have the setting
below in the
as a security precaution.
If you want to be
able to get around this, use GET in your search.
On Thu, 26 Aug 2004 12:14:12 -0700 (PDT), struts
lover
[EMAIL PROTECTED] wrote:
Hi :),
It gives me the following error.
Warning: Page has Expired
Thanks
Hi,
I am using the html:file tag for file upload. It has
a button whose text displays Browse in English. Is
there any way of localizing the Browse button, so that
it displays the text from the properties file
depending on the locale selected by the user.
Thanks
ApplicationResources.properties
(or whatever acording to Locale) and set this
literal to the browse button.
Cheers.
-- Mensaje original --
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED]
Date:Mon, 23 Aug 2004 08:19:45 -0700 (PDT)
From:struts lover [EMAIL PROTECTED]
Subject: localizing
Hello Everyone,
I am stuck with this localization issue.
I am using html:file tag. I am not able to localize
the text of the Browse button.
Does any one know how to solve this problem.
Please help.
Thanks
__
Do You Yahoo!?
Tired of spam? Yahoo!
Thanks
--- Leandro Melo [EMAIL PROTECTED] wrote:
I think this problem goes right at the same point as
the 100 last messages of the list... :-), the ones
about a image button replacing the browse button.
--- struts lover [EMAIL PROTECTED] escreveu:
Hello Everyone,
I am stuck
: struts lover [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 10:32 AM
To: [EMAIL PROTECTED]
Subject: Browse button localization -- IMPORTANT
Hello Everyone,
I am stuck with this localization issue.
I am using html:file tag. I am not able to
localize
the text
Yes, can you please share with everyone. :)
--- Ed Yu [EMAIL PROTECTED] wrote:
Please, can you share how you get this working?
^^
Ed Yu, Senior Solutions Architect (IBM Certified AIX
Administrator),
Advanced Solutions
Hi,
I have done the same thing. I have an arraylist of
formfile objects. I keep it in session. If you dont
want to keep it in session, you might keep it in some
temp folder on the server. But I would suggest to keep
in the session, and after you complete your
transaction, clean up the session. You
Check this link.
http://husted.com/struts/tips/016.html
--- Amit Kumar Sharma [EMAIL PROTECTED]
wrote:
Check the type for it.
Java.lang.Boolean
It should work.
Warm regards
Amit
-Original Message-
From: jacob skariah [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 21, 2004
in Advance
Regards
manoj
--- struts lover [EMAIL PROTECTED] wrote:
Check your properties file.
--- jacob skariah [EMAIL PROTECTED] wrote:
Hi,
I am having problem while displaying my
Action
Errors on the jsp pages. The problem is two
null
messages
My implementation is slightly different. I created an
object of FileData with fields like formfile,filename
etc. When you first paint the jsp, your action class
would create a FileData object and put it into the
arraylist defined in your action form.
I have a button called ADD ANOTHER FILE. When
entry.
It's the modular approach known to console-based and
gui based
applications. My question is: how does this
translate in struts? Does
it?
Stuart
On Fri, 2004-08-20 at 15:06, struts lover wrote:
You can have a variable called action in your
action
form. You can set
Hi ,
You can validate using LookupDispatchAction class. The
validation.xml will take care of it. Also if you want
to do other business side validations, you can do it
in your methods in the action class.
--- Susan Bradeen [EMAIL PROTECTED] wrote:
Sebastian Ho [EMAIL PROTECTED] wrote on
Check your properties file.
--- jacob skariah [EMAIL PROTECTED] wrote:
Hi,
I am having problem while displaying my Action
Errors on the jsp pages. The problem is two null
messages are displayed in the begining and end of
the
action error messages displayed on the jsps.
example :
Use the
jsp:useBean id=theBean class=my.theBean
scope=session/
Then use
c:out value=${theBean.text}/
--- Frers Michael [EMAIL PROTECTED] wrote:
Hello
can someone explain me how i should use the c:out
tag in my situation:
i have a bean theBean with a getter
getText(String
Extend your action class from
ValidatorLookupdispatchAction class by Brandon
Goodin.
___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
The suggestion is good. But you might run into
localization problems. The better approach is to
extend the ValidatorLookupDispatchAction class by
Brandon Goodin which extends the
LookupDispatchAction. The buttons get their label
texts from the properties files.
If you are not thinking of
-Original Message-
From: Robert Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 12:25 PM
To: [EMAIL PROTECTED]
Subject: Conditionally Validating an Entire Form
Based Upon the
buttonpressed
I have a form which has a save (html:submit ...)
and continue
the
SetCharacterEncoding
Filter? (Look in the Tomcat WebApps examples.war)
Inquiring minds want to know this stuff :-)
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:48 PM
To: [EMAIL PROTECTED]
Subject: internationalization problem
Hi,
I
keep the form in the session. When you click the
submit button, the changes get committed to the
database.
--- Jignesh Kapadia [EMAIL PROTECTED]
wrote:
Anuj,
Thanks for you reply. But My concern is as
follows.
e.g.
I display these records with checkbox on my JSP as
If the login is successful, keep the user object in
the session. In every action class, you can check
whether the user object/user exists in the session or
not. If not, redirect to login.jsp.
Maybe you can have the check in some super action
class so that you dont have to repeat the code in each
Try using the attribute/formAttribute in the action
mapping. I think it should work.
--- Sebastian Ho [EMAIL PROTECTED] wrote:
Thanks Susan.
Refer to my comments below
Sebastian Ho
On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote:
Sebastian Ho [EMAIL PROTECTED] wrote
on
You can have a variable called action in your action
form. You can set that variable as view or edit. Now
for the first time, the action can be view. You lookup
for the customer. If you find, you display. If you
dont find, (check this with some c:if tag ) you
display a text field and a ADD
56 matches
Mail list logo