Funny you bring this up, as our gfx guy here would like the same thing.
It did in fact confuse me for ages why on earth errors wern't being
displayed, until I realised that logic:messagesPresent tag only
checked for messages (obvious I suppose).
It seems to me that the abscence of an
I'm using Oracle and when I meet that situation,
i check the DB session (v$session) and operate GUI .
When number of DB sessions increase, that is the timing .
And Some other guy says the set the max number of connectons to 1.
hope this help
At 22:49 04/06/08 -0700, you wrote:
This may seem to
I've been reading this thread of discussion and one question arises in my
mind that you probably has not taken into consideration.
Is there any limit with session management in your application server? I
mean, Websphere, for example, warns you about storing more than 16K in
session.
To bypass
thanks a lot
Birendar Singh Waldiya
Avinash Gangadharan [EMAIL PROTECTED]
09-06-04 12:28 AM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
'Struts Users Mailing List'
[EMAIL PROTECTED]
cc
Subject
RE: wahtd does it means ?
envCtx = (Context)
Thanks for your attention.
Abandand connection management can you give more details on how to do this.
Masashi Nakane wrote:
And if you have a chance to try DBCP , Abandand connection management
function will tell you exactly where the unclosed connections are . You
will love this.
Check
http://jakarta.apache.org/commons/dbcp/configuration.html
's abandanded something parameters.
I am not sure about how to apply this to Struts Datasource.
I've just replaced Struts Datasouce with tomcat JNDI datasource with DBCP.
to decouple Struts and DAOs.
Masashi
At 12:55 04/06/09
http://jakarta.apache.org/struts/userGuide/struts-html.html#html
http://jakarta.apache.org/struts/userGuide/struts-html.html#form
- Original Message -
From: Frank Zammetti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 2:47 PM
Subject: html form : purpose?
No there isn't, but I think it would be a good idea to add indexed
attribute to the errors/messages tags.
Why not create an enhancment request in bugzilla and even better, post a
patch.
http://issues.apache.org/bugzilla/
Niall
- Original Message -
From: Michael Muller [EMAIL
Assuming you could do this, how then does struts know when you submit to
/test/a/ what action to run and for what reason would like to avoid
exposing the action URL?
Niall
- Original Message -
From: Eric Jain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 11:25 AM
How about posting your jsp source to show how you are doing your options.
Niall
- Original Message -
From: John Antonakos [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, June 04, 2004 9:14 AM
Subject: Re: How can i avoid the use of amp in a drop down box
Have you configured the Tiles Plugin?
Niall
- Original Message -
From: SASIDHAR BUDAMPATI [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 1:31 PM
Subject: problem with struts-tiles
hi,
When working with struts-tiles i have been encountered
with the problem as
Its context relative...from the user guide...
action - Use the value of this attribute as the name of a Action to be
looked up, and use the module-relative or context-relative URI found there.
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
Niall
- Original Message -
Hi Brati
Well, as far as I can understand, you don't wanna use struts-config for your forward
path
cause it is being generated at runtime. I think this will be helpful
Just before returning from execute of the Action class, you can redirect the control
to any JSP.
Harjots way should work (and you return null from the Action) but there is
another more popular way which is to create an ActionForward instance in
your action and return it:
ActionForward fwd = new ActionForward(/FetchNextPage.jsp,true);
return fwd;
(where the boolean specifies whether its a
Do you know the rational behind that WebSphere warning? I mean, the obvious
answer is it uses up server resources and will use more as load increases,
but is there another reason you know of? I ask because I have an
application where we store quite considerably more than 16K without any
Geeta is right
There was a post on this list sometime ago and if I remember it correctly
you will find the solution to this at
http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html
just look at saveToken in this article.
You have this saveToken method in Action class.
Harjot
To implement a similar behaviour struts provides with the saveToken
functionlaity.
Look at it here
http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html
Harjot
- Original Message -
From: Frank Zammetti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday,
Yep, I suspected Struts had something already for this. I would have
written and submitted such an extension myself it is wasn't there! Thanks
for point is out Harjot!
Frank
From: Harjot Narula [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
Logic:iteratelogic:iterate id=navigationPage name=navigationBar indexId=index
property=pages
bean : write name=navigationPage property=title /
/logic:iteratenbsp;
- Original Message -
From: Naresh Sharma
To: Struts Users Mailing List
Sent: Tuesday, June 08, 2004 1:39 PM
Marco Rossi wrote:
I try to use sitemesh instead of tiles; in my decorator template page I need
to include a struts action.
I try to do this:
jsp:include page=/menu.do flush=true /, but I catch the following
java.lang.IllegalStateException: Response has already been committed
Any suggestion?
I
To implement a similar behaviour struts provides with the saveToken
functionlaity.
Look at it here
http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html
Harjot
- Original Message -
From: Frank Zammetti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 09,
Hi all,
I have a question about the logic:iterate tag. I have the following in my jsp page.
If I am not setting any attribute list like
session.setAttribute(list, list) as I don't any action class forwarding to the jsp
page.
How do I grab the list into the jsp page if I have a class for
Frank Zammetti wrote:
You know what I discovered about a month ago? Instead of using iFrames,
you can get the same functionality with a span with
style=overflow:scroll;.
The problem with this, though, is when you when you want your table to
be able to change in width. If you have a fixed
There's really not much difference between using:
Map results = new HashMap(map);
and:
Map results = new HashMap();
results.putAll(map);
Maybe I'm missing the point you're trying to make, but I don't see how that
would solve the problem.
Quoting Ron Grabowski [EMAIL PROTECTED]:
Date: Tue,
I believe the scrolling table body functionality is only currently supported
in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an
example that works in IE, I would name my next child after you :) I've been
trying for a while to find a way to have a header section stay put,
pls wrote:
found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags.
downloading tomcat 5 right now..
Not sure what you mean by the above, but there are struts-el tags as
well, which work with Tomcat4.x.
--
Rick
James Neville wrote:
Well, I was using this tag earlier in the week. (We've been trying to
stay away from any Struts specific tags until recently too - we're
locked in now anyway, so we might as well).
Would this work for you with JSTL? You probably want to throw in a test
for not empty also.
Look at
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/objects.asp
Click on one of the tag headings and the properties/attributes are in a
table with scrolling... something kinda like you are describing.
-Original Message-
From: Frank Zammetti
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an
example that works in IE, I would name my next child after you :)
next? You already have some? ;-)
Simon
Hi,
I would like to shared basic HTML pages with an other web
application
which does not used Struts.
Is it possible to convert HTM pages to Struts views automatically ?
Is it an existing toolkit to do this ?
Thanks a lot in advance
We are running a struts 1.1 application successfully in a J2EE 1.2 application server.
Simon
-Original Message-
From: Yulin Zhao [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 3:35 PM
To: Struts Users Mailing List
Subject: Struts 1.1 J2EE level?
Our app server only supports
Hi,
I would like to know if someone has already made a Struts embedded
web application
server.
I have a lot of questions about minimum space memory, tools to embed
?
Thanks a lot in advance
I hope you weren't referring to me Simon? I'm still too young... and most of
my money pours into recreational vehicles and booze ;-)
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 10:02 AM
To: Struts Users Mailing List
Subject: RE:
That's great, Peter. I will be looking forward to sitting in when in London.
Michael
At 05:34 AM 6/8/2004, Pilgrim, Peter wrote:
Dear Global Struts Users
I am writing to you all in order to report that we had a sucessful
first meeting in London, last night.
Monday 7th June 2004 19:15 GMT
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Any Expresso users out there?
Id be interested in hearing your comments and evaluation of
this framework.
It uses Struts as the basis for the presentation layer, Id be
especially
interested to know if it
Heligon Sandra wrote:
I would like to shared basic HTML pages with an other web
application
which does not used Struts.
Is it possible to convert HTM pages to Struts views automatically ?
Is it an existing toolkit to do this ?
Not sure what you mean by these
In my Struts application I use JSP pages with DynaValidatorForm effectively
I used Struts tags html:form, html:radio, bean:message, logic:equal etc..
I would like to use basic html pages (created for an other web application)
and convert them to Struts pages in order to have all Struts facilities.
I wasn't doubting you, as that standard practice rule is fairly well-known
outside WebSphere. I think I've generally heard 32K as a limit, but
whatever, the point is keep session objects small.
What I was asking was if there was some technical limitation in WebSphere I
wasn't aware of. I
Since a lot of this stuff matches up between html and struts, you could
probably use something like Dreamweaver's search and replace functionality
to go through and replace form with struts:form, etc.
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June
Heligon Sandra wrote:
In my Struts application I use JSP pages with DynaValidatorForm effectively
I used Struts tags html:form, html:radio, bean:message, logic:equal etc..
I would like to use basic html pages (created for an other web application)
and convert them to Struts pages in order to have
Well ... the combination of recreation vehicles and booze has been known to bring
about such things. Just looking out for you. Internet Big Brother kind of thing. :-)
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 10:07 AM
To: 'Struts
Regarding WebSphere session performance, IBM redbook sg246176 chapter 15.10 has
some details that might help you. We use WAS4 so that's for WAS4.
Here is some note from it:
In general the best performance will be realized with session objects
that are less than 2 KB in size. Once the session
Very interesting (in a bad way for me!)... does anyone know if there is an
easy way to see exactly how big the session object is at any given point in
time? Preferably something not specific to WebSphere... is there a method
of session I'm unaware of that might help?
Frank
From: Yulin Zhao
Hi All,
I use a bean in the application scope doing like this:
jsp:useBean id=myBean scope=application type=my.pkg.MyBean/
then i set some properties using jsp:setProperty and then in scriplet:
% myBean.executeSomething();%
but a ServletException is thrown with this message:
(class:
Srilatha,
By placing the 'list' in the session you can access it by name ... the
Struts tags search the JSP scopes (page-request-session-application)
if the scope is not explicitly specified ... the following link for the
'bean' taglib has a lot of info about how the 'name' and 'property'
I am having a strange problem. When I try and connect to a URL within
the struts framework (within an action class) I get errors.
Below is the code, this code works fine in a standalone java class
(main) but in an action class I get an error when I try and
Cast the connection, any help is
This may have something to do with your app server (servlet container).
I've run into issues with EAServer and SSL since it uses internal,
proprietary classes to connect via https. Look into installing JSSE and
using the Apache commons HttpClient. This worked for me.
--Kevin
-Original
We didn't find anything automatic for showing whats in session.
We created a JSP which iterated through the session attributes. For each
object, determined if its serilizable and if so convert it into a byte array
output stream. We get the size of the stream and also dumped the content to
the
We created a JSP and one utility class with a couple of methods. This
probably could be improved but it gets the job done for us.
I was copying and pasting the pertinent code. If I am missing something just
holler back but hopefully this gets you started.
JSP as follows(sess.jsp):
Problem:
If someone comes to our Struts/Tiles website and changes the
GET parameters in the URL they may
cause a page to crash.
Desired Outcome:
The user should never see a crashed page, they should
instead be given a page which displays an error.
Ideally,
Welcome..=P
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Single ActionForm accross multiple Actions
Thanks a ton Ken, that worked like a charm! I've already added it to my
generic helper
Did u try providing scope attribute for bean:define
-Original Message-
From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 9:05 AM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: Hoe to store objects in request scope
Hi All,
I have a
I meant toScope
-Original Message-
From: Ram Venkataswamy
Sent: Wednesday, June 09, 2004 1:19 PM
To: Struts Users Mailing List
Subject: RE: Hoe to store objects in request scope
Did u try providing scope attribute for bean:define
-Original Message-
From: PADALA, SANDHYA (SBCSI)
Check out NitroX for Struts www.m7.com - I am sure most of your problem
are addressed
-Original Message-
From: Stunger, Kevin J [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 11:00 AM
To: Struts Users Mailing List (E-mail)
Subject: Tool(s) to find missing properties
Hello!
Please Subscribe me to this mailing list
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I would like to shared basic HTML pages with an other web
application
which does not used Struts.
Is it possible to convert HTM pages to Struts views automatically ?
Is it an existing toolkit to do this ?
Thanks a lot in advance
Sandra
On Wed, Jun 09, 2004 at 03:09:06PM -0400, Alan Weissman wrote:
I am trying to find a way to display a different tile if the tile in my
page generates an error. Does anyone
Assuming that no output has been commited to the response of the tile,
there is a solution outlined in 'tiles advanced
well you could start by grabbing your webapp with something like wget
or curl.
wget -r www.mysite.com/
This would give you the rendered html to then start working from, you'd
still have to deal with the form input when the user submits it. I dont
know if there' s a zero-cognition, abracadabra
Thanks for all of you guys' repliles.
Finally I found out with the development team that Struts1.x is based on J2EE1.2
(Servlet 2.2/JSP1.1).
[EMAIL PROTECTED] on 06/08/2004 03:56:33 PM
Please respond to Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL
In .NET, they have an idea called a code-behind page. This is a superclass for the
page that you can use to obtain values from a database and bind them to controls. The
server page then extends the code-behind page. When the ASP.NET framework calls a page
load method, the controls are populated
It is not exactly what I am looking for.
The drop down list I have now is:
html:select size=1 property=sort
onchange=document.forms[4].elements[2].focus()
html:options collection=SORT property=value
labelProperty=label/
/html:select
The collection SORT has the following options:
Last Post Date
How to implement:
- user fills out form, session times out, users
submits form, user is shown login screen, user logs
in, users form is processed or shown form with values
populated (if validation errors, etc.)
- user selects bookmarked page in my web app, user is
shown login, user logs in, user
JBuilderX will do the conversion. It is not perfect, but can help.
Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS Chemical Engineering
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09,
It doesn't help at all.
I have done exactly as it asks but no parameters are written to the url
This is shown by the code.
Ram Venkataswamy wrote:
However, there are two ways you can append one or more dynamically
defined query parameters to the hyperlink -- specify a single parameter
with the
Huh? Sorry, I do not understand.
--- Ram Venkataswamy [EMAIL PROTECTED] wrote:
You can specify value= Last Post Date in
html:select - The value to
compare with for marking an option selected.
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Hi All,
If the someBean.getDefault() has some values which is not there in the
collection SORT then the problem
is that the select tag will display some value from the collection not the
value from someBean.getDefault().
I faced this situation when i had to display a
How are you trying to execute the forward
in your action?
-David
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 11:50 PM
To: Struts Users Mailing List
Subject: RE: Error Message: Tile path=.thread.Form Does Not Start with
a / Character
I
In my menu.jsp, I have:
html:form action=/message/ListThreads
TR
TD
sorted by
html:select size=1 property=sort
value=thread_last_post_date
onchange=document.forms[4].elements[2].focus()
html:options collection=SORT property=value
labelProperty=label/
/html:select
I wasn't actually asking for the JSP.
I was saying that Struts can complain
about slashes being missing if Tiles
isn't configured or is invoked properly.
I've seen something like your message
once before and I had an improper tiles
configuration setup (back in ver 1.0.X).
I was curious how you
hi,
I see the following options:
a) Application gets packaged as is, in a single ear containing a single war
and jar.
pros - simple build, current architecture
cons - monolithic, not component based, not modular
b) individual war file for each new service
pros - modular, possibly more
Hi,
If I choose one address from address bar, how can know that URL in
programming (like JavaScript) before the pages is forwarded?
Can anyone help?
Regards
Sun peng
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
71 matches
Mail list logo