Hello Guys,
I am trying to deploy my struts webapp on an iPlanet 6 server with
SP5. I have this error eight now
12] failure (19732):Internal error: servlet service function had
thrown ServletException (uri=/index.jsp):
javax.servlet.ServletException, stack: javax.servlet.ServletException
I'll start with the first five :)
http://www.google.com.pk/search?q=servlet+filter&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
ATTA
On 5/24/05, Janek Ziniewicz <[EMAIL PROTECTED]> wrote:
> Thank you Michael, that link really helped me
> I have a JSP like this:
>
> -
>
>
>
>
> value="#{sizeTableHandler.currentconfig}" required="true"
> size="10">
>
> server="false" client="true" />
>
>
>
>
>
>
name="absContent" filter="false" />
this works locally but not when deployed on public domain, would it be a
network issue?
jsp:include works fine everywhere
Please let me know if anyone has encountered it.
since we used bean:include from the begining, could easily replace with
jsp:include
bu
If you really need to keep it in the presentation layer, use something
like OpenSymphony's cache tag so that you are not making the external
call and parsing every single time the page is hit.
http://www.opensymphony.com/oscache/
hth,
Greg
On 5/24/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> B
Thank you Michael, that link really helped me.
I have one more question. Wendy Smoak mentioned using Filter(s). Could
you drop me some links describing what filters are? I 'd like to read
something about it.
On 5/24/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> This may help you: http://wik
You won't believe this, Rick, but they actually make these things hard
to find on purpose. Check the archives if you think I am kidding.
On 5/24/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> I don't want to subscribe right now to the dev list again, but if
> someone on the dev team sees this, cou
Okay, Laurie. I did miss that you were somehow setting it up so that
clients could actually modify your JSP pages directly. That surprises
me and I missed it. Good for Dave, he caught that. I still don't see
where you said that, but if that is the project, then I certainly have
no more to say a
Sorry, Laurie, but if you are going to define your own meanings for
"request" and so on, then I just don't have time to learn how you are
speaking, even if what you said was enticing. I am not saying you are
wrong, just that I would prefer to use terms in a standard way to
avoid having to learn id
Brian-
The problem is that you are receiving data based upon event information
triggered outside of the webapp environment so I dont see
Struts as being able to handle those types of external events..maybe JSF is
a better way to handle this but thats a different situation altogether-
I did find
Yahzz-
out of curiosity what is the output of
String doParam = config.getInitParameter("url-pattern");
System.out.println(doParam);
??
M-
- Original Message -
From: Yahzz Yan
To: Martin Gainty ; Struts Users Mailing List
Sent: Tuesday, May 24, 2005 4:35 PM
Subject: Re: C
Just modified CactusStrutsTestCase from the suggestions, problem still.
Martin Gainty <[EMAIL PROTECTED]> wrote:This is a kluge but did you consider
trapping it the parameter from
ServletTestCase
String doParam = config.getInitParameter("url-pattern");
then later setting the correct url-patte
See http://struts.apache.org/faqs/struts-el.html. It includes a list
of Struts tags whose functionality is covered by the JSTL.
On 5/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks! That worked, and is also much easier to understand.
>
> This is probably a newbie question: How /
I'd like to avoid js if possible. Client can turn that off.
-Any other ideas?
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 3:38 PM
To: Brian McGovern
Cc: Struts Users Mailing List
Subject: Re: JSTL Rss Reading
Brian
did you look at frank
Brian
did you look at frank zammetti's xhrstruts (Browser independent RSS feed
implementation using JavaScript) ?
http://www.omnytex.com/articles/xhrstruts/
Martin-
- Original Message -
From: "Brian McGovern" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 24,
ok, struts 1.1 using validator -- standard setup
does anyone have an example of how to validate select elements using client
side & server side?
thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Thanks! That worked, and is also much easier to understand.
This is probably a newbie question: How / when does one choose between
using JSTL / Struts Tags?
Is there any reason to choose Struts tags over JSTL?
Thanks,
PS
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
S
This is a kluge but did you consider trapping it the parameter from
ServletTestCase
String doParam = config.getInitParameter("url-pattern");
then later setting the correct url-pattern
doParam = "*.do"
config.setInitParameter(doParam);
Martin-
- Original Message -
From: "Yahzz Yan"
I think you have the right place. I believe that they have suggested that the
subject be prefixed with [Shale].
> Exist any Shale Forum?
>
> --
> Mariano G. Petrakovsky
> Programmer · Software Factory
> AXG Tecnonexo - www.tecnonexo.com
>
> Development facilities:Av. Maipú 1252 8º (C1006AC
Nope, Dave nailed it. Re-read the requirement I described. The point is
to avoid using actions to load the data and pass it to the view. If you
re-read my description of what I mean by 'push' vs. 'pull' rather than
simply saying the terms mean something different it might help.
I think I'll dr
Hi,
I'm having a rough time with the issue of reading in rss feeds in my
presentation layer. My situation calls for the same feed to be shown on every
screen of a certain section. Problem is, it loads very slow. There are a
million ways to approach this and Im hoping to keep my logic on the
It doesn't help to say 'your terms do not have the meaning you've
defined them to have for purposes of this discuession' and conclude that
the following arguments are invalide. Re-read the requirement I stated
below. Your concluding comments do not in any way address it.
L.
Dakota Jack wrote:
Michael Jouravlev wrote:
You do realize, that JSP _is_ a part of app source code, do you? And
Err, well, yes... ;-)
the more you put into JSP, the more this supposedly dumb JSP page will
look like "real code"? If you ship without source code, you'd rather
precompile the JSPs.
That would mak
This may help you: http://wiki.apache.org/struts/StrutsRememberMeCookie
You can modify the action and go to directly to user page instead of
showing the "remember me" checkbox.
On 5/24/05, Jan Ziniewicz <[EMAIL PROTECTED]> wrote:
> I have problems with user logging in my application. Basically I w
That's an interesting approach, though I think a much more complicated
solution than I need. My objective isn't to allow clients to script
actions or otherwise modify their behaviour, but to make that
unnecessary. This approach would certainly allow one to provide much
more power if that were n
From: "Janek Ziniewicz" <[EMAIL PROTECTED]>
> I have problems with user logging in my application. Basically I want
> to have functionality same
> as on gmail.com -- if I have a proper cookie forward me to inbox
> omiting login page.
What kind of login page is this-- one you have created with Stru
When you have knowledge of the values for username, password then Insert
username,password as Session Variables
Then access the Session Variables later when needed
Dobrzy Szansa
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ; <[EMAIL PROTECTED]>
Typo...
> ... I currently use Tiles or have any dynamic ...
Should read
I currently don't use Tiles...
Aladin
> Paul,
>
> You are probably right. I currently use Tiles or have any dynamic
> inclusions. I guess this is an "I'll cross that bridge when I get to it"
> problem ;).
>
> Thanks
On Tue, May 24, 2005 1:01 pm, [EMAIL PROTECTED] said:
> I haven't tried it, but it appears to me that the cache headers will be
> inserted if *any* of the noCachePaths differs from the requested path.
D'oh! I think your right.
I actually want something more like this:
public void doFilter(Ser
Paul,
You are probably right. I currently use Tiles or have any dynamic
inclusions. I guess this is an "I'll cross that bridge when I get to it"
problem ;).
Thanks for the heads-up though.
Aladin
> Aladin,
>
> Good point, but I believe your solution has limited use. If you were to
> use
> Ti
That's a good point. :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Tue, May 24, 2005 1:00 pm, Aladin Alaily said:
> I actually prefer to have instead of the html attribute
> because html:html is restrictive. It doesn't allow me to a
Aladin,
Good point, but I believe your solution has limited use. If you were to use
Tiles or other dynamic inclusions, this would not be applied to the internal
pages.
Thanks,
Paul
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 1:01 PM
To: S
To do it conditionally, to the best of my knowledge, will require some
sort of scripting. You will either have to instead of using target call a
Javascript function that opens the window and sets the location
accordingly, or dynamically change the target attribute. The later might
be a little eas
I actually prefer to have instead of the html attribute
because html:html is restrictive. It doesn't allow me to add an xml
namespace to the html tag (xmlns="http://www.w3.org/1999/xhtml).
My solution is to have the following:
http://www.w3.org/1999/xhtml";>
...
Aladin
> Is it a comm
On Tue, May 24, 2005 12:18 pm, Marc Demlenne said:
> The only reason i want to avoid using explicite function call is to be
> more general and lcear and complete. My page contains more links than
> just a submit, and a general solution would be clearer...
Understood. You could always modify the t
Is it a common practice to have a static include at the top of every JSP
which contians ?
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 12:48 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Struts, xhtml & bad
Also note that adding the attribite:
xhtml="true"
...to the usual tag has the same effect. I don't know if one
is preferred over the other though... I'd personally go with the attribute
because to me it seems slightly more obvious, but I don't know if it
matters either way.
--
Frank W. Zammet
I haven't done this, but I think that you will want to set up an Action that
manually prints the response contents, where the execute method will return
null rather than an ActionForward reference. Then you should be able to set
your permanent cookie before you write your response body. Not sure
We are trying to use Cactus Struts testing framework to test our struts
application. When we run our suite of tests, we notice that that Cactus
corrupts the Struts configuration at runtime which causes the struts form
actions to point to an invalid url - which has .do in it whereas our
applicat
Thanks Frank. Do you know if it's possible to do something like that
conditionally? I have some controls on the form where I want the new browser
window to come up and others where I don't.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 9:
Ok thanks a lot. I have implemented my wait box nearly like this, in fact.
> Just before I submit any form, I call showPleaseWait(), which is a
> Javascript function in pleaseWait.inc, and it is basically just:
In fact the only thing I'd like to avoid is the necessity to call this
function each t
On 5/24/05, andy wix <[EMAIL PROTECTED]> wrote:
> I was hoping that I would then be able use the variable as in the following:
>
>
>
> but it doesn't work.
Is EL working in template text in other JSPs in the same context? Do
you have a servlet 2.4 web app descriptor? Please see question 1 here
From: "andy wix" <[EMAIL PROTECTED]>
> I am trying to set a string variable in page scope and thought the
following
> would work:
>
> I was hoping that I would then be able use the variable as in the
following:
>
> but it doesn't work.
> If I just use:
>
> the css attributes are seen as expecte
Exist any Shale Forum?
--
Mariano G. Petrakovsky
Programmer · Software Factory
AXG Tecnonexo - www.tecnonexo.com
Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
Argentina.
Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.
Headquarters: 1604 Spring Hill Road, Suite 160 Vienn
From: <[EMAIL PROTECTED]>
> The data structure I use is a HashMap, whose values are other HashMaps.
>
> I'm trying to nest two logic:iterate tags to print out the keys in the
> outer map and the values in the inner Map.
See http://wiki.wendysmoak.com/cgi-bin/wiki.pl?J
Hi,
I am trying to set a string variable in page scope and thought the following
would work:
I was hoping that I would then be able use the variable as in the following:
but it doesn't work.
If I just use:
the css attributes are seen as expected.
regards,
Andy
___
Hello All,
Found my answer... (posting here for the benefit of others)
To make the tags xhtml compliant, you have to add to your
pages.
Aladin
> Hi Christopher,
>
>> This is surely down to your IDE and not Struts.
>
> I don't think you understand the problem, because it is not related to an
Thanks Niall.
I got your message after I had already sent another to the list.
Aladin
> See the and tags to do this
>
> http://struts.apache.org/userGuide/struts-html.html#xhtml
> http://struts.apache.org/userGuide/struts-html.html#html
>
> Niall
>
> - Original Message -
> From: "Ala
Sure... simply add the attribute:
target="_new"
to your tag, and your all set.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Tue, May 24, 2005 11:27 am, Barnett, Brian W. said:
> Is it possible to open a new browser window to display
See the and tags to do this
http://struts.apache.org/userGuide/struts-html.html#xhtml
http://struts.apache.org/userGuide/struts-html.html#html
Niall
- Original Message -
From: "Aladin Alaily" <[EMAIL PROTECTED]>
Sent: Tuesday, May 24, 2005 4:12 PM
> Hello,
>
> Has anyone tried to ma
Is it possible to open a new browser window to display the results, i.e.,
the response, of a form being submitted? If you've done this, would you
please provide an example?
TIA,
Brian Barnett
This email may contain conf
I have problems with user logging in my application. Basically I want
to have functionality same
as on gmail.com -- if I have a proper cookie forward me to inbox
omiting login page.
I know how to play with cookies but struts part of the task is a problem for me.
--
Pozdrawiam,
Janek Ziniewicz
gg
Aladin
You are right, apologies. I agree, it would be nice to have.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 16:24
To: Struts Users Mailing List
Subject: RE: Struts, xhtml & bad tag synt
Thanks!
I wasn't typing the action path correctly
Jorge
Hubert Rabago escribió:
If it's returning null, make sure that (1) the request you're passing
for the same module, and (2) you typed your action path correctly.
The parameter should match the path of the action mapping you're
looking fo
I don't want to subscribe right now to the dev list again, but if
someone on the dev team sees this, could you create an easy to get to
link to find the struts-users mailing list subscription information. I
can't find it anywhere. Seems odd their is a link to list archives on
the site (which is
GOOD answer! Hope it is working for you now!
On 5/24/05, Jorge Chacón Souto <[EMAIL PROTECTED]> wrote:
> I changed it because the class ModuleUtils doesn't have a
> findActionConfig method:
>
> http://struts.apache.org/api/org/apache/struts/util/ModuleUtils.html
>
>
> Dakota Jack escribió:
>
http://www.ibiblio.org/maven/castor/
2005/5/24, temp temp <[EMAIL PROTECTED]>:
> I want to use castor for java and xml binding . I am
> not aware of where to download castor . I tried
> www.castor.orgbut the site was down I am trying
> it since last friday I was not sucessful . Can
> someb
Hi Christopher,
> This is surely down to your IDE and not Struts.
I don't think you understand the problem, because it is not related to an
IDE.
When you write:
The HTML code generated (when viewing the page in Explorer, Netscape,
Opera, or whatever) is:
Try it and see (do a view source in
I want to use castor for java and xml binding . I am
not aware of where to download castor . I tried
www.castor.orgbut the site was down I am trying
it since last friday I was not sucessful . Can
somebody guide me with this .
thanks & regards
I have problems with user logging in my application. Basically I want to
have functionality same as on gmail.com -- if I have a proper cookie
forward me to inbox omiting login page.
I know how to play with cookies but struts part of the task is a problem
for me
--
Pozdrawiam, Janek Ziniew
If it's returning null, make sure that (1) the request you're passing
for the same module, and (2) you typed your action path correctly.
The parameter should match the path of the action mapping you're
looking for:
...
ModuleUtils.getInstance().getModuleConfig(request).findA
This is surely down to your IDE and not Struts. Eclipse with MyEclispe will
create them XHTML compliant.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 16:13
To: Struts Users Mailing List
Cc:
Hello,
Has anyone tried to make the struts tags xhtml compliant? Here is what I
mean.
I have noticed that whenever an html component is generated using the html
tags (or any other tag from the libraries), they are usually not closed.
For example, when generating a form input field using:
the
A related question, so I thought I'll post it to this thread.
The data structure I use is a HashMap, whose values are other HashMaps.
Like so:
OuterMap
OuterKey1: InnerMap1
InnerKey11: Value11
InnerKey12: Value12
OuterKey2: InnerMap2
InnerKey21: Value21
The way I have done this is I have the following on all my pages:
<%@ include file="/inc/pleaseWait.inc" %>
pleaseWait.inc is the HTML for my Please Wait display. For me, it's a
little clock with spinning hands and a message artistically offset saying
"Please wait, the system is busy processin
Hi all,
Using Struts, I'm looking for a good practice to have a "Please wait
box" displayed to the user when the action he has requested takes a
long time.
My requirements are not to display another page to keep the browsing
"smooth". I use a JSP tree which can be expanded/collapsed, but the
pag
hi,
inside validator.xml,
is it possible to use the MM/YY format with the date validator ?
The documentation gives examples with MM/dd/
http://struts.apache.org/userGuide/dev_validator.html
but not with MM/YY.
I tried this:
datePatternStrictMM/yy
Validation is not w
At 1:36 PM +0800 5/24/05, Richard Reyes wrote:
Hello Guys,
I got this action mapping...
Is it possible to access the exact "*" wildcard value inside
LoadCustomPropertiesAction?
Just apply the value to one of the properties of
Dakota Jack wrote:
If these are the issues, then you must be speaking some language with Ms. Harper
that I don't know.
Of that I have little doubt.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Excellent, I am looking forward to it!
Frank
-Original Message-
From: "Marco Mistroni"<[EMAIL PROTECTED]>
Sent: 5/24/05 4:08:39 AM
To: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
Cc: "'Struts Users Mailing List'"
Subject: RE: sTRUTS 1.3 - chain flow / solved
Hello Fr
Excellent, I am looking forward to it!
Frank
-Original Message-
From: "Marco Mistroni"<[EMAIL PROTECTED]>
Sent: 5/24/05 4:08:39 AM
To: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
Cc: "'Struts Users Mailing List'"
Subject: RE: sTRUTS 1.3 - chain flow / solved
Hello Fr
I haven't tried this but you shouldn't it be possible to use the
'attribute' attribute in your action mapping configuration ?
/Andreas
Riyaz Mansoor wrote:
i saw a doc which had
wondering if multiple forms could be declared like this? sorry but am
t tired to test right no :)
r
I changed it because the class ModuleUtils doesn't have a
findActionConfig method:
http://struts.apache.org/api/org/apache/struts/util/ModuleUtils.html
Dakota Jack escribió:
Just do what he said. You changed it.
On 5/24/05, Jorge Chacón Souto <[EMAIL PROTECTED]> wrote:
I suppose that y
I see. thank you all.
it seems that I have to provide a UI to let user select which locale
he wants to use. Is it a common implementation ? I was thinking of
checking character encoding in my application so that I can use the
correct locale.
On 5/24/05, Jason Lea <[EMAIL PROTECTED]> wrote:
>
Hello Frank
Not at all... just give me couple of days to tidy it up
And test also validations samples (which I trust they work since
I haven't altered the way strutsws work..)
Thanx for your help!
I'll send you 'tidy code' in couple of days.
Regards
marco
-Original Messag
Just do what he said. You changed it.
On 5/24/05, Jorge Chacón Souto <[EMAIL PROTECTED]> wrote:
> I suppose that you refer to doing something like this:
>
> ModuleConfig module = ModuleUtils.getInstance().getModuleConfig(request);
> ActionMappingAplicacionWeb map = (ActionMappingAplicacionWeb)
>
From the java docs:
getCharacterEncoding
public java.lang.String getCharacterEncoding()
Returns the name of the character encoding used in the body of this
request. This method returns null if the request does not specify a
character encoding
Returns:
a String containing the na
On 5/21/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote:
> Try build the whole javascript function part in scriplet as follows:
>
> onclick="<%='javascript:whichAuctionType(' + rId + ');'%>">
>
> in your
I think you mean
onclick='<%="javascript:whichAuctionType(" + rId + ");"%>'>
in my experien
There is a similar problem with encoding defaulting to ISO-8859 what ever the
browser did send as encoding. This is because the servlet container is unable
to interpret the multi-part encoding a solution is to use a constant
enconding in your forms (using the acceptEncoding parameter) and always
Hi,
I always get null from request.getChaaracterEncoding(), do not know why.
I am using Tomcat 5.5.7, Struts 1.1. Tested IE 6.0 and FireFox. Which
ever encoding I select in browser, my servlet always reprots as null
from the above call.
thanks for any info!
li xin
---
Hi,
Try the following in yor struts-config file:
According to the struts-config.dtd file:
nocache Set to "true" if you want the controller to add HTTP
headers for defeating caching to every response from
this module. [false]
It should help.
I suppose that you refer to doing something like this:
ModuleConfig module = ModuleUtils.getInstance().getModuleConfig(request);
ActionMappingAplicacionWeb map = (ActionMappingAplicacionWeb)
module.findActionConfig("FormularioCrearDocumento");
It returns null, I don't know why.
Any help?
Than
82 matches
Mail list logo