Hi;
I'm leaving the list but I wanted to say thank you to all that helped.
And a plea to one of the struts experts - the world desperately needs a struts
cookbook. ie, if you want to do X, here is how. The top 40 or 50 of those items would
be wonderful (and cut down on traffic a lot).
thanks
The Offer
Enemy Nations is one of the highest rated award winning Real-Time Strategy games ever
created. And you can get a copy for free just by trying Windward Reports.
The Game
Meet interesting people on the Internet, then build big tanks and show the bastards
who's boss!
The Battle for the
Hi;
I have a situation where I need to have the jsp files with my html files. (I have just
2 of them and they use the same templates as the 100+ html files and they are a simple
part of the website.) My J2EE server is configured to look in both the server's web
application directory and
Hi;
Is there anything I have to do extra or be careful of if I have a
HttpSessionBindingListener implementing class attached to my session? I assume not but
figure it's safer to ask.
thanks - dave
Hi;
I have had struts working fine in one web application. I then added a second web
application - in it's own directory with it's own struts files, web.xml file, etc.
Now when I run the new application (which gets loaded first) finds it's
application.properties but the second application
applications.properties
Are you struts related .jar files all locally loaded under your
application
in WEB-INF/lib or are they in a common shared area for your application
server?
Regards,
David
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday
/configuration.html#config_a
dd
For more explanation see:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.htm
l
Steve
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: September 23, 2003 9:08 PM
To: Struts Users Mailing List
Subject
I put log4j.jar in the application server lib file - so all web apps are
using the same logger. It has worked fine for me in that configuration.
- Original Message -
From: Davide Bruzzone [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 24,
Hi;
I thought I read something somewhere that said I need to have a seperate set of struts
jar files for each application or server. But I can't find it now.
I am using JRun and under a given server it has multiple applications with each
application having it's own web.xml and
struts.jar.
David Thielen wrote:
Hi;
I thought I read something somewhere that said I need to have a seperate
set of struts jar files for each application or server. But I can't find it
now.
I am using JRun and under a given server it has multiple applications
with each application having it's own
Hi;
I have a large web site that is all html running on IIS. It's all in
c:/inetpub/wwwroot/...
I need 2 jsp files. And I want the jsp files to use the same DreamWeaver template
files with the same menu bars, etc.
The problem is my application server wants the jsp files over in it's
Hi;
These are a couple of suggestions I have for the next version of struts:
1.. Can get the session in the ActionForm constructor. This would be very useful for
initializing with data attached to the session.
2.. Have a pre-page method in the Action that can be set in an action like
ok - will do - thanks
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 11:28 AM
Subject: Re: Suggested enhancements for next version
On Wed, 10 Sep 2003, David Thielen wrote:
Date
- Original Message -
From: David Thielen
To: Struts-Users
Sent: Monday, September 08, 2003 9:54 PM
Subject: Get session in a form ctor?
Hi;
Is there any way inside an ActionForm constructor to get the HttpSession? This would
let me set up forms without having to call
Hi;
Is there any way inside an ActionForm constructor to get the HttpSession? This would
let me set up forms without having to call an action before displaying a page.
thanks - dave
Hi;
I tried this below but when I did http://localhost/account/setup/pre it created a form
but never called the action class. Any ideas?
Also, shouldn't the scope below be session so the same form is used?
thanks - dave
I've been using jstl and html-el and it's working great. I don't use any
other struts taglibs.
- Original Message -
From: Prasenjit Narwade [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, September 01, 2003 11:39 AM
Subject: Struts Taglib + JSTL Feasible
personally I think IntelliJ is wonderful
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 6:04 PM
Subject: RE: J2EE IDE
--- Paul Jackson [EMAIL PROTECTED] wrote:
Sounds like you need to
: action-mapping forward - how do I use it?
David,
what happens when you use a form ... ?
If the URL is wrong, have you tried html:rewrite... ?
Alternatively, don't use a form. Use a button inside a a/a
Hope that helps
Adam
On 08/27/2003 09:56 PM David Thielen wrote:
Hi;
I have a case
Hi;
I have an order system where the user has to enter data on 4 pages, one after the
other. I don't want them able to bookmark the 4th page and go back to it later and try
to place an order from there - with the previous three pages left empty.
So here is what I did.
To get each page, I
Hi;
CreditCardValidator is listed in the common-validator docs - but it's not in the jar
file - any ideas where it is?
thanks - dave
HTH,
Cezar
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 4:16 PM
To: Struts-Users
Subject: login test in a jsp page - any suggestions
Hi;
I want to put a test in every jsp page to see if the user is logged
Hi;
This has probably been asked a million times.
I have several pages where the user can click to go to a login page. I want to use the
same page for the login.
How can I set it so that after the login it goes back to the page it came from?
thanks - dave
Hi;
I have a case where, when the user clicks on a button, I want the action to be to go
to a new page. No ActionServlet or ActionForm because the only thing in the form is
the button.
But I would like to use the action-mapping to determine where to go. I tried to do
this with:
action
Hi;
I want to put a test in every jsp page to see if the user is logged in. And if not, to
forward them to login.jsp. Is there any way to do this other than putting java code in
my jsp? I'm hoping there is some struts system like html:check app=MyAction/.
(Yes, I can have everything be an
Hi;
The method I use (which gives no % update) is I forward to a page that says
please wait and has an animated gif. That page does a meta
http-equiv=refresh... to the servlet that runs the database work. This
way the please wait page is displayed until the database work completes and
it's page
Hi;
When I set an action mapping as this (no form):
action path=/Logout type=net.windward.store.LogoutAction
forward name=next redirect=true path=/var/login.jsp/
/action
It threw an exception. When I added a from like this:
action path=/Logout
Hi;
When I set an action mapping as this (no form):
action path=/Logout type=net.windward.store.LogoutAction
forward name=next redirect=true path=/var/login.jsp/
/action
It threw an exception. When I added a from like this:
action path=/Logout
I am using:
html-el:form action=/Logout styleClass=whiteBkgnd
html-el:submit property=submit value=Logout/
/html-el:form
- Original Message -
From: David Thielen [EMAIL PROTECTED]
To: Struts-Users [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 11:58 AM
Subject: Why can't I have
Hi;
I spent this last week learning struts and implementing my first site using it. And I
just wanted to say thank you to everyone who helped me.
thanks - dave
standards for that?
Adam
On 08/14/2003 06:52 PM David Thielen wrote:
Hi;
Is there a standard validation package out there that handles phone
number, state, zipcode based on country?
thanks - dave
--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
Hi;
Inside a form I have 2 address blocks - each with a selection of countries. This is
more that 64K chars inside the html-el:form...
Any ideas how to get around this?
thanks - dave
Hi;
I've been fighting this all day with no luck. And it has to be a simple thing to do.
I have a form where I have N lines in it. Each line needs to have some text displayed
and an edit box.
How do I set this up in the .jsp file and in the ActionForm? I've found a number of
examples on the
Hi;
Everyone who hits my site has a high-speed connection. So I am thinking that it makes
sense to do server side validation only as that provides a better method than the
javascript pop-ups.
And in this case, it seems to me that the logical place for all validation then is
inside the
I'm using JRun 4 - and need it for the EJB support so Tomcat's out. I also
use [EMAIL PROTECTED] file=countries.jsp% to pull the countries in. But regardless
of how they are pulled in, they will be expanded within the form to be the
actual select text.
I guess I'll push Macromedia to eliminate
Hi;
I created my jsp pages using Dreamweaver and using the templates feature in
Dreamweaver.
I'm now incorporating struts and mixing that with Dreamweaver is difficult. Does this
work ok or should I give up on templates?
thanks - dave
what's going on?
thanks - dave
- Original Message -
From: David Thielen [EMAIL PROTECTED]
To: Struts-Users [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 3:03 PM
Subject: c:forEach html-el:text - it's not working
Hi;
I am trying to use html-el:text inside a c:forEach and according
Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:56 AM
Subject: Re: N form items as fields
Hi Dave,
you should look at indexed or nested tags with the iterate tag.
hth
Adam
David Thielen wrote:
Hi;
I have
Hi;
I have two forms on one page. In this case, how do I handle html:errors/ for each
form?
thanks - dave
Hi;
I have two forms on one page. In this case, how do I handle html:errors/ for each
form? I want to put the errors from each form above that form.
thanks - dave
.
thanks - dave
- Original Message -
From: David Thielen
To: Struts-Users
Sent: Tuesday, August 12, 2003 9:05 PM
Subject: action forward - redirect
Hi;
I have action forwards in my action mapping as such:
action-mappings
actionpath=/OrderSubmit
type
Hi;
The following line in my jsp is throwing an exception:
!-- html-el:text name=var property=qty indexed=true/ --
Correct me if I'm wrong - but since it's a comment - shouldn't it be left alone?
thanks - dave
Hi;
I have an Action ActionForm where scope is not set (so it's session). After
submitting the page and it goes on to the next page, if I do a BACK and RELOAD, then
one of the edit fields goes back to null. The other retains the value it was set to.
Any idea why that would happen?
I log the
Hi;
I am displaying currency in my website. It is always in U.S. dollars so I am doing:
NumberFormat.getCurrencyInstance().format( (float) price / 100f );
Two questions:
1.. I assume I should set the locale for this to en_US since I want to have the
dollar sign.
2.. Should it do the
never mind
- Original Message -
From: David Thielen [EMAIL PROTECTED]
To: Struts-Users [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 12:00 PM
Subject: wants org.apache.taglibs.standard.tag.el.core.ForEachTag instead of
org.apache.taglibs.standard.tag.core.ForEachTag (ie no .el.)
Hi
That makes sense. As long as it doesn't blow up it will still be a comment
in the final html.
thanks - dave
- Original Message -
From: Steve Widmar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 9:09 PM
Subject: Re: really weird - evaluating a comment
Dave:
Hi;
I have action forwards in my action mapping as such:
action-mappings
actionpath=/OrderSubmit
type=net.windward.store.OrderAction
name=orderForm
validate=true
input=/order.jsp
forward name=success path=/terms.jsp/
forward name=failure path=/order.jsp/
/action
]
Sent: Tuesday, August 12, 2003 4:30 PM
Subject: Re: c:forEach html-el:text - it's not working
David Thielen wrote:
although that doesn't make sense since this is something so basic
Here is simlar example that does work.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bPproj
thang...
never mind...
aka
dumbass
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:08 PM
To: Struts-Users
Subject: major weirdness with c:forEach html-el:text
Hi;
I am hitting a major roadblock with this. And it looks like
will find the
64k limitation can be circumvented.
Mark
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 9:37 AM
To: Struts Users Mailing List
Subject: Re: Code of a method longer than 65535 bytes
I'm using JRun 4 - and need it for the EJB
how it can be that.
thanks - dave
- Original Message -
From: David M. Karr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 8:13 PM
Subject: Re: forEach html-el:text - it's not working
David == David Thielen [EMAIL PROTECTED] writes:
David
Hi;
Is there a standard validation package out there that handles phone number, state,
zipcode based on country?
thanks - dave
yes yes. - but you still need html-el.
- Original Message -
From: Butt, Dudley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:30 AM
Subject: JSTL and struts tag libraries
Hi,
Is it true to say that one should use JSTL instead of the struts taglibs?
If
Hi;
I am hitting a major roadblock with this. And it looks like it is generating bad code
from the jsp. Here is the problem very simply.
This works:
c:forEach items=${orderForm.items} var=orderFormItem varStatus=status
input type=text name='items[c:out value=${status.index}/].qty' value='c:out
Hi;
Wouldn't it be useful if you could do:
html:option property=value and text/
Instead of:
html:option value=todaytoday/html:option
Hi;
If I have the following in the top of my jsp file:
%@ taglib prefix=c uri=http://java.sun.com/jstl/core%
%@ taglib prefix=html uri=/tags/struts-html%
And this in my web.xml file:
taglib
taglib-urihttp://java.sun.com/jstl/core/taglib-uri
taglib-location/WEB-INF/c.tld/taglib-location
a setQty() setter method.
Erez
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:03 PM
To: Struts-Users
Subject: c:forEach html-el:text - it's not working
Hi;
I am trying to use html-el:text inside a c:forEach and according
this helps,
Erez
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:03 PM
To: Struts-Users
Subject: c:forEach html-el:text - it's not working
Hi;
I am trying to use html-el:text inside a c:forEach and according to
everything I have
Hi;
When the user clicks submit on page 2 of a form, I need to check page 1 also because
they may have gotten to page 2 with a bookmark.
My page 1 validation is with the page 1 form validate. page 2 has a different form.
Should I:
1.. Look for the page 1 form attached to the session and if
Hi;
I am trying to use html-el:text inside a c:forEach and according to everything I have
read - this should work. But it doesn't. Any ideas?
thanks - dave
my jsp
...
c:forEach items=${orderForm.items} var=orderFormItem varStatus=status
trtd
html-el:text
Hi;
As I understand it (please correct if I am wrong):
1.. I use the struts-el/lib/* files instead of the struts file
2.. The struts-el/webapps/strutsel-exercise-taglib.war is a sample and can be
ignored.
3.. Do I use the JSTL *.tld files in the struts-el/lib directory - or the ones that
Hi;
The application.properties file that comes with the blank struts sample has a bunch of
strings already in it. Are these strings needed by struts or are they just suggested
strings for sample errors I might have in my pages?
Also, are these sample files available in languages other than
/html:html
Gary Kephart| New Century Mortgage
Web-Based Application Developer | http://www.ncen.com
[EMAIL PROTECTED] | 340 Commerce
949-797-5660| Irvine, CA 92602-1318
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED
It would require using the locale but 3 really nice validations would be:
state, zip code, and phone number.
- dave
Hi;
I am designing a store check-out process. The old software (pre-struts) had a check at
the top of each page to make sure the information from the previous page had been
entered. And if not, forwarded to that page. So if you bookmarked the last page and
went there, you would get forwarded
Hi;
I am designing a store check-out process. The old software (pre-struts) had a check
at the top of each page to make sure the information from the previous page had been
entered. And if not, forwarded to that page. So if you bookmarked the last page and
went there, you would get
Hi;
If I have a single checkbox on my page, should I still use multibox? And if not, what
do I use?
thanks - dave
to false in the reset() method.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: August 7, 2003 12:26 PM
To: 'Struts Users Mailing List'
Subject: Re: single checkbox - still use html:multibox?
Thanks - the book I have didn't list it so of course I assumed it didn't
I'm a moron - I found the overloaded method with HttpServletRequest.
So, is the way to tie to a session bean to do a
HttpServletRequest.getSession().get/setAttribute()?
thanks - dave
- Original Message -
From: David Thielen [EMAIL PROTECTED]
To: Struts-Users [EMAIL PROTECTED]
Sent
: Thursday, August 07, 2003 12:19 PM
Subject: RE: single checkbox - still use html:multibox?
Um, html:checkbox ? Please read the api carefully if you want to use this
tag. There is something you have to do in your form's reset()...
-Original Message-
From: David Thielen [mailto:[EMAIL
Hi;
I have a jsp page where I want to display N items where I get the N items from the
database. I need to have an edit field with each item. Whats the best way to do this
in struts?
thanks - dave
Hi;
I have a form with a submit, reset, and update button. How do I handle control of the
update button (go to a different action)?
thanks - dave
Hi;
(I sure brought up a storm with my last question on this g.)
Is there a set of struts taglibs that have removed all of the tags that should be JSTL
instead? It's easy to just delete struts-logic.tld and struts-nested.tld. But beand
html both appear to have a couple of tags that should be
Hi;
For the logic and I18N taglibs - what do you recommend - using the struts taglibs or
the JSTL taglibs?
thanks - dave
Hi;
If I want to initialize an ActionForm from a session bean, what's the correct way.
Looking at it it seems to me that I want to tie the session bean to the session.
However, reset passes a ServletRequest instead of a HttpServletRequest so there is no
way to get the session to do a
, but
both
work. What problem are you seeing?
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: August 7, 2003 12:42 PM
To: Struts-Users
Subject: struts, Dreamweaver, Dreamweaver templates
Hi;
I created my jsp pages using Dreamweaver and using
Hi;
Does anyone know of a simple sample struts page (like logon) that includes
Internationalization and validators so it shows how to use everything?
thanks - dave
77 matches
Mail list logo