Hi,
Has anyone used Form based authentication? How does action
="j_security_check" work?
Thanks,
Nagalli
"ameer"
Im facing problem in displaying a forwarded jsp where in the form values
are coming from the request attributes set in action class. im getting the
attribute values but the struts-form tags are not getting converted to what it
is supposed to. my jsp is like this .. the tag works fine for the
Hi,
The Orion documentation about the load-on-startup states that the optional
contents of these element must be an integer indicating the order in which
the servlet should be loaded.
Then if you use values like 1 (ActionServlet) and 2 (ValidatorServlet) or
any different values you want, it shoul
As no-one has provided any thoughts on this one I thought I would repost and
give a bit more detail on how the error is being caused.
Problem: The validate(mapping, request) method on the ActionForm class is
not completing sucessfully in Struts 1.0b3 where it was in Struts 1.0b1.
Detail: This
You can keep it in any dir in web tier, but there should be an entry in
web.xml.
Rgds,
Manoj
-Original Message-
From: Wes Bramhall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 3:17 AM
To: '[EMAIL PROTECT
>I'm not suggesting that coding this way is wrong. I would suggest that this
>isn't optimal model/view separation, which is one of the main motives for
>using Struts, right?
What really is true model/view separation. In the 15 years or so that I've
been coding, I find this to be more of an acade
so, is the first time you have tried to run the app or have you already had
it working using your existing directory structure and config files?
Often this error is a case sensitivity classname issue, or a directory path
issue
-Original Message-
From: Zaremba, Don [mailto:[EMAIL PROTE
Could you create these request scope beans as properties of the
ActionForm?
David Noll wrote:
>
> Max,
>
> I don't know if it's the official way to do it, but in my ActionForm's
> validate() method, I call mapping.setInput() with the full path of the
> original Action. An important thing to not
Max,
I don't know if it's the official way to do it, but in my ActionForm's
validate() method, I call mapping.setInput() with the full path of the
original Action. An important thing to note is that if your Action class
pre-populates an ActionForm for the page, you should check for the
ActionForm
Yes, I check those two (and double checked), they are ok
-Original Message-
From: Nigel Ainslie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 6:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: class not found errors
..have you made sure that all your declarations in your struts-co
Hi Ted , it did thanks.
Ted Husted wrote:
>
> You can configure Postgresql in the struts-config.xml, and then use the
> same datasource with the Jakarta Taglibs JDBC. Works like a charm.
>
> Struts uses "org.apache.struts.action.DATA_SOURCE" as the datasource
> identifier (see Action.java).
>
Hi ,folks thru struts i have been able to create / modify a taglib from
within netbeans v3.2 tomcat as the container (win98 OS )and connect to a
postgresql test database on lunix thanks all , anyway as a newbie please
could you point me in the right direction to how and where i set up my
companies
I have been creating multiple methods and hoping I was doing the right
thing. Looks like it is...
public String getCreation() ;
public Date getCreationAsDate() ;
public int getCreationAsInt() ; // for epoc seconds I guess
The first method pulls from a String property and
I agree.
The primary fields on an ActionForm must be Strings, ActionForms should
not be used to store persistent data, and the beans used to store
persistent data should use appropriate types.
The peristent data beans should not have to worry about data
conversions, and so that task should be
..try WEB-INF/classes
Cheers Nige
-Original Message-
From: Wes Bramhall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 6 June 2001 7:47
To: '[EMAIL PROTECTED]'
Subject: More help Plz: Exception thrown processing JSP page...
"index.title=MailReader Demonstration Application (Struts 1.0-
"index.title=MailReader Demonstration Application (Struts 1.0-b1)" is found
in my ApplicationResources.properties file.
Could the file be in the wrong place? Where is it supposed to be?
Thanks,
-Wes
-Original Message-
From: Afzal, Tanver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 0
..have you made sure that all your declarations in your struts-config.xml
file match case-sensitive to the LogonForm.class (as opposed to Logonform or
logonForm etc) and made sure that in your jsp you have maintained case
sensitivity for calling your ".do" action class?
Just a thought :-)
-O
Daniel,
How
did you convince Websphere to use your updated version?
I
tried adding the updated FormTag but it's not being picked up. I know
it's
a
classpath issue, but I can't figure it out. From my
experiments, it looks like Websphere 3.5.3 uses an
old version of struts internally --
That was a typo, it was in webscm/logon
-Original Message-
From: Nigel Ainslie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 6:31 PM
To: '[EMAIL PROTECTED]'
Subject: RE: class not found errors
..is this just a typo or the cause of your error???
You say you have a class file i
..is this just a typo or the cause of your error???
You say you have a class file in ellacoya/webwcm/logon but the output seems
to be looking in ellacoya/webscm/logon (i.e. webwcm vs webscm)
Cheers Nige
-Original Message-
From: Zaremba, Don [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Thanks for the idea.
- Original Message -
From: "John Raley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 5:01 PM
Subject: Re: throwing Exceptions from perform()
> Hi Jonathon,
>
> Struts calls Action.perform from the ActionServlet. Servlets are
> allowed
Apparently someone's spam filter doesn't like x's being lined up in bunches
of three or more ;)
Paladin wrote:
> Incident Information:-
>
> Originator:"Deadman, Hal" <[EMAIL PROTECTED]>
> Recipients:[EMAIL PROTECTED]
> Subject: RE: Query: ActionMappings
>
> Message from "Deadman, Hal" <
I keep getting class-not-found exceptions trying to deploy with JRUN 3.0
There is a LogonForm.class file in
servers/default/webscm/Web-Inf/classes/com/ellacoya/webwcm/logon.
Any suggestions?
don
/webscm/logon/logon.jsp:
javax.servlet.ServletException: Exception thrown processing JSP page.
ja
Incident Information:-
Originator:"Deadman, Hal" <[EMAIL PROTECTED]>
Recipients:[EMAIL PROTECTED]
Subject: RE: Query: ActionMappings
Message from "Deadman, Hal" <[EMAIL PROTECTED]> was NOT delivered,
because it contained banned content.
Yes you can. Just set the path to the path for the action and include the
.do extension.
XXX
> -Original Message-
> From: Upadhye, Sujit (GEAE, Foreign National)
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 5:52 PM
> To: [EMAIL PROTECTED]
> Subject: Query: ActionMappings
yes.
-Original Message-
From: Upadhye, Sujit (GEAE, Foreign National)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 5:52 PM
To: [EMAIL PROTECTED]
Subject: Query: ActionMappings
Hello,
In local-forwards, can I forward the control to another Action object
instead of forwarding
Hello,
In local-forwards, can I forward the control to another Action object
instead of forwarding to a JSP?
Sujit Upadhye
Alas, it is not permitted.
"SHROM,BENJAMIN (HP-USA,ex1)" wrote:
> Hello,
> Does anybody know how to remove history list from browser using JavaScript?
> Benjamin Shrom.
Hello,
Does anybody know how to remove history list from browser using JavaScript?
Benjamin Shrom.
Title: testing for a nested bean value
Hi-
Say you have a bean in the request that is being processed by the jsp, call it
resultBean. In this bean you have a bean called multimediaBean, and this bean has
a property called url.
So, I think I should be able to say
" >
But if the multimedi
Incident Information:-
Originator:Joyce Tang <[EMAIL PROTECTED]>
Recipients:"'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]>,
"'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]>
Subject: RE: URGENT - PLEASE HELP: DROPDOWN BOX
Message from Joyce Tang <[EMAIL PROTECTED]> was NOT delivered, because it
co
Title: RE: URGENT - PLEASE HELP: DROPDOWN BOX
Try this
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 6/5/01 1:58 PM
Subject: URGENT - PLEASE HELP: DROPDOWN BOX
Hi,
In my form bean I have the following code:
private
My findings with the following settings:
==
load-on-startup=0 or 1
web.xml's setting definition sequence:
1. validator servlet
2. strut action servlet
==
All registration example -> javax.servlet.jsp.JspException: Cannot
Did you try leaving your value set to 2 on the action
servlet configuration?
Chuck
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 3:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?
I still ha
Hi Jonathon,
Struts calls Action.perform from the ActionServlet. Servlets are
allowed to throw only these two exceptions from their service() methods
- so you'll need a proprietary Servlet framework as well... :^)
In my app I have a base Action class with a final perform() method. All
of my
Hi,
In my form bean I have the following code:
private void setHmTitles()
{
hmTitles.add( new LabelValueBean (" ", 0) );
hmTitles.add( new LabelValueBean ("Mr.", 1) );
hmTitles.add( new LabelValueBean ("Mrs.", 2) );
hmTitles.add( new LabelValueBean ("Ms.",
AS SEEN ON NATIONAL TV:Making over Half Million Dollars
every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars
expense one timeTHANK'S TO THE COMPUTER AGE AND THE
INTERNET!==BE A
MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!Be
I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:
500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(Requ
Be sure you've included the logic tld. The "I am here" would display
regardless, since the browsers ignore tags they don't understand.
Alex Colic wrote:
>
> Hi,
>
> I have an object in the session that if it is not there I want to display
> and error msg to the user. My error code is as follow
Are you getting a JavaScript error? If so this may be fixed in a more recent
struts build. There used to be a problem setting the focus on fields that
used the nested property syntax.
> -Original Message-
> From: Alex Colic [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 4:11 PM
Alex,
If you don't fill in the 'value' attribute , struts will call the
form.getRequisitionLines().getDescription() (where form is mapped in the
struts-config.xml file for your action) and populate the 'value' attribute.
However if you polulate the 'value' attribute, struts will show that v
Hi Wes,
please look that ApplicationResources.properties file contain the key
index.title.
Thanks
Tanver
> -Original Message-
> From: Wes Bramhall [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 4:24 PM
> To: '[EMAIL PROTECTED]'
> Subject: Plz help: Exception thrown proces
Just a few notes:
1. Struts doesn't dissallow the operations you outline below. If you are
using Struts, and you really need to do this, you can make the same calls
from your Action implementation.
public class SomeAction extends Action {
public ActionForward perform(ActionMapping mapping, Act
Hi,
I am trying to set the value of a textarea that I have created via:
When the page is displayed the textarea text is populated with
"requisitionLines.pcitem.name" not the value held in the bean.
Could someone tell me what I am doing wrong?
Thanks
Alex
Alex Colic.vcf
Hi, I am getting an error setting focus to a textbox.
My form tag is as follows:
I have created a text box as follows:
What I am trying to do is set focus to the text box when the page is loaded.
Any ideas where I have gone wrong?
Thanks for the help.
Alex
Alex Colic.vcf
I know that I've read about this error on
the list before, but I've not been able to fix it with any of the suggestions
given. As far as I can tell, struts.jar is in the right place. Am I
the only one working on a Windows 2000 box running JRUN?
I'm just trying to get the struts example to
Hi,
I have an object in the session that if it is not there I want to display
and error msg to the user. My error code is as follows:
I would think that the above code would show the message if the
"VendorResourceList" object is not found in the session but the error msg
is always
I am seeing that I can only throw IOException and
ServletException from my Action classes. Now I was thinking about adding
Exceptions to the Action class but that would make it proprietary. I
could add just Exception, but I dont want to change anything without good
reason. Can you all tel
Sorry... the error generated from my JSP is as follows, and not the
error included in the original message:
javax.servlet.jsp.JspException: No getter method available for property
customers for bean under name null
at
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:338)
Hi everyone,
We ran into a problem running b2/b3 on Servletmill that others seem to have hit with
WTE. It occurs when trying to access the login page from struts-example, you get an
IllegalArgumentException with message "Can't remove attributes from request scope".
It seems this thread discu
Levi,
The view/JSP does not acquire the resource. Here is a sample of how the
code use to work pre-struts:
Servlet.doGet()
{
...
rs <-
request.setAttribute("rs", rs)
requestDispatcher.include()
rs.close();
}
In JSP:
...
> Now I've got
> Begin event threw exception
> java.lang.ClassNotFoundException:
> org/apache/struts/util/GenericDataSource
>
> when Tomcat tries to compile struts-config.xml
>
> I can see that struts.jar is in the /lib folder and
> GenericDataSource.class
> is there, so what am I missing? Is
Title: GenericDataSource error
Hi,
I need to get familiar with using Struts and JDBC and I'm trying to run the fruit-glaze application. I've installed mysql and the driver, added the driver to my classpath and started mysql as a service. Then I added fruit-glaze.war to the webapps folder
Can you elaborate on your resource cleanup requirements?
My view on designing a responsible object is that I must make sure it
eventually releases any, non-memory, finite resources it uses. This design
strategy, coupled with garbage collection ensures my system doesn't run out
of those resources
Ant's user manual has lots of useful pointers for you.
http://jakarta.apache.org/ant/manual/index.html
A quick fix for your junit problem is to place junit.jar in your CLASSPATH
or in the $ANT_HOME/lib directory.
HTH,
Levi Cook
FYI, JUnit and Ant both have good mailing lists for further info on
-Original Message-
From: Paladin
Sent: Tue 6/5/2001 7:30 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Report to Recipient(s)
Incident Information:-
Originator:Ted Husted <[EMAIL PR
There has just been a discussion of adding an additional parameter to
logic:present to tell it how to cope with empty Strings. Right now, it
expects empty Strings to be represented as null.
See <
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg01451.html
>, et seq., for more.
The
I'm new to struts and would like to get a handle on a few things. I
made certain to search the archives for an answer to my current problem,
but was unable to find an answer. So I post my question here.
I have an ActionForm in which I added a method that queries a database
and gets a name/id
I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.
It worked when I changed the load-on-startup value to 1 (or 0). A value of
2 caused the mentioned error. What was weird is that if I moved the
definition for the validator below the strut action servlet
definition in the web.xml file I w
Hi,
during the development of one project using Struts I experienced some
problems with the logic:equals tag. What I want to do is to compare a string
in an ActionForm to the empty string. As far as I understand it, I would
have to use two nested tags like
What version are you using and what did you change to
make it work. Maybe I can fix it. Does Orion only
accept '1' as a valid load-on-startup value?
2
David
--- Chuck Stern <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> chuck
>
> -Original Message-
> From: DeVincentiis Giusti
Peter Alfors <[EMAIL PROTECTED]> writes:
> I don't think that you have control of when the frames are loading. The browser
> attempts to load both frames simultaneously. (Please correct me if I am wrong)
> Therefore, you would have to do something kinda funky (javascript) to instruct
> another fr
Incident Information:-
Originator:Ted Husted <[EMAIL PROTECTED]>
Recipients:[EMAIL PROTECTED]
Subject: Re: Action before loading a page
Message from Ted Husted <[EMAIL PROTECTED]> was NOT deliverd, because it
contained banned content.
Both JSPs and Actions are called by a HTTP request. It can be helpful to
think of Actions as "invisible pages" that respond to a request with a
"visible page".
Any place where you request (or "load") a page, you can request an
Action instead. So however you "load another file in the second frame
I don't think that you have control of when the frames are loading. The browser
attempts to load both frames simultaneously. (Please correct me if I am wrong)
Therefore, you would have to do something kinda funky (javascript) to instruct
another frame to 'reload' after the current frame finishes.
There is a working example in registration.jsp of the struts-example webapp.
> -Original Message-
> From: Geoffrey Van Nuffelen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 5:28 AM
> To: Struts-User (E-Mail)
> Subject: logic:iterate or bean:write ERROR !!!
>
>
> Hi all,
>
I have a frameset of 2 frames. The first frame loads a JSP file containing a
custom tag. The tag retrieves a list from my database and displays it as a
drop down list. The tag then marks the first entry in the list as default
and then load another file in the second frame. In stead of having a sta
Thanks, that worked.
chuck
-Original Message-
From: DeVincentiis Giustino [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?
I used the validator with Orion and had a similar behavior, the
Hi,
Thanks a lot!
I will take a look at the link!
^torsten
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 2:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Newie question
>
>
> You could take a look at Part 2 of Strut by Strut, under Com
You could take a look at Part 2 of Strut by Strut, under Coming Soon at
< http://www.husted.com/about/struts/ >
I'm working on some generic Access, Search, and Result actions there.
Though, the usual approach would be that control goes to an action that
manages the data retrieval and forwards th
I used the validator with Orion and had a similar behavior, the problem was
in the web.xml.
Check that the values for the ActionServlet and for the
ValidatorServlet are correct.
Hope this help,
Giustino De Vincentiis
-Messaggio originale-
Da: Chuck Stern [mailto:[EMAIL PROTECTED]]
Invia
http://www.acoin.com/i18n/
http://www.cs.uu.nl/wais/html/na-dir/internationalization/programming-faq.html
http://www-106.ibm.com/developerworks/java/library/j-rbmgr/index.html?dwzone=java
http://www-105.ibm.com/developerworks/education.nsf/java-onlinecourse-bytitle/F0CB1417D1C6BD9986256906
I have boiled down action forward to a few exact
situations. I would only want to do any of the following
situations:
1) take me back where I was
2) take me back to where I was trying to
go
3) take me to a specific page
4) take me to a default page
I dont believe there is currently a neat
I, too, use Resin without problems. I have seen the "repeating" problem,
but only when mistakenly I bring up Resin on a port that is already
being used by some other server.
- Original Message -
From: "Matthew Heaton (Software Engineer)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: M
Links to developing internationalized
websites
Cheers
yarranet.net.au - papers on multilingual web publishing.url
cs.uu Programming for Internationalization FAQ.url
developerWorks - Harnessing internationalization.url
IBM International Text in JDK 1.2.url
IBM java classes for Unicode.url
Hi,
Im I have just started using Struts and the idea
of the framework seems great!! I could however
use some help getting started the right way!!
I want to do as folows:
A jsp page with an input fields takes as input
a string used to perform a seach in a database.
E.g., a substring of the nam
jeez. You are up early!
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 6:30 AM
Subject: Re: newbie to struts - confirm hierachy( packages - webapps)!!
> Some people like to keep the source Java files at a separate locati
Title: input in XML config
Hi,
in an action mapping i'd like to reexecute the complete action instead of a simple jsp when the validate method of the form fails, because i need to create some beans having request scope
So my question is...
Is it possible to have an action in the input fiele o
Some people like to keep the source Java files at a separate location,
and then have Ant copy them over to the classes directory, but mixing
the class and java files in the same folder works too.
Personally, when using a package hierarchy for my classes, I tend to
just name things
.\logon\Form.
Hi all
Still not getting this hashmap thing write...here is what i'm trying to do.
I have a hashmap with a list of key-value pairs.
I don't want to go thru each element and list it, i just want to evaluate
the equivalent Java code : if (map.containsKey(LIC.LINE_TYPE)){
I want to find out wh
Hi,
We have a web application on struts framework. Now we would like to use
personalisation features of WLPS. Has anyone tried this? Any suggestion or
guidelines is greatly appreciated.
Thanks,
Nagalli
Thanks
Ameer.
-Original Message-From: ameer
[mailto:[EMAIL PROTECTED]]Sent: 05 June 2001 11:25To:
[EMAIL PROTECTED]Subject: Re: Struts and
EJB's
Hi Taylor,
imcurrently trying the samething on
weblogic.. give me oneday time once im up with an example i would give you
Hi,
I would like to try David Winterfeldt's validator for a new project I'm
working on but I can't seem to get it to work with Orion 1.51. The default
welcome page comes up and I can see the validator initializing. I get the
following when trying to go to the registration example page:
javax.s
I decided to NOT use the Struts.jar, but instead
use the Struts source files, and then add my own directories below the classes
directory for that particular web app. That way I could tweak Struts and
have a better way of replacing updates to the classes. My setup is like
this:
1) Struts f
Hi Taylor,
imcurrently trying the samething on
weblogic.. give me oneday time once im up with an example i would give you the
source
regards,
Ameer Hussain SSs/w
engineerYashaa Infotech Pvt.Ltd.#14 , 10th Main, HAL 3rd
StageBangalore 560075phone: 5294430/53 http://www.yashaa.com
We are building an application and hoping to take advantage of the Struts
framework in conjunction with EJBs. If there is anyone out there using EJBs
and can give example code or any advice on implementation, advantages,
pitfalls or constraints in this area, I would be very gratefull.
Many thanks
Hi, i have constructed a web app within my file system as follows:- C:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes\logon\LogonForm.java
The struts-bbnpa is were im placing all my work. thus the examples
custom and logon packages are beneath my classes directory. Thus is this
the co
Hi all,
I always have a problem with the iterate and write tag.
If I don't specify a "bean:write" tag into an "logic:iterate" tag, I don't
have any error... But If a specify a write tag I have an exception error :
The error :
---
javax.servlet.ServletException: Cannot find bean clie
Hi,
In a jsp page,
I would like to use several images such as submit button;
and on "onClick" event, change the value of an input tag
How can I do ???
I try to use a JavaScript function that I call on "onClick" event:
function subWithOption(s){
with (window.document.forms[0]){
opt
89 matches
Mail list logo