Paste your struts.xml. Seems you are missing some information in struts.xml
Amin Mohd Sani wrote:
Anyone using eclipse and jboss with struts?
I'm getting this error as below :
12:30:48,329 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service()
for ser
vlet jsp threw exception
javax.servl
Anyone using eclipse and jboss with struts?
I'm getting this error as below :
12:30:48,329 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service()
for ser
vlet jsp threw exception
javax.servlet.jsp.JspException: Cannot retrieve mapping for action
/submit
at
org.apache.struts.taglib.ht
You could also think about using multiple struts-config files... say one for
each module and use them (in the web.xml for action param-value give the
comma separated config file list.)
Nitesh
- Original Message -
From: "John Henry Xu" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 17, 2
Hi Jack,
You can split the struts-config module wise so that it is easy
to handle. If you are having multiple struts config you should mention
that as comma separated values in you web.xml.
Eg:
/WEB-INF/struts-config/common-config.xml,/WEB-INF/struts-config/A.xml,
/WEB-INF/struts-config/B
Is that possible, seperate the actions into modules and use the modules
struts-config?
- Original Message -
From: "John Henry Xu" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 17, 2005 12:04 PM
Subject: long struts-config.xml file
Hi all,
In a project I am working on, we have a very l
Did you try using the expression tags... that may work. (you may need to
change the methods to the right ones...)
onclick='setBusquedaProveedor("<%= lista.getIdProveedor() %>","<%=
lista.getStrRazonSocial() %>")'
property='idProveedor' value='idProveedor' />
The would not work in html:radio
depends on what version of struts u're working on.
(i have never worked with 200 or so actions). :)
1) i reduced the number of actions using wildcards in action mapping,
and a couple of hidden parameters that i pass to actions. kind of
genericised the actions.
2) use "extends" where possibl
Hi all,
In a project I am working on, we have a very lengthy struts-config.xml
file to handle complex actions jsps (200+) take.
Does anyone have this situation (very complex struts-config.xml)? Please
tell me about your experience.
Also, anyone see a blog or forum written by struts technology? I
My mistake, the plumbing is in the DTD to do this (i.e. a className for a
custom MessageResourcesConfig and the element) but the
digester rules always create the standard MessageResourcesConfig and ignore
any custom implementations specified in the className.
However, even if that was fixed - the
Thanks Niall. If I were to use elements, do you have any
idea how I would retrieve those properties within the factory?
Thanks,
David
"Niall Pemberton" <[EMAIL PROTECTED]> wrote on 06/16/2005
04:03:36 PM:
> You need to configure your message resources through the
struts-config.xml -
> init p
David,
I don't have any exceptionally long files. I remember
Rick Reumann saying on this list too that he dumped
SiteMesh in favor of Tiles because of the buffering
problem. I never heard of anyone running
Tiles/SiteMesh together, although it is feasible.
Maybe I will just stick to creating tile
Michael:
check out
http://www.manfred-wolff.de/struts/articles/HowTo-Back.html for handling
BackButtonAction
If that does'nt work check out overriding reset() method in ActionForm take
a look at
http://www.laliluna.de/struts-hibernate-integration-tutorial-en.html
HTH,
Martin-
- Original Mes
I was just reading my TSS letter (The Server Side.com) and noticed an
announcement about Struts-Layout having a new release (v1.1) earlier this
month. Is anyone using it or Struts-Layout? I looked at it some time ago
and it seemed to me as if must have inspired the page layout features of
Java Se
+1.
> From: Dave Newton [mailto:[EMAIL PROTECTED]
>
> Is anybody else getting a lot of message duplicates
> this evening? We're having email server strangeness
> so I'm not sure if it's me or... uh... not me.
-
To unsubscribe
Dear Ramadi,
I would recommend using SiteMesh (it's a filter) while you continue using
Struts & Tiles.
If you have any exceptionally large pages you wish to display (i.e. pages
and pages and pages of content) you might want to watch out for String
buffer issues. Why? SiteMesh receives a complet
Is anybody else getting a lot of message duplicates this evening? We're
having email server strangeness so I'm not sure if it's me or... uh...
not me.
Dave
Michael Jouravlev wrote:
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
Even quicker would be to check if you have the first requ
On 6/16/05, Max Cooper <[EMAIL PROTECTED]> wrote:
> I think this is a weird requirement, and it may be worth re-evaluating
> why you want to know this (are you fighting the technology, or
> leveraging it?).
I can explain but remember, that you asked it first ;) It will take some time :)
The point
Wendy,
I need to put up some files that are long documents.
They won't change much, but are needed for the user.
Such are messages from the organization's president,
information about rules, legal info, etc. The
information will rarely change, but I need two
questions answered:
1) Is it the right
I found the answer I was looking for. The solution is to set the "factory"
attribute of the "message-resource" element in struts-config, like so:
> I have a project where I want to use the Struts Validator. By default
the
> error messages are read from a properties file. However I'm req
You need to configure your message resources through the struts-config.xml -
init parameters in the web.xml don't work in Struts 1.2
http://struts.apache.org/userGuide/configuration.html#resources_config
So in your case you need something like the following in your
struts-config.xml
You ca
I think this is a weird requirement, and it may be worth re-evaluating
why you want to know this (are you fighting the technology, or
leveraging it?). But here are two tips that might help if you decide
that you really need to know:
1. request.getPathInfo() -- the jsessionid might be a "pathInfo"
The only information I can give you is that this still fails in WebLogic
8.1. I noticed it quite a while ago.
> -Original Message-
> From: Alexander Krumeich [mailto:[EMAIL PROTECTED]
>
> Dear List,
>
> slightly off-topic post, but I thought that maybe someone
> here can give me a hin
From: "Ramadi Pearse" <[EMAIL PROTECTED]>
> Does anyone have best practices on how to compose or
> decorate stand-alone static content? It seems overkill
> to have to modify tile-defs.xml for each new static
> page I want to add to the website.
I see you asked a similar question that got no respon
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Even quicker would be to check if you have the first request that
> establishes the session, and then put some token in the form or
> querystring, to mimic the JSESSIONID. Then you can just check
> for your token.
Yes, I guess I can do that.
> I
Does anyone have best practices on how to compose or
decorate stand-alone static content? It seems overkill
to have to modify tile-defs.xml for each new static
page I want to add to the website. Is SSI or SiteMesh
more appropriate here? By the way, this is to
complement a web app which already uses
I have a project where I want to use the Struts Validator. By default the
error messages are read from a properties file. However I'm required to
read the error messages from a database. The question is how do I do this?
I found this article
http://www.informit.com/articles/article.asp?p=101174
I am using BeanUtils.setProperty and
BeanUtils.getProperty for setting the values and
retrieving values from my formbean.It works fine for
a property of type String .In case I have a VO
(valueObject ) as a property in my formbean ,
getProperty method from BeanUtils returns a string
rep
On 16/06/05 17:13 Adam Hardy wrote:
It seems to be hard-coded behaviour that you can't do anything about
unless you want to write some javascript to check the URL and put a
token in the query string for the next request.
Stupid me.
Even quicker would be to check if you have the first reque
Dear list,
I've been fighting this problem for some time now, and can't come up
with a solution. Please advice.
In my jsp page I'm iterating an array of Category objects which resides
in the request scope. This is done with the logic:iterate tag like this:
Each Category-object contains a Mess
To add to your original solution: write your own subclass of
ActionConfig which overrides getParameter() to return the tiles-needed
part of the parameter attribute. Additional methods will let you
retrieve other parts. This way, your Action doesn't have to know
about parsing; it can pull clean v
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> It seems to be hard-coded behaviour that you can't do anything about
> unless you want to write some javascript to check the URL and put a
> token in the query string for the next request.
Nah, I cannot rely on Javascript. I guess I should drop t
On 16/06/05 15:37 Michael Jouravlev wrote:
When both methods return true, they identify the first request after
session has been established with browser which supports cookies. I
try to keep GET requests clean to encourage browser to keep its page
history from growing. When I detect this request
Thank u very much for all ur help...
Zarar: the same thing, it takes as String value
In my code:
In the source code(runtime):
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Shot in the dark, try this:
- Original Message -
From: "Rafael Taboada" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, June 16, 2005 10:18 AM
Subject: Re: Pass parameter to javascript function
Finally I found a desesperated solution :'(
But what happend with
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> It's not stupid, it returns a boolean informing you where the
> session.getId() gets its info from. Makes sense to me.
Makes sense to me too, but I also want to know is there session ID in
the URL. Any advice how to find this out?
> Although you
Finally I found a desesperated solution :'(
But what happend with html:radio??? Why doesn't work if I use html:radio
instead of input type='radio'
Please... Could u share ur xperiencie in this kind of problem???
Thanks
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo
Hi, it doesn't work. I saw the source and it takes ${idProveedor} as a
String
If u see value="1" The query and getting data work fine... But passing
parameter to a javascript function doesn't work why???
My entire code is:
Valor de idProveedor: ${contador}
What's wrong
Using my action link is probably
better. This way you wont' have to worry about the context path of your
application. might not work since the action is
preceded by the context path. You would have to do something like:
to achieve this.
Using takes care of that.
Zarar Siddiqi
- O
Hi Janek
I'm new to tiles, but, as far as I'm concerned, the 'flush' attriubte, makes
that the result of the page, component, definition or whatever you be
inserting, by 'insert tag' will be displayed one by one when setted to true.
Suppose you have:
Suppose firstPage.jsp, just print 'Powered
http://struts.apache.org/userGuide/struts-tiles.html#insert
I 've read here about 'flush' attribute. What does it exactly do and what
is the
practical difference between setting it to false or true?
--
Pozdrawiam, Janek Ziniewicz
gg:902858
irc.freenode.net: #gore, #dub
---
On 16/06/05 05:51 Michael Jouravlev wrote:
Was celebrating too early. Does not work. Here what happens. * Very
first request to the app. Session is created on server. * Application
redirects to whatever location, server sets cookie with jsessionid in
the response, and at the same time adds jsessi
it wasnt a silly question, request scope at the moment but I am no changing
to session after your advice because the amount of code I am having to do is
daft!
Original Message Follows
From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: 'Stru
Silly question, but it probably needs asking; What scope are you giving this
form? I assume it is request.
I know it is unfashionable, but giving the form a scope of session will
persist this HashMap for you (unless you reset it).
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
---
My ActionForm has a HashMap which backs its values.
Before I enter JSP 1 I populate the HashMap with values which are then
displayed on the page.
I then submit the form to an Action which processes the values submitted and
then forwards on to a JSP.
The problem is that the HashMap has l
Make sure you have a value for the key mantenimiento.grupos.codigo.grupo in
the ApplicationResources.properties
HTH
Nitesh
- Original Message -
From: "Guillen Lasa" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 2:39 PM
Subject: Validation error "null is required"
I have def
Dear List,
slightly off-topic post, but I thought that maybe someone here can
give me a hint to the solution of the following problem:
I'm trying to precompile my app's JSP pages with Weblogics's jspc.
Works fine for JSPs without Struts support. As soon as I try to
compile a page that uses the St
It is defined, in local enviroment works but on other server with the
same struts.jar doesn´t work
2005/6/16, Nitesh <[EMAIL PROTECTED]>:
> Make sure you have a value for the key mantenimiento.grupos.codigo.grupo in
> the ApplicationResources.properties
>
> HTH
> Nitesh
>
> - Original Messag
I have defined a validation in the following way
When the validation returns an error it shows it in the following way:
"null is required"
Any suggestions
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hope you are getting the values (see the source on your page and find out)
The reason JavaScript doesn't work is that the value of idProveedor is a
string which is not declared. So it should work if you give the same within
quotes.
Try...
or
HTH
Nitesh
- Original Message -
From: "
your message size has to be more than 512 bytes otherwise
the default IE 404 page will be used - if I remember correctly.
On 6/16/05, McDonnell, Colm (MLIM) <[EMAIL PROTECTED]> wrote:
> Use the optional element defined in web.xml, this allows
> you to map an error code _or_ exception type to the
Use the optional element defined in web.xml, this allows
you to map an error code _or_ exception type to the path of a resource
in the Web application (e.g. a custom page).
error-code: The http error code e.g. 404
exception-type: fqcn of a Java exception type
location: the location of the resourc
Or use an AJAX piece of functionality instead of hidden frames.
-Original Message-
From: Nitesh [mailto:[EMAIL PROTECTED]
Sent: 16 June 2005 06:18
To: Struts Users Mailing List; Richard Reyes
Subject: Re: [OT] Validating email addresses
Richard,
JavaScript validations are majorly done o
52 matches
Mail list logo