http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED]
Sent: Friday, 8 August 2003 00:16
To: Struts Users Mailing List
Subject: Struts ProblemUrgent
Hi,
I have a HashMap in my ActionForm bean.I am able to
You could think of it as a business logic function and do it (the
date/String conversion)in the middle tier and pass it to the view already to
go. It seems like the date format would be the same if you were printing it
to a JSP page or a Swing GUI. If you ever had to support two or more front
Howdy,
There are definitely a number of funky things in your code example. I'm not
exactly sure what you're trying to do since your onchange attribute is
calling a JavaScript function called projectChange which I don't see
anywhere, but here are a couple of things to look out for:
1. I don't
- Original Message -
From: Khalid K. [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, August 04, 2003 4:26 PM
Subject: Select Box and validation (plz help :)) (repost)
Any suggestion? please??? :)
I am submitting a form using onchange javascript even
Try
onclick=javascript:validate();
regards
Rohit
-Original Message-
From: Seshadhri Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 11:20 AM
To: 'Struts Users Mailing List'
Subject: RE: How to add Java Script to a JSP page with struts tags
Hi,
I have created a
From: Kris Schneider [EMAIL PROTECTED]
Didn't like the JSTL Result suggestion, I guess ;-). As a JavaBean,
Well personally I have no preference, just want something that works
efficiently and cleanly :)
The example you have had the query in the jsp, wheras I'm trying to stay
away from anything
Maybe someone in this thread figured it out:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg72575.html
m
-Original Message-
From: Natalie D Rassmann
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:07 PM
To: Struts Users Mailing List
Subject: Cancel Button Not
My webapp without using modules work fine.
When changing to a multiple Struts module impl. both the Tiles actions
give a null pointer exception.
Could anyone confirm this ?
actionpath=/tiles-admin/reload
type=org.apache.struts.tiles.actions.ReloadDefinitionsAction/
action
o Firstly, Tiles assumes that a page is composed of
multiple content areas where you have one piece of
content to an area. This is true for a simplistic site
Though I'm new to Struts and Tiles, I planned on using the putList tag to add a group
of items/jsp's to a section of the page by
Hi
What should I do.
I would like to subscribe to struts mailing list.
-- Forwarded by Thaung Sein/CO/HIC on 06/08/2003 16:46
---
Kwok Peng Tuck [EMAIL PROTECTED] on 06/08/2003 15:56:39
Please respond to Struts Users Mailing List
[EMAIL
Hi Stephan,
mach ich gerne.
Grüsse aus Koeln
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think if you want to use set-property in the action mapping, you have
to extend action mapping class. This is what they did to configure it
for sslext:
action-mappings type=org.apache.struts.config.SecureActionConfig
actionpath=/secure/startSectionInsert
Here's the spec:
http://sunsdlc1-1.sjc-colo.bbnplanet.com/servlet/EComFileServlet/main_products/SDLC//ESD4/JSCDL/javabeans/1.01/beans.101.pdf?ActionId=verifyTicketId=Cl5Z%2BEmLVFM%3DTicketServerUrl=UMdnxpfbimnVhsPzHcxQH1vcfpnakcdixIDR8grWSV9U3HLSgqDMYN%2BV1osLy1dXQQ%3D%3DGroupName=5PoE
Ahhh.
I am not sure about Tomcat. I just know that most jsp containers compile
the source jsp files to servlets within the /WEB-INF/jsp folder so it
probably isnt the best place to put your source files.
-Original Message-
From: Cameron Hickey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August
Yes. Checked and double checked. See my previous response to David. The
controllerUrl attribute and the use of a TilesAction seems to work OK
Jerry Jalenak
Team Lead, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original
yes that did the trick. Strange, I remember trying that out before and not
succeeding. Must have been something else at that point in time.
Thank you for the advice.
//Linus
Riaan Oberholzer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I think you should use the struts-bean
I haven't used the verifyForwardPath() method in StrutsTestCase, but I am
using it with StrutsTestCase and yep, it works fine for me.
-Original Message-
From: Sachin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:10 AM
To: Struts Users Mailing List (E-mail)
Cc: [EMAIL
What I need to do the equivalent of this (note the significant piece is the
input attribute):
actionpath=/loadCompletion
parameter=subtask
type=my.web.loadrequest.action.LoadCompAction
name=loadReqForm
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
Iagree with U
---Original Message---
From: Struts Users Mailing
List
Date: Friday, August
08, 2003 04:27:23 PM
To: Struts Users Mailing
List
Subject: RE: struts
help required urgent
because I'm moving from one action to a second action within the scope
of the same request
I think I got that. Not sure whether I got your problem completely.
I created an ActionMapping class before, just to change the action-path
dynamically. Now I needed more information to configure an
Here's a example I did :
html:select property=offset
html:optionsCollection label=date name=DATE value=value
property=dates /html:optionsCollection
/html:select
'DATE' is a bean which has a attribute called 'dates' which returns a
(Vector) collection of beans. The beans in this collection
try
bean:define id="processName" name="filesForm"
property="processName" type="fully-qualified-class-type-name"/
-- nagi
---Original Message---
From: Struts Users Mailing
List
Date: Wednesday, August
#
In /WEB-INF/web.xml
#
welcome-file-list
welcome-file/index.jsp/welcome-file
/welcome-file-list
#
You could start by posting your question with a meaningful subject line.
http://www.catb.org/~esr/faqs/smart-questions.html
I might add that many of the folks on this list simply will not reply to any
post that has urgent in the subject line.
-Original Message-
From: [EMAIL PROTECTED]
I'm using WLS 8.1 , Tiles/Struts1.1Final and JSP's w/no problems.
-Original Message-
From: Witbeck, Shane [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 9:50 AM
To: [EMAIL PROTECTED]
Subject: WebLogic 8.1.1 and Struts 1.1/Tiles
Has anyone had any issues with JSP's not
Sorry, I was wrong with my action attribute on logic:redirect element, but a
simple look at the Struts doc should have suffice.
Please take a look at :
http://jakarta.apache.org/struts/userGuide/struts-logic.html#redirect
The forward or page attributes should hit the target for you.
My 0.02
In my Struts application I download a file from a database
that can be saved locally. However with Internet Explorer,
the name is corrupted(with brackets and a number one in between).
For example: Instead of file name, file_name, I have file_name[1]
It works perfectly with Netscape but not IE.
exact i was looking on the img tag :)
Thx
-Message d'origine-
De : James Mitchell [EMAIL PROTECTED]
À : Struts Users Mailing List [EMAIL PROTECTED]
Date : vendredi 8 août 2003 13:12
Objet : RE: Nobody know how to replace a struts submit button by an image ?
Did you actually look at
You might want to use velocity-tools, with Struts if the content is static.
It works with Struts, which would provide the controller, and
internationalization,
and the ability create interactive pages is needed.
I believe 'Struts in Action Book' has a chapter on it's use.
-Rob
Gary Kephart
due to may lack of experience, I am not sure if there are any implications
if I host a UK based web application on a Web server based in the US or any
other country.
Also, what are the important features I should be looking for when making my
decision - customer review and recommendations I
I did it with just a new ActionForward. I think my issue is a different
kettle of fish to yours.
The primary motivation may differ, but we end close to the same.
I now use an extended ActionConfig and added a new findForward(), where I can
evaluate the request/session-attributes.
In the new
--- Yann Cébron [EMAIL PROTECTED] wrote:
For the logic and I18N taglibs - what do you recommend - using the
struts taglibs or the JSTL taglibs?
Definitely JSTL. They're more powerful, easier to use, potentially
faster, and a Java standard.
not to forget: there's a good chance that
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 PROTECTED]
Sent: August 7, 2003 11:33 AM
To: Struts-Users
Subject: single checkbox - still
At 0:20 -0400 8/8/03, James Mitchell wrote:
Ok, I haven't dug in my heals to figure this out myself. I downloaded
jgs-struts-0.2-dev.jar, then configured my plugin:
plug-in className=com.jgsullivan.struts.plugins.DigestingPlugIn
set-property property=configPath value=/WEB-INF/config.xml/
How much are you expecting to pay for a shared machine with tomcat on?
And is that with or without root access? I am not suggesting anything,
but I am planning to do this myself and would like to find out prices.
What I have looked at so far for root access costs 49 euros (= dollars
almost)
Hi.
the .do in forwards to actions is necessary because when you make a
forward, the request is processed again by application server, if you not
add .do in forwards to struts actions then the application server do not
map the request to action servlet of struts.
Richard J. Duncan [EMAIL
This is my welcome.jsp file.
%@ page contentType=text/html; charset=UTF-8 %
%@ page language=java %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
html:html locale=true
head
titleWELCOME TO STRUTS/title
/head
body
logic:redirect
Is your Controller Class NewsController included in your applications
library / classes path ?
-Ursprüngliche Nachricht-
Von: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 6. August 2003 22:42
An: '[EMAIL PROTECTED]'
Betreff: Class Not Found Exception with Tiles
You got me there. lol
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:24 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: JSTL ot struts taglibs?
Just like you never said JSF will replace JSTL I never said I was going to
eat a
Thank you!
Looks good. I'll go for it.
cheers Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
Do Struts works with Tomcat 4.1.27 ?
thanks
-raj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tree in the example is generated from a model, but feel free to use the
generated/implemented code as a guide.
http://www2.metanology.com:8080/struts-examples-web/index.jsp
Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
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
Hehe! Nice fix:).
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: August 8, 2003 4:05 AM
To: Struts Users Mailing List
Subject: Re: Cancel Button Not Working in 1.1
I got the cancel button to work All I did was replace what I had..
html:cancel
The DispatchAction would dispatch to a method of the Action class
according to the value of a request parameter.
The LookupDispatchAction would dispatch to a method of the
Action class according to the label of a button, where *all*
related buttons should have the same name as it is
specified in
Hi,
you can't do that.
Your welcome file must be accessible directly via
http://yourserver/yourwebappcontext/common/index.jsp, without involving the
pattern matching mechanism - so it must not be in the WEB-INF directory.
Just put a single index.jsp at the root of your webapp, with a
Is there a solution without using JSTL? I run on BEA
WebLogic 6.1sp2 and there is a known bug which limits
the number of external jars you can import into an
application. Do a google search for
CR064391_610sp2.jar for more details on that.
Anyway, we cannot upgrade to a new version soon, which
I personally prefer to use: return mapping.getInputForward();
It's much neater, prettier and intuitive.
Shouldn't really matter though.
- Keith
-Original Message-
From: Deepak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 7:01 AM
To: Struts Users Mailing List
Subject: Re:
BTW, how could you eat those poor defenseless bunnies
They're very nice in a pie. Bunny stew is also pretty good. ;-)
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
field property=phone depends=requiredif
arg0 key=venue.phone /
var
var-namefield[0]/var-name
var-valuevenueId/var-value
Hi,
I want to set an attribute in the request in an action class and forward the
same request to another action class, the other Action class extends DispatchAction
class, And I do not have any execute method in the class, I am clubbing several
actions in the class and using different
Hello,
I urgently need some assistance with the following problem. I am attempting to get the
struts-example app up and running with the following configuration: Struts 1.1.b2,
Tomcat 3.3, on Novell with the JDK 1.3.
I continue to get the following error:
Bailey, Shane C. wrote:
Scriptlets are more powerful (you can do ANYTHING Java can do), faster, is a
standard (it is the Java language you know) and if you are going to spend
time learning a new language (${var} == pooPoo) then you would be better
off learning Java (assuming you don't already
Have you even tried Curried Bunny? It's Japanese curry I am talking about.
BTW, how could you eat those poor defenseless bunnies
First I have to do the tongue test in order to taste the flavoring, then I
open up my mouth and slowly take in the rich, creamy chunk of bunny meat
Me
hehehehehe (Scooby Doo laugh)
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 9:25 AM
To: Struts Users Mailing List
Subject: RE: [FRIDAY] Childern
Groan! That was bad, really bad.
-Original Message-
From: Mark Galbreath
It also looks in WEB-INF/lib/*.jar/META-INF/ for .tld files and simply
checks for the URI in .tld files. It doesn't actually go to it. For proof,
try the URI for Struts' HTML tag:
http://jakarta.apache.org/struts/tags-html
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
I didn't mean to imply that who sees what and when and logic in the JSP is
always a form of business logic. That is a good example.
I am just trying to figure out a way so that all the logic in the JSPs isn't
duplicated if you need to also support the same functionality in a Swing
app.
I
Do this: bean:write name=tmpIndex /
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 7. August 2003 23:30
An: Struts Users Mailing List
Betreff: Re: how to pass a jsp variable to a javascript function
I don't have javascript errors, the
As long as they keep this part of the tag libraries:
http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl-p5.html
JSTL will be an asset to all MVC architectures out there!!!
:-(
-
To unsubscribe, e-mail: [EMAIL
http://www.waferproject.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi;
For the logic and I18N taglibs - what do you recommend - using the struts taglibs or
the JSTL taglibs?
thanks - dave
RequestProcessor has a processPopulate method to init form fields in the
action form based on request parameters (though it actually delegates to
RequestUtils class to do the real work).
the processActionForm() method in RP is resposible for finding or
instantiating the action form instance based
Hi,
Physically, i have /WEB-INF/common/index.jsp
In web.xml, i access with
welcome-file-list
welcome-file/common/index.jsp/welcome-file
/welcome-file-list
Thanks.
-Message d'origine-
De : Kommineni, Sateesh (IndSys) [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 8 août 2003 14:42
Are there any good design guidelines for implementing a chain of
Command/Workflow like approach to actions.
ie a specific action can drive a number of different flow of pages.
a-b-c-d-a
a-c-a
a-b-d-a
Thanks
John
John McRobb
Corporate Channel Delivery
Royal Bank of Scotland
4th Floor
113
Hello all,
I was looking for a solution to a problem where within a JSP page I need to
store a message (that I can obtain from bean:message tag) in a string for
later use. I tried the example below with the following values:
bean:define id=schemaNamebean:message key=db.schema//bean:define
When I say I don't like $var in tags I mean more like I don't like script
like code in tags. That is why I was confused for a second that Ant didn't
have $var, I meant I am not used to seeing real script like code in Ant
e.g. c:when test=${item.type == 'book'} , note == in the tag. Ant has
no
Just like you never said JSF will replace JSTL I never said I was going to
eat a bunny. ;)
-Tim
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:05 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: JSTL ot struts taglibs?
It
I have two actions chained together. They both take the same formbean.
The first is sectionInsert.do and the second, which sectionInsert
forwards to on success, is sectionEdit.do
sectionInsert.do receives the properties of a Section in the request
parameters, including id=0 where it is 0
Joe Germuska wrote:
At 14:12 -0700 8/7/03, James Mitchell wrote:
I noticed the check in of DigestingPlugIn and I want to try it out.
Unless I missed it somewhere, it's not clear to me how to use it. If
it actually does what I'm
hoping/guessing (based on the name and comments), I'll be one
Same sentiment here.
Where is the list of complete variable properties the the var element uses to
pass to the validator?
I was so confused that field-test[0] and fieldTest[0] both seemed to be valid
properties, until I read a tutorial by James Tuner that Change was made between
Beta 1 and RC1,
Sorry but I have still the same problem. The following ( which is
actualy static ) doesn't work
I get a :Request[/search] does not contain handler parameter named
action
Whats wrong with his one ?
SCRIPT language=javascript
function doSubmit() {
var url =
I like it how some people don't get disturbed by questions about connecting
to a database with JDBC to the Struts user list but get mad if you post a
differing opinion about the crappy way some tags were written that
interfaces with Struts code. What an ACE!
[vote]: +1000
For info,
Just changed struts.jar to 1.1 ( not beta ). Everything works fine
-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:45 PM
To: [EMAIL PROTECTED]
Subject: DynaActionForm BUG?
Hi,
I have a big form with a number of multibox
This will work ..
html:submit property=action
value=bean:message key=search.button.reset /
/html:submit
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:29 PM
To: Struts Users Mailing List
Subject: Button labels and
JSTLIYF:
c:import var=resp url=/dynamic.jsp
c:param name=p1 value=v1/
c:param name=p2body content as param value/c:param
...
/c:import
Which will give you a page-scoped attribute called resp of type String.
Quoting Andy Kriger [EMAIL PROTECTED]:
I would like to call a JSP (using
logic:iterate should be fine. If the resultset is too
big, then you'll get some serious memory overflow
error anyway.
Consider limiting the ResultSet using the
Statement.setMaxRows(x).
Make it something like 5000 and if the actual returned
ResultSet is bigger, you can warn the user with
78 matches
Mail list logo