I'm about to try the sub-app fetures now with 1.1b2. Based on what I
gathered, I could put all the sub-app jsps, images, templates, javascript,
styles under the sub-app folder like this:
/myapp
/default_templates
/default_images
/default_styles
...
/mod1
Mailing List; [EMAIL PROTECTED]
Subject: RE: Struts architecture performance
On Tue, 13 Aug 2002, Thinh Doan wrote:
Date: Tue, 13 Aug 2002 22:19:24 -0500
From: Thinh Doan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing
with the current sub-application.
Craig, is this being implemented?
Julio Cesar
SOFTSITE Tecnologia
Fortaleza, CE, Brasil
http://www.softsite.com.br
-Mensagem original-
De: Thinh Doan [mailto:[EMAIL PROTECTED]]
Enviada em: sexta
Craig,
you can now divide a monolithic Struts based application into
sub-applications
(they are going to end up being called application modules), each with its
own struts-config.xml file.
Do you have additional info. on how to setup sub-apps with multiple
struts-configs in 1.1b2? Thank you,
Hi,
My app often locks up and tomcat logs indicated that it's trying to find
(instantiate) the logonAction. It had previously found the logonForm
however. The status bar on the browser showed the jsessionid generated. The
app was running fine before this condition occured.
Any clues on what
I had a jsp with about 70 html:text.../ input fields. At about 60 fields
or so, tomcat (4.0.3 on Win NT) died. Does anyone know what the reason might
be? I changed the page buffer and it did not help.
Thanks for your help.
THinh
PS: each html:text.../ has an accompanied label using
on too many html:text
On Mon, 10 Jun 2002, Thinh Doan wrote:
Date: Mon, 10 Jun 2002 19:03:41 -0500
From: Thinh Doan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Subject: jsp/tomcat croaks on too many
I open a child window for form inputs and upon successful submit, I'd like
to close this child window and also point the parent window to a specific
page. I got 404 error but don't know how to fix it. Please give some hints.
TIA,
Thinh
Code in close_window.jsp
%@ taglib
:
window.opener.location.href=jsp/home.jsp;
-Dan
Thinh Doan wrote:
I open a child window for form inputs and upon successful submit, I'd like
to close this child window and also point the parent window to a specific
page. I got 404 error but don't know how to fix it. Please give some
hints
id/pwd given is bad.
Thinh
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 1:32 PM
To: [EMAIL PROTECTED]
Subject: Child Support Payment system for the state of FLorida, Powered
by Struts...
My boss gave me the OK to give the Struts
In my LogoffAction, after finish doing the housekeeping, I'd like to forward
to a url (http address), instead of a login page. Is it possible? Pls show a
way.
Thanks for your time help.
Thinh
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
In my action I have defined:
String idxPage = /jsp/thankyou.jsp;
and later in the code, based on error situation, I did a:
return (new ActionForward(idxPage));
and got this error:
- Root Cause -
javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot
Thanks Victor. It turned the appLogOn tag looked for couple objects in
session and it was not there, accidently.
Thinh
-Original Message-
From: Victor Hadianto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 6:51 PM
To: Struts Users Mailing List
Subject: Re: Can not forward
We've seen the same thing in 1.0.2. It was our bug. Watch out for using the
image tag with any other javascript. It's submitting twice accordingly.
Thinh
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 18, 2002 12:36 PM
To: Struts (E-mail)
Can you use logic:present ?
Thinh
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 3:30 PM
To: Struts (E-mail)
Subject: bean:write returning null
How are you guys testing for this in JSP?
Mark
De recta non tolerandum sunt.
--
To
Depends on how you'd want to setup your apps and environment, the Tomcat
doc. is for a very simple configuration. The best treatment on the subject,
imho, that I found so far on the web is:
http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp
by Joseph Molnar April 17,
We did it using an init servlet, run when the app gets loaded and stay in
app. scope.
Thinh
-Original Message-
From: Schneider, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 1:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Where is it best to populate default form
Mark's company web site is using asp, lol.
Thinh
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:26 PM
To: 'Struts Users Mailing List'
Subject: RE: IDE for EJB2.0 development
Boy, it's going to be real hard to think up a thread
works way better in what ways? Faster, easey code maintenance...?
Thkx,
Thinh
-Original Message-
From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 7:20 PM
To: Struts Users Mailing List
Subject: RE: /do/* instead of *.do in web.xml
All I use id
We have 2 webapps under the same tomcat setup. One app hung trying to logon
and the last record in the log file indicated that it's looking for Action
instance for class com.twjconsulting.app1.actions.LogonAction (the corect
class). But apparently could not find and got lost somehow.
Would you
you should only need struts.jar in app/WEB-INF/lib.
Thinh
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 8:30 AM
To: Gilson Nascimento D Elrei
Cc: Struts Users Mailing List
Subject: Re: RES: JRun and struts problem worked out?
Thanks
My vote:
Chapter 13. Struts and Enterprise JavaBeans (EJB)
Thank you,
Thinh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 3:32 PM
To: [EMAIL PROTECTED]
Subject: Preview OReilly Struts Chapters Online - Soon
It looks like I'm
I'd try this:
bean:define id=res name=nameofthisbeaninrequestscope
class=SearchBrowseResults scope=request/
bean:define id=brNode name=res property=browseNode
class=java.util.ArrayList/
then to get each brNode properties (if I understood correctly is an
ArrayList), you do a logic:iterate
this check?
My understanding is that the container will take control and send the user
directly to the login page with a new session in place (in the same way as a
new user login would).
-Michelle
-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06
The way we did it was checking an object (e.g. user) in session. If it's
null, do
errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError(session.timeout));
(session.timeout is defined in your app resource properties)
thenreturn (mapping.findForward(logout));
this logout fwd will
I vote to keep this discussion going on here since 1) I don't want to
subscribe to another mailing list, and 2) it's a natural progression for
me to follow the MVC (Struts) framework/mindset. There are topics related
to Struts here that I can't afford to read them all, perhaps EJBs could be
one
Have you tried this?
%@ page buffer=500kb autoFlush=false %
Thinh
-Original Message-
From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 2:02 PM
To: Struts Users Mailing List
Subject: RE: JSP size optimizations
Actually we have it the other way around...
Regis,
Would you please give some code example on how you extended the
ActionServlet on how you did it? Thanks,
Thinh
-Original Message-
From: RĂ©gis Melo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 11:22 AM
To: 'Struts Users Mailing List'
Subject: RES: Want to check
try:
servlet
servlet-nameInitialization/servlet-name
servlet-classcom.yourcompany.InitializationServlet/servlet-class
load-on-startup2/load-on-startup
/servlet
Thinh
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002
Very good TOC, Chuck! Personally, I'd like more focus on Struts 1.1 (since
I've been using 1.0 for a while now) and EJB. Also, a chapter on development
environment, like JDeveloper, JBuilder, Forte, etc. w/ Struts, brief
performance analysis on using Struts w/ Tomcat, JRun, WebLogic, WebSphere
Well if you have to add log statements in the code to trace debug, I'd
call the old Fortran method. The new way would be able to use the IDE to
step, use breakpoints, and display variables etc... Any tools that can
provide these facilities would be of great help in general. If you can just
Hello everyone,
I have a file upload process that could take up to 1 hour to finish. It
always returns some ActionErrors to the input page when done. I have the
following questions:
1) I observed that the browser timed-out and return to the input page but
the upload process still running in
Thanks Daniel. Almost missed it. Will give it a try and let you know.
Thinh
-Original Message-
From: Daniel WAMARA 2 [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 2:54 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Files download
I know none but I made
I've seen discussions and examples on file upload. They were very helpful.
Thank you.
And now for the return trip, are there any examples out there for files
download? Appreciate any suggestions and examples.
Thank you,
Thinh
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Adam S. Grohs had also contributed source code in the past to implement this
sort of things. Pls check-out archive.
Thinh
-Original Message-
From: Prengaman.Karen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 1:00 PM
To: 'Struts Users Mailing List'
Subject: RE: Seeking
In my app., I have a link (a... tag) to call a javascript to open a child
window:
function openit(myjsp) {
winprops = 'scrollbars,resizable,menubar';
win = window.open(myjsp, 'childwin', winprops);
}
The problem I have is window.open takes myjsp from its current path,
eventhough
/
logic:equal name=numReports value=0
pNo reports available./p
/logic:equal
-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 2:53 PM
Thanks Joey, I got it working. bean:size.../ does the trick.
Thinh
-Original Message-
From: Joey Gibson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 2:33 PM
To: [EMAIL PROTECTED]
Subject: Re: check for null collection
If the collection is truly null, then
I've defined the following collection but don't know how to use the logic
tag to check if it contains no data to display appropriate message:
logic:present name=MEMBERS scope=request
bean:define id=myArray name=MEMBERS type=java.util.TreeSet
scope=request/
logic:iterate id=member
How do you set these 5 arguments in the Action?
Thanks,
Thinh
-Original Message-
From: Trever M. Shick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 10:07 PM
To: Struts Users Mailing List
Subject: Re: What are the 5 optional args in Bean Message Tag for
They are used
If we had a form bean with more than 16 fields, after submit, action ran and
IE 5.5 croaked with 404 error when doing a forward success to another
*.do. NS 6.1 did not have the same problem.
Error from IE 5.5:
The page cannot be displayed
The page you are looking for is currently unavailable.
certain amount of data to the server
while Post method has no such limitation.
Sarveswara Rao
-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:21 PM
To: Struts-User
Cc: Todd Voirol
Subject: Problems with the # of form fields in IE 5.5
If we
That's
exactly what I had to do. Thank you.
Thinh
-Original Message-From: John Yu
[mailto:[EMAIL PROTECTED]]Sent: Thursday, October 25, 2001 1:21
AMTo: [EMAIL PROTECTED]Subject: Re: how to
bean:define for a static methodAny particular reason you
have to use static
I'd like to retrieve an ArrayList from a public static method (getMyArray)
in class A to iterate through this ArrayList in my jsp. An instance of this
class A is saved in session scope after successful login.
in class A:
public static ArrayList getMyArray(A a)
{
//
How do you stop the form from being submitted if a javascript error, which
was called from the html:form onsubmit..., occurs. I get an error and I
say ok and the javascript tries to put focus on the field which is causing
the error, but the form still submits to the action class.
Here is some
have a trim function in my javascript arsenal
that I call before I do checking for any specific fields - this trims white
space. Let me know if you're interested, and I can send the function.
Matt
--- Thinh Doan [EMAIL PROTECTED] wrote:
How do you stop the form from being submitted
I had the same need and was thinking about doing this:
template:insert template='%=session.userTemplate%'
the sesion var will be set upon successful login.
Might work.
Thinh
-Original Message-
From: Minh Tran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 12:46 PM
To:
init
params are application context variables.
Test
in jsp first as follows:
%=application.getInitParameter("xyz")%
T.
-Original Message-From: Christophe Marchand
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, October
03, 2001 12:51 PMTo:
[EMAIL PROTECTED]Subject: Re:
For me
I'm curious if you use html:errors (ActionErrors) at all? More
specifically, how did you pop up the singin error on another window instead of
on the same window if html:errors were used?
Nice
site, thanks for sharing.
Thinh
-Original Message-From: Adam Grohs
, September 27, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Use an image for submit button
Thinh Doan wrote:
I'd like to replace the following with an image instead of a button:
html:submit property=submit value=Login
styleClass=verdanaCAPCopy/
I just learned this the other day myself
I'd like to replace the following with an image instead of a button:
html:submit property=submit value=Login
styleClass=verdanaCAPCopy/
Is there a way to do it? In html, it's a...img.../a
Thank you for your response.
Thinh
I have 3 different templates (tempA.jsp, tempB.jsp and tempC.jsp). Depends
on the user profile after they login, a session attribute will be set, e.g.
session.setAttribute(user_template, template), to indicate which template
to be used. I'd like to get some ideas on how to switch between these
crumbs.
There are a variety of details and complexities that are left out of this
description, such as how you determine whether to push to, or pop from the
stack, the exact text to display for each bread crumb, etc. However, the
general idea is represented.
On Thu, 20 September 2001, Thinh Doan wrote
In the Struts example, the class LogonAction has the following code
(probably written by Craig McClanahan):
// Remove the obsolete form bean
if (mapping.getAttribute() != null) {
if (request.equals(mapping.getScope()))
them in the properties file?
2) if, instead of a linked style sheet, you put the style definition
directly in the JSP, do you have the same result?
Bill
Thinh Doan wrote:
The following setting for error display did not seem to affect eventhough
the jsp that contains html:errors/ does link
try html:html locale=%=true%
Thinh
-Original Message-
From: Steve Taylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 5:28 PM
To: Struts-User (E-mail)
Subject: Parse Error in JRun 3.1
I've run into an error message after deploying a Struts app into JRun 3.1.
It works
Would you please give me some ideas on how to implement a bread crumb scheme
to keep track of where the user has been navigated around the application?
Each menu has been implemented with a html:link with a forward name in the
global-forwards definitions in struts-config.xml.
I'm planning to
The following setting for error display did not seem to affect eventhough
the jsp that contains html:errors/ does link in the style sheet. ANy idea
why this is so?
Thank you for your response.
Thinh
in ApplicationResources.properties:
errors.header=hrspan class=errorErrors:ul
My question is at the end of the msg after I present the background. Thx.
I'd like to create 2 templates: one with the menu on the left side and one
with the menu on top horizontally.
e.g
1) template_v.jsp
%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' %
htmlheadtitletemplate:get
I heard Struts 1.1 will address this issue. In the mean time, I too am
interested to a working solution.
Thanks,
Thinh
-Original Message-
From: Luis Olivares [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Form Beans?
I
Please explain the following lines that came from index.jsp of the struts
example app. Specifically what is it checking? Is it
ApplicationResources.properties?
logic:notPresent name=org.apache.struts.action.MESSAGE
scope=application
font color=red
ERROR: Application resources not loaded
I got this same error running under Jrun. Look into web.xml and make sure
struts stuff is there (tlds etc..)
T.
-Original Message-
From: Ian Kallen [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 4:17 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0b7 and
You got to recompile everything and put in the correct directory. In my
case, applicationresources.properties is under web-inf/classes.
T.
-Original Message-
From: Peter Georgiou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 4:03 AM
To: [EMAIL PROTECTED]
Subject: Re:
As a newbie to Struts, I tried to duplicate the logon example from bluestone
and I got the above error.
This is my struts-config.xml
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.0//EN
64 matches
Mail list logo