>Before do I need to write Frameset tag? Ratnakar
>
Obiously yes. Remember that almost every HTML Struts tag (and this is the
case) is transformed into a real HTML tag. So this will be transformed
into "" tag that must be contained inside a "" tag.
Ciao
Antonio Petrelli
---
Hi All,
How do I do client side validation(using struts) in jsf+struts
integrated application which uses jsf-struts libary provided by
CraigMc. ?
Thanks & Regards,
Kumar.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
I would like to applaud the approach Ken Fitzpatrick has used in his
ImageButtonBeanManager program, viz. creating an extension to Struts
rather than attempting to get this code into the framework. This is
good, I think, for struts. I don't care for the solution myself. Other
will, I am sure
Did you put in your jsp ?
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:40 AM
To: [EMAIL PROTECTED]
Subject: Why My Validation Lets All Errors Pass Through?
I intentionally left every single field blank and
radio buttons not selected
O. Oke wrote the following on 9/23/2004 5:47 PM:
Background
==
I have a class that extends the new
MappingDispatchAction
class
. This class has two methods, namely getCustomer and
updateCustomer.
The corresponding mapping for each method are below:
type="com.fujimitsu.cargo.ge
Zoran Avtarovski wrote:
I'm trying to find some detailed information on how to use the file size
limits using the struts MultipartRequestHandler. In the past I have used a
custom servlet, but I thought it was time to bring this into the struts
world.
Before anybody says anything, I tried to search
Carlos,
This solution just adds weight (ImageButtonBean) on top of
(DispatchAction) and combines what are the same solutions really. I
would suggest you look at what might be improvements to this sort of
suggestion at
http://wiki.apache.org/struts/StrutsCatalogFiveMultipleButtonSolutions .
Am
Hi. I'm tryin' to add this Strust extension to my project and from the documentation I
understand that what I need to do is create my Action Flow using the
SubmitButtonForwardDispatchAction, but after coding my Action Form and Action classes
and setting up struts-config.xml I keep getting this e
What about putting the object PageBeans, which is
actually a Collection, in an application scope. When
the object is no longer in use, code:
getComputer().getPlug().pull();
Do you think this approach is going to work?
--- Jeff Beal <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
> > Q1. How co
Yup! I like it.
Thanks
Wiebe
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:53 PM
To: Struts Users Mailing List
Subject: RE: Struts Action as Welcome File
Wiebe,
If you want any directly-web-accessible JSP to display a tile,
Philippe,
I was looking up something under bugzilla last night and noticed a note
about Struts v1.1 and Tiles possibly taking up significant memory if a HUGE
number of tiles were defined. Is this something you have setup? Perhaps
this bug report fits your situation:
http://issues.apache.org/bug
Thanks Michael,
But I was under the impression that the Struts Uploader was just an
implementation of the commons uploader. I remember reading somewhere that
the two are the one and the same.
Either way, any help would be appreciated.
Zoran
> Zoran Avtarovski wrote:
>
>> I'm trying to find som
Wiebe,
If you want any directly-web-accessible JSP to display a tile, you can do
that. Directions are in the TilesAdvancedFeatures.pdf:
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
I often make my index.jsp (my web.xml's welcome-file) with code like this:
<%@ taglib uri="/tags/st
I am not sure what you have in mind at this point. Do you still want to
go on with MappingDispatchAction?
Michael McGrady
O. Oke wrote:
Thanks for your response, I have rephrased my question
as below:
Please help!
Background
==
I have a class that extends the new
MappingDispatchAction
cl
Before do I need to write Frameset tag? Ratnakar
[EMAIL PROTECTED] wrote:Did you try using the "forward" attribute?
Try making a tile definition in your tiles-defs.xml for each of your
frames (attention, not each for your frameset, but every little frame you
have in your pages) and then:
Ciao
An
Hi all,
Our team is making some design decisions about a site and we are looking
at implementing the struts module switch action as opposed to the way we
have done in the past. That being /{modulename}/{actioncall} when we
want to switch modules.
Am i clear enough?
Any thoughts and suggestions?
Thanks for your response, I have rephrased my question
as below:
Please help!
Background
==
I have a class that extends the new
MappingDispatchAction
class
. This class has two methods, namely getCustomer and
updateCustomer.
The corresponding mapping for each method are below:
My jsp works great in my development IDE.
page:
template:
It iterates over the add options in the list and writes them to the page.
However in Tomcat 4 and 5 it fails with
org.apache.jasper.JasperException: Unable to co
[CODE]
[/CODE]
Here is your problem, you need
validate="true"
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I intentionally left every single field blank and
radio buttons not selected, and then submit the form
with validation check. All the errors pass through
the validation check and the next page gets displayed.
I have commons-validator.jar (6/29/2003) in the
AppName/WEB-INF/lib directory. And I ha
Also to the list of suggestions..
On 23 Sep 2004, at 23:02, Matt Bathje wrote:
I'm not entirely sure what you mean...but since my entire site uses
tiles (other than this index.jsp page) I would have to say yes...
Matt
Wiebe de Jong wrote:
Would that work with Tiles?
Wiebe
-Original Message
I'm not entirely sure what you mean...but since my entire site uses
tiles (other than this index.jsp page) I would have to say yes...
Matt
Wiebe de Jong wrote:
Would that work with Tiles?
Wiebe
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23,
Would that work with Tiles?
Wiebe
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 1:51 PM
To: Struts Users Mailing List
Subject: Re: Struts Action as Welcome File
If search engine placement is a concern for your app, the home page
redir
I have a struts app consisting of a templated page (acctually just changed
it to use tiles) with five content jsp's contributing to the whole page.
One of the jsp's displaying transaction detail is the most frequently
updated (from the database). The app runs in WebSphere 5.1.
I am stuck with IE
If search engine placement is a concern for your app, the home page
redirect may be a bad idea. We used this instead:
(in index.jsp):
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
(in struts-config):
Matt
Mulligan, Scott H wrote:
That worked. I was hoping for a more elegant solution,
That worked. I was hoping for a more elegant solution, but it'll do.
Thanks!
Scott Mulligan
-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:23 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Action as Welcome File
Just hav
Just have your web.xml point to a jsp. I call mine index.jsp, but you can
use whatever.
/index.jsp
The jsp contents would be:
Wiebe
-Original Message-
From: Mulligan, Scott H [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 12:37 PM
To: Struts Users Mailing
I setup index.jsp as my welcome file (in web.xml) and then just have
index.jsp forward to the Action of my choice.
On Thu, 23 Sep 2004 15:36:42 -0400, Mulligan, Scott H
<[EMAIL PROTECTED]> wrote:
> I am trying to set my application's welcome file to a struts dispatch action
> (login.do?method=loa
On Thu, 23 Sep 2004 15:31:47 -0400, Sean Schofield
<[EMAIL PROTECTED]> wrote:
> Of course if you have millions of users that
> might be another story.
Millions of users, each of whom have an active session. Otherwise,
who cares how many rows are in the database? Certainly not struts.
-
I believe you can only do this since version 2.4 of servlet specification.
Niall
- Original Message -
From: "Mulligan, Scott H" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 8:36 PM
Subject: Struts Action as Welcome File
> I a
I am trying to set my application's welcome file to a struts dispatch action
(login.do?method=load), but it isn't being found. Is there any reason I
can't use a dispatch action as my welcome page? Is there a better way to do
this?
Scott Mulligan
-
Sounds good. I don't think you need to worry too much about the
overhead of storing the user in the session though. It really shouldn't
be that much for the server to handle. You are most likely already
experiencing the overhead of maintaining a session (for forms with
session level scope,
Please help!
Background
==
I have a class that extends the new
MappingDispatchAction
class
. This class has two methods, namely getCustomer and
updateCustomer.
The corresponding mapping for each method are below:
Caroline Jen wrote:
Q1. How come I do not see validation warning messages?
I have prepared validation.xml and put it together
with the validator-rules.xml in the AppName/WEB-INF
directory. I have also prepared the warning messages
in the
AppName/WEB-INF/classes/resources/application.properties
If you would like a simpler, and more general, solution that does the
same thing, try
http://wiki.apache.org/struts/StrutsCatalogFiveMultipleButtonSolutions
. However, if you like MappingDispatchAction anyway, which I would find
odd but you may find even, you can do whatever you like, but you
Thanks for the information Sean, I just wanted to make sure I was
heading down the right road for Struts. There is also another school of
thought, and using a design pattern (I think it's a design pattern)
called Lazy Loading. In some cases, I might make another trip to the
database in order
Zoran Avtarovski wrote:
I'm trying to find some detailed information on how to use the file size
limits using the struts MultipartRequestHandler. In the past I have used a
custom servlet, but I thought it was time to bring this into the struts
world.
Before anybody says anything, I tried to search
Yeah, thank you for sheding light on the problem I
have. My code had worked fine until form validation
was added.
I was testing if validation worked. Therefore, I
intentionally left all text fields blank, menu not
selected, and submit the form. Apprarently, the
control returned to the 'content.
I tried your suggestion: 1. deleted the tag; and 2. use the tags. The
drop-down menu gets displayed without problem. But,
when I click on the Submit button to submit that form,
I still get the same error message 'cannot find bean
PageBeans in scope request'. PageBeans (plural) is a
Collection
Caroline Jen wrote:
The message is confusing because PageBeans (plural) is
a Collection of PageBean (singular). Upon successful
execution of a servlet, PageBeans (plural) is passed
in a request scope to help creating a drop down menu
in 'content.jsp'. And the 'content.jsp' with the
drop-down menu
I apologize, but I have no clue as to what you're trying to do. You
presented two mappings and said "what action do I use in my form"? I
just made a guess.
Maybe if you provide more information, someone (I or someone else)
could help you. What are you trying to do? What are the two mappings
fo
It is so stressful for having problems one after
another. And I do not have the ability to see the
causes of those problem on my own.
The error message that appears in the browser (runtime
problem, not compilation problem) is:
'[ServletException in:/frame/content/content.jsp]
Cannot find bean Pa
From: "Caroline Jen" <[EMAIL PROTECTED]>
> The error message that appears in the browser (runtime
> problem, not compilation problem) is:
> '[ServletException in:/frame/content/content.jsp]
> Cannot find bean PageBeans in scope request'
> Partial content.jsp code:
> scope="request" type="java.
Tom,
I would recommend storing the user information in the session (I use
POJO's) as you have suggested. Then you can access it from the session
to preopulate the form. Your approach sounds correct.
We're storing user information in the session on our project because its
constantly being used
It is so stressful for having problems one after
another. And I do not have the ability to see the
causes of those problem on my own.
The error message that appears in the browser (runtime
problem, not compilation problem) is:
'[ServletException in:/frame/content/content.jsp]
Cannot find bean Pa
Well, you never really specified what the specific problem you were
having was. Have you ever gotten any version of Struts working with
Tomcat before or this your first attempt?
If you never gotten any version of Struts to work before, then my guess
would be there is something wrong with how
Vic Cekvenich wrote:
This done a lot, and.. its done for you, built into Java, since
Servlet 2.2 spec I think:
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#getUserPrincipal()
It's done for you, you just use it, 0 code (0 bugs!)
To set up you do som
This done a lot, and.. its done for you, built into Java, since Servlet
2.2 spec I think:
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#getUserPrincipal()
It's done for you, you just use it, 0 code (0 bugs!)
To set up you do something like this:
jakar
One of the largest you can start clicking here:
http://erosennin.1up.com
It's friendster like site for gamers, fun to surf. (Fact: Sofware Game
industry is bigger than the Movie industry in USA)
It has 10MM members, 5 magazines, 100+ "pages", a few hundred dynamic
tiles, 1 terabyte DB. When a us
I did some research before this before posting, and I apologize if this
is a simple stupid question.
With my web-site, a user is going to login, when they enter in the
username and password, the data from that user will be retrieved from
the database so we can validate the username and password
If it is "/updateCustomer", it means I will have to a
separate jsp for each mapping. This will defeat the
purpose of using MappingDispatchAction. It seems to
me that your suggestion is only applicable to
subclasses of Action, not MappingDispatchAction .
I am asking because I am using MappingDis
Does the problem I'm having look familiar to you? What other web-apps
are running under Tomcat 4.1 in your configuration?
If you can get it running that gives me hope.
On Thu, 23 Sep 2004 11:00:21 -0400, Sean Schofield
<[EMAIL PROTECTED]> wrote:
> FYI: I was able to run both 1.2.2. and 1.2.4 o
Hi all,
I saw some topics on it in this list, but nothing about Weblogic. I'm
experiencing an important performance issue with Tiles under Weblogic 6.1
(struts 1.1). Does anybody know something about it ?
Thanks a lot.
Philippe
--
FYI: I was able to run both 1.2.2. and 1.2.4 on Tomcat 4.1 with no
problems. I'd take Jame's advice though and upgrade to 1.2.4 just to be
safe.
sean
James Mitchell wrote:
There were several issues with the 1.2.2 build. Please try it with 1.2.4
--
James Mitchell
Software Engineer / Open Sour
There were several issues with the 1.2.2 build. Please try it with 1.2.4
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "CCNY" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sen
All
I think I've got a problem. Can anyone tell me definitively if Struts
1.2.2 uses a version of the Servlet or JSP Spec that could make it
incompatible with Tomcat 4.1?
Is anyone currently using these two together?
-
To unsubs
1. The action attribute of the form tag should point to the action
that will process the form upon submission. In your case, it looks
like it would be "/updateCustomer", but I'm just guessing.
2. I usually just put or "Save" or
something similar there because I usually have only one submit butt
I'm still constrained to 1.0.2, so I
can confirm that manifest.mf contains the implementation version.
Dennis
Hubert Rabago <[EMAIL PROTECTED]>
09/23/2004 10:25 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
Struts Users Mailing List
<[EMAIL PROTECTED]>, CC
Please help!
I have a class that extends MappingDispatchAction
class
. This class has, they are below:
My question:
1. In my JSP, what what should be the value of the
action attribute of html:form
i.e. (i.e. which
map
You can check the version number in the manifest.mf of the struts.jar.
Take note, though, that the 1.2.1 distribution had "1.2.0" in the manifest.
Also, I don't know if the 1.0x jars had this information, but the 1.1 jar did.
Hubert
On Thu, 23 Sep 2004 10:19:58 -0400, CCNY <[EMAIL PROTECTED]> wro
How do I figure out which version of Struts a given distribution is?
Is there an easy way?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello CCNY,
it should be part of the APP.
***
C> Where, Ideally should the struts.jar live? Is it apart of the APP or
C> the container?
C> On Thu, 23 Sep 2004 19:27:20 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote:
>> Check struts
What is the best way to test Struts actions within Maven?
My Business logic is tested via Maven's JUnit plugin. Now I need to
test the Struct actions, i.e. verify request and session attributes are set.
Paul Spencer
-
To unsubsc
You can use an tag as well:
select
Niall
- Original Message -
From: "andy wix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 2:19 PM
Subject: best practice
> Hi,
>
> I am wondering if there is a neat way to overcome a typical
Ryan Dillon wrote:
Hi
Why is there no javascript for double and long validations in the validator?
Obviously i could use float or int, but i really want double and long!
I am sure there is a good reason for it, but just cant seem to find it.
Thanks
Ryan
Ryan - this is a question for the Valid
I do see another version of struts.jar. I've renamed it, but the error
is still there. Also, the jar is being used by the "admin" app. It's
location is
C:\Program Files\Apache Group\Tomcat 4.1\server\webapps\admin\WEB-INF\lib
ugh. help
On Thu, 23 Sep 2004 19:27:20 +0530, Kailash Vasani <[EMAIL
Hi, take a look at:
http://struts.apache.org/userGuide/installation.html
the " Install A Struts Binary Distribution" bit is what you are looking
for.
Hth,
Geeta
-Original Message-
From: CCNY [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:55 AM
To: Struts Users Mailing L
Where, Ideally should the struts.jar live? Is it apart of the APP or
the container?
On Thu, 23 Sep 2004 19:27:20 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote:
> Check struts version on both the servers. It seems that they are different.
>
> -Original Message-
> From: CCNY [mailto:[EMA
Check struts version on both the servers. It seems that they are different.
-Original Message-
From: CCNY [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 7:21 PM
To: Struts Users Mailing List
Subject: Error Deploying
Hi all
I'm deploying on Tomcat 4.1, but I developed on To
Hi all
I'm deploying on Tomcat 4.1, but I developed on Tomcat 5.0.28 I think
that shouldnt matter. I get the following error. what am I doing
wrong?
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
Does the code shown below close to what you are
looking for?
-Select-
-Caroline
--- andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am wondering if there is a neat way to overcome a
> typical problem when
> offering a drop-down menu to a user. It is common
> to hav
Hi,
I am wondering if there is a neat way to overcome a typical problem when
offering a drop-down menu to a user. It is common to have a default option
called say 'select'. The drop down objects in my case are an arraylist
which are the result of a trip to the db.
So far, my contrived solutio
Hi Zoran, not directly helpful, but here's a link which will enable you
to search the archives:
http://marc.theaimsgroup.com/?l=struts-user
Geeta
-Original Message-
From: Zoran Avtarovski [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 9:12 AM
To: Struts Users Mailing List
I'm trying to find some detailed information on how to use the file size
limits using the struts MultipartRequestHandler. In the past I have used a
custom servlet, but I thought it was time to bring this into the struts
world.
Before anybody says anything, I tried to search the list archive but it
Thanks for the correction. I want be so kludgy with spelling in the
future.
"Durham David R
Jr Contr 805
To my knowledge the html:base tag is to help resolve images and other
media. If you use the app context to resolve your images and things
then there should be no issue.
or
The other alternative is to use encoded urls but then you need a filter
or other mechanism to remove the sessionid as th
Hello All,
I have defined two formsets in my validation.xml file. One is the default
and the other one is for the country PK & language en. I have defined
validations for FormSelectCountry in the default formset (and its not
redefined in the other formset). Now whenever in my application the
Craig McClanahan wrote:
For all people who have either invites to give, or want an invite you can go to:
http://isnoop.net/gmailomatic.php
Here you can give away your invites, and receive an invite.
Indeed, it is my belief that GMail invites are too off topic for even
a [FRIDAY] or [OT] label
Hi,
I don't understand one simple thing with - when I had
read about Struts and JSTL help for them, I saw that it helps to hide
implementation, so why I got such output:
http://localhost:8180/struts_test/pages/Welcome.jsp";>
form page which was called from browser as:
http://localhost:8180/struts_
Can any body guide me how to rewrite URL with JSP and tomcat as it is
possible with mode_rewrite with apache?
Take care
Amit Gupta
Mobile:9891062552
Email: [EMAIL PROTECTED]
- Original Message -
From: "Václavík Radek" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]
80 matches
Mail list logo