GREAT! THATS EXACTLY HOW I FEEL, thanx, now i'm getting that good feeling
again that what i've done is ok...
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 2:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Javascript Validation
On Fri,
thanx, appreciate the suggestion
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 1:47 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Can anyone help with solving the BACK button problem, in
th e browser?
On Fri, 8 Jun 2001, Dudley
HI,
How do i forward attributes from Action class,
which can be accessed in the jsp page. so that specific error can be
displayed
mapping.findForward("failure");
forward name="failure" path="/examp/logon.jsp"
/
thanks rajiv
Sorry, I should have said If the bean goes away, then so does the only
reference you'll get to the file that holds the uploaded data. The FormFile
object, which contains the relevant information, will go away when the bean
goes away (unless you have another reference to it, of course). The
I've try struts and impressed by its MVC framework.
But I found that there isn't a good solution for user
management.
Would anybody suggest a solution to solve following
problem?
role based security system
user registration
Maybe some open source project which can cooperate
whith struts.
Hi
Here is a small doubt. Please inform me where should I call a file with .do extension and where should I call the same file with .jsp extension.
Looking forward
SrinivasDo You Yahoo!?
Yahoo! Mail Personal Address -
Get email at your own domain with Yahoo! Mail.
Hi, The struts-template worked as i placed all my companies html elements
pages in the stuuts-template(web app) i dont think that was the norm. Anyway
i am going to try your advice.
Cheers Chuck.
William Jaynes wrote:
I put my style sheets in a directory at the top level of my web
The file it errors out on is an image .GIF file. The ZipException is:
java.util.zip.ZipException: invalid entry size (expected 18861 but got 18862
bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:355)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:144)
Hi Eda,
This all depends on your web.xml and your struts config.
The do extension is the default used by struts and configured in your web.xml to invoke the action servlet.
This will then work out which action bean to invoke. So if your want to run an
action bean directly you would
Hi here!
Being somewhat new to struts in general and in combination with Websphere
Application Server (WAS) in
particular I have the following questions for you:
Is it correct that only the struts-1.0-b1 distribution will work with WAS?
I have deployed struts-example.war and
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: 10 June 2001 02:00
To: [EMAIL PROTECTED]
Subject: Re: Exception handling in the ActionServlet
On Sat, 9 Jun 2001 [EMAIL PROTECTED] wrote:
Hi,
I would like to catch all of our project
Hi,
User management is a tricky one, have you looked at form base
authentication? See Section 11.5.3 of the Servlet 2.2 spec.
This works with most containers, but the setup mechanism will be different.
What container are you using?
You may still wish to create a user object based on info
I am looking for a way to invoke different Actions from one form
depending on the button clicked by the user.
Is there a simple way of configuring Struts to do this?
Corneil du Plessis
AFA Systems
Tel: +27 11 886-6938
Fax: +27 11 789-4907
Cell: +27 82 802-5768
Hi, there folks , Firstly regarding Cascade Style Sheets it worked by moving
it to were web apps was looking at top level. My next problem i have scripted
a infoscroll script (window status in JavaScript for our Index.jsp , thus
it works on my personnal site albeit not my conpanies prototype.
I
i, there folks , Firstly regarding Cascade Style Sheets it worked by
moving it to were web apps was looking at top level. My next problem i
have scripted a infoscroll script (window status in JavaScript for our
Index.jsp , thus it works on my personnal site albeit not my conpanies
prototype.
I
Hi,
thanks a lot for your response.
--- Jon.Ridgway [EMAIL PROTECTED] wrote:
Hi,
User management is a tricky one, have you looked at
form base
authentication? See Section 11.5.3 of the Servlet
2.2 spec.
Yes,I have looked at form base authentication and
section 11.5.3 of servlet 2.2
I am trying to create a form which has request scope, so that it can be
autopopulated when the form is displayed. However, when I go to the jsp
the fields are not filled in and if I put debug statements in
FormTag.doStartTag() I realize that the form is tied to a session scope.
The following is
If you check out http://developer.bluestone.com (look under demos -
internationalization), you will see a sample application that does
essentially what you want to do. The application has been localized to
Spanish, Chinese and English. The language is selectable in a drop down.
In addition, your
Hi all
I have created a project with Struts and now I want to change the User
Interface of the jsp files in it. I want to change the positions of the
components like label, textfields, combo boxes and their foreground and
background colors.
If I had not used struts, then I would have changed the
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
The scope in which the ActionForm class is placed is defined by the *scope*
attribute of the action mapping within struts-config.xml.
The following should work, but I don't know if it's what you're after.
In struts-config.xml
form-bean name=frmVendor type=com.aholdusa.struts.view.N1Form/
and
One of the problems I'm having with template:include/ and probably
more with the XML nature of JSP is that html:XXX form elements
have to be within html:form/html:form tags, and no in an include
used by template:include/.
I have common components that different forms use, but have to do
either
I had
problemswith wls sp8. It worked with sp9. I'm using struts
beta3.
-Original Message-From: zhongqing
[mailto:[EMAIL PROTECTED]]Sent: Thursday, June 08, 2000 11:34
PMTo: [EMAIL PROTECTED]Subject: How to use
struts in the weblogic5.1
can somebody share some
Hi Satish,
You can easily change the colors and the cells alignment by using different CSS files.
HTH,
Jean-Noël
- Original Message -
From: Satish Khanzode [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 2:11 PM
Subject: Changing UI
Hi all
I have created a
Hi, have i got to create a JavaScript (Resource Folder) at the same level
as Cascade Style Sheets, thus each JavaScript code to be named separatly
and given a .js extension, in order to include in .jsp pages. ie
script language ="JavaScript" src="javascript(Resource Folder)/WindowScroll.js">
Hi,
You seem to facing the same problem that I am. I'm using tomcat to do form
based auth. This way I can take advantage of container security features and
use the struts role based templating.
I invoke the form based auth by invoking an action class within a secured
area. This way the user
Hello Sunil,
You must place struts.jar to the WEB-INF/lib directory and cut it from
CLASSPATH. And try to install latest jaxp1.1.
Monday, June 11, 2001, 8:36:31 AM, you wrote:
SPS Hi group,
SPS I am trying to using the struts framework and trying to run one example.
SPS I am getting the
Hi,
Sorry I have not thanked everyone for all their help. Using everyone's
suggestions I have created a web page which allows a user to select a
different language for my web app.
Once again thanks all.
Alex
To Ted Husted -
Hi, have i got to create a JavaScript (Resource Folder) at the same
level as
Cascade Style Sheets, thus each JavaScript code to be named separatly
and
given a .js extension, in order to include in .jsp pages. ie
script language ="JavaScript" src="javascript(Resource
Hi Satish,
It is possible to use struts with Dreamweaver UltraDev. I think details have
been posted on this list in the past. See
http://www.mail-archive.com/struts-user@jakarta.apache.org/
You might also want to look at the struts template tags. See the
struts-template example provided with
Hi, Satish regarding your javascript , i assume that you created a
javascript resource file and beaneath this file is CansysScript.js .
Thus I am using Netbeans IDEv3.2 and tomact container i am not aware or
know how you create a javascript extension also the fact i have always
embedded my
Jon
What is struts role based templating? Sounds good but I am not familiar with
the technique.
Thanks
Tom Miller
Jon.Ridgway wrote:
Hi,
You seem to facing the same problem that I am. I'm using tomcat to do form
based auth. This way I can take advantage of container security features and
I need to pre-populate my form and do some business processes prior to load
a page. Where would be the best place for this. I don't want to put it in
the peform method of the from page. And doing business process at the
form bean does not seen appropriate.
thanks
Hello,
I have created a javascript widget which lets users move options from one
multi-select to another as input to a search. For example they can select
one or many hardcoded options in an allowed select box and then click on
an arrow to move the selected options into the
I'm trying to get struts working with wml. Everything works fine beside the
fact, that struts always thinks it is able to place a cookie at the browser
(Nokia 6210). This seems not to be working, as nothing keeps stored in
session. I can't reproduce this error with the blueprint from Nokia
Hi,
I think that inserting Components or Templates using html:xxx
within html:form/html:form should work.
For this to be possible, html:XXX tags should use request context
rather than page context to store/pass bean. I have read in previous
mails that all html:xxx tags are in the
Hi Tom,
Struts provides the template tag, one of the options for this tag is 'role'.
This uses request.isUserInRole (). User roles are setup by the containers
security mechanism. I haven't found a way to programmatically set user
roles. So if you want to use the 'role' option of the struts
Hello rajiv,
Monday, June 11, 2001, 3:35:13 PM, you wrote:
rm How do i forward attributes from Action class, which can be
rm accessed in the jsp page. so that specific error can be displayed
rm mapping.findForward(failure);
rm forward name=failure path=/examp/logon.jsp /
Add redirect
Hello Eda,
Monday, June 11, 2001, 11:39:58 AM, you wrote:
ESE Hi
ESE Here is a small doubt. Please inform me where should I call a
ESE file with .do extension and where should I call the same file
ESE with .jsp extension.
*.do is not file - web.xml maps all requests to this extension to the
I do the following:
1. Let us say, you want to submit from 'fromPage' and want to do some
pre-processing before you give out 'toPage'.
2. In all my Action objects, I have two methods - 'preprocess()' and
'postprocess()'.
3. I submit ALL the requests from 'fromPage' to the Action object
Hi all,
I have the same goal of Kat Luna.. and I have the same syntax.
But for me, I think that the error come from the bean:write tag. This tag
don't find the scope of the bean and then don't find the bean.
I really don't know what I have to do.. I don't think so that use the
standard jsp
Dan,
Ok, I'll try that (even though I ordered 3.5.3but it'll be a while
before I get it). Do you have the title of the article for integrating
3.2.1 into VAJ on VADD? The thing I'm curious about is in the IBM Tomcat
Integration bundle, IBM has a Runner class that handles Tomcat startup and
Hi,
I am looking for a way to invoke different Actions from one form
depending on the button clicked by the user.
Is there a simple way of configuring Struts to do this?
not a very simple way. But you can write a dispatcher action that forwards
to different actions depending on a request
Many times pre-processing and post-processing are related, and it can be
convenient to handle both in the same Action class.
A good way to implement this is to have a seperate Action Mapping for
each task (pre-process and post-process). Both mappings would point to
the same Action but use
I'm trying to figure out how to pass a constant name/page to the example checkLogon
tag. I created a Constants class, with -
public final static String STAFF_LOGIN_KEY = test:staffloggedin;
in my jsp I put -
app:checkLogon name=% Contants.STAFF_LOGIN_KEY % /
The issue is that it sets name
On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote:
I'm trying to get struts working with wml. Everything works fine beside the
fact, that struts always thinks it is able to place a cookie at the browser
(Nokia 6210). This seems not to be working, as nothing keeps stored in
session. I can't
On Mon, 11 Jun 2001, McShane, Matthew wrote:
Hello,
I have created a javascript widget which lets users move options from one
multi-select to another as input to a search. For example they can select
one or many hardcoded options in an allowed select box and then click on
an arrow to
Craig -
I had tried it as a runtime expression (and just tried it again) -
app:checkLogon name="%= Constants.STAFF_LOGIN_KEY %" /
but get the same result?!? If I put a system.out.println in the doEndTag of
checkLogon, it prints name = "%= Constants.STAFF_LOGIN_KEY %".
This is with Tomcat 3.2
but what about when i get sent back to the form (perhaps from a validation
error). How will the selected select box repopulate itself if all it has
to go on are the Strings in the associated array?
matt.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent:
Hi,
I think I'm missing something here. I have a bean that is available to my
page in the request scope. Within that I have another bean that has
properties I want to display. I'm trying to use the define tag to get a
reference to the embedded bean and I'm getting the infamous:
Hello AFASA,
Monday, June 11, 2001, 2:50:08 PM, you wrote:
ACdP I am looking for a way to invoke different Actions from one form
ACdP depending on the button clicked by the user.
ACdP Is there a simple way of configuring Struts to do this?
You can implement one of your actions as switch
Hi
Zhongquing,
Where is your servlet mapping?
--Abraham
-Original Message-From: zhongqing
[mailto:[EMAIL PROTECTED]]Sent: Thursday, June 08, 2000 7:29
PMTo: [EMAIL PROTECTED]Subject: cann't
work
HI
I have a problem in using
struts.The details are as follow:
Aha ... that's because the app.tld for this attribute declares that it
does not accept runtime expressions. You can go ahead and change that on
your copy (it's in the WEB-INF directory of the Struts example
declaration) if you want -- this will be fixed in the final 1.0 release.
Craig
On Mon,
On Mon, 11 Jun 2001, McShane, Matthew wrote:
but what about when i get sent back to the form (perhaps from a validation
error). How will the selected select box repopulate itself if all it has
to go on are the Strings in the associated array?
The set of selected objects will be marked
Is your getter method really as you posted it? That just returns the
parameter it is passed. It should be this:
public AddressInfo getHomeAddress()
{
return this.homeAddress;
}
Note the absence of the parameter. The rest looks fine, although I would
advocate making the homeAddress member
Thanks Craig, that works perfectly! Now the checkLogon tag accepts the expression, and
everything works as expected.
Any idea on why the actionerror substitution is not working? Anyone else having
problems with it?
(RECAP:
Also, I am trying to do substitution on an action error with the
Title: Tomcat startup command
I am sorry it is not a really struts problem. But I am deploying struts application on Tomcat, so
Is there a way to pass the port address via command line (such as a -d parameter)?
Thanks
I don't think so. The ports are assigned in the server.xml file in the conf
directory. I think when you start the server up, any port assigned in that file
gets started.
Enron Broadband Services
Office: 713-345-6840
Cell: 713-858-9438
|+---
||
Hello Chuck,
comments below...
Monday, June 11, 2001, 9:46:56 PM, you wrote:
CS Hi,
CS I think I'm missing something here. I have a bean that is available to my
CS page in the request scope. Within that I have another bean that has
CS properties I want to display. I'm trying to use the
Modifying TomcatRunner was trivial. Here's a link to the doc I was talking
about (watch for word wrap):
http://www7.software.ibm.com/vad.nsf/data/document2557?OpenDocumentp=1BCT=
1Footer=1
--
Dan Miser
http://www.distribucon.com
- Original Message -
From: Thomas L Richards [EMAIL
Hi,
where can I find GenericDataSource Examples ?
All versions of Struts work with WAS 3.52+. It's just a matter of how much
tweaking you have to do. If you use Beta 3, search the mailing list for a
work-around to WAS' bug that doesn't allow request scope beans to be
removed.
For your error, take a look at the stdout.log for your app server.
Martin,
Hi. Can I pick your brain about an earlier post?
I asked what would happen if I have a html:file tag on my form, but without
changing the enctype to multipart/form-data? Do you know if I just then get a
String containing the filename selected/entered?
thanks,
Dave
Martin
I'm not sure if you are asking a more general
question, but this retrieves the Struts connection
pool.
protected Connection getConnection() throws
SQLException {
DataSource ds =
(DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY);
return
It in the documentation somewhere...the users guide i believe...
Mikkel
-Original Message-
From: hunkpapa
To: [EMAIL PROTECTED]
Sent: 11-06-2001 21:46
Subject: GenericDataSource Examples
Hi,
where can I find GenericDataSource Examples ?
I posted a how-to for getting struts and tomcat 3.2.1 up and running in
VAJ...check the archives or even www.helenius.org...
Mikkel
-Original Message-
From: Thomas L Richards
To: [EMAIL PROTECTED]
Sent: 11-06-2001 17:03
Subject: Re: Problem With Struts and Tomcat
Dan,
Ok, I'll try
I don't know what would happen. In particular, I don't know what the
browser would submit (if anything) in that case. I had thought that the
HTML spec stated that the enctype must be multipart/form-data when you use
a file input tag, but I just checked, and it (the 4.01 spec) says should,
not
I have a Struts theory question on use of action forms versus java beans
for read-only data.
We have extended workflow on our website such that the same form can look a
bit different depending on where you are in the workflow.
For example, the quote request will have limit and retention fields
Hello,
I've been trying to figure out why this is happening and have had no
luck, so I figured maybe someone here could help. I don't know if
this is a bug, or if I just don't understand the correct application
framework, etc.
I have two servlets defined in the web.xml file (servlet1 and
The important thing about ActionForm beans is that they are intended as
adapters between HTML forms and the rest of the application. If the
property is being used within a HTML form, then it is a valid use of an
ActionForm bean, regardless of whether the property is hidden or
immutable.
It is
Thanks again for the help Craig.
My container vendor is asking me which version of Jasper (tomcat) they should use.
Currently they are using 3.1.x -- what would you reccomend as a good version that
contains the Jasper fix to get around the pageContext.removeAttribute() problem?
--Steve
Hi Jeff
I don't know how they do it, but at the AOIndustries Level II service,
one does get a private VM and app server, classpath, etc. At Level I, when
you restart Tomcat, it restarts everybody's app, and that can be a hassle.
Tom
Jeff Trent wrote:
Problem is
I'm looking for a hosting
I ran into an interesting problem:
I need the ability to rewrite the url, with the encoded session information,
dynamically, after the page has already been loaded by the browser client.
I am opening a new browser window for doing searches, some of the fields on
my first page need to be passed
Hi Oleg,
Could you please send me the class and JSP too. Thanks.
-Nimmi
-Original Message-
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 3:07 PM
To: Matt Raible
Subject: Re: Logic Tag Library and (Iterator) List Navigation
Hello Matt,
I can send you
I wanted to share my approach because it seems successful for what we're
doing. I can't imagine we're the only ones doing it, but just in case we
are, I wanted to share. I'd also like to hear any and all comments and
criticisms.
We use Struts to present database tables to the user so that we
Hi,
Sorry about not jumping into this conversation, I haven't been around.
If you don't specify multipart/form-data, the information is sent
as POST data, basically just encoded name/value pairs in your
ServletInputStream. So all you're passing is the name of the file
that the client specified.
Dave,
You'll just submit POST form data, with the name being the name of the file
input,
and the value being the file path given by the client.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject:
I'm trying to use logic:forward in a .jsp file that is used in a
template (via template:put). Apparently this is problematic, as I get
the following exception when ForwardTag.doEndTag tries to execute
pageContext.forward(path):
java.lang.IllegalStateException: Cannot forward as OutputStream or
Thanks Mike :^)
- Original Message -
From:
SCHACHTER,MICHAEL
(HP-NewJersey,ex2)
To: '[EMAIL PROTECTED]'
Sent: Monday, June 11, 2001 10:15
PM
Subject: RE: Concepts in working with
multipart request
Jonathan,
Hello
all.
I wanted to
know if I
The template is flushing the write buffer, and you can't redirect once
the browser starts writing to the screen.
Tom Miller wrote:
I'm trying to use logic:forward in a .jsp file that is used in a
template (via template:put). Apparently this is problematic, as I get
the following exception
Hi,
i would like to know how to forward data
along with mapping.findForward("success") to other jsp page.
thanks
rajiv
Jonathan
A way
of doing this is to use the java.util.ArrayList object. If you have a bean to
represent a row of data eg
TableRow
CustID
FirstName LastName
RowBean
Integer CustId; /* with get and set Methods
*/
String
FirstName;/* with get and set Methods */
String
LastName;/* with
Hi Timothy
Check your struts-config file to see if you have specified scope=request
in your action definition for processN1.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: Timothy Hicks [mailto:[EMAIL PROTECTED]]
Sent: Monday, 11 June 2001 20:10
To: [EMAIL
I'd like to be able to diagram the work flow of my web application,
which uses Struts. At the most naive level, I imagine it to be a graph
of nodes (Actions, JSPs) and arcs (URIs and/or ActionMappings). Has
anyone specified a graph language to include the following bits of
information?
From the archive I found that there is a Custom Tag Library Extension for
Dreamweaver at
http://www.shokker.com/ctlx/ctlx.zip.
Can anyone share their experience of using it?
satish
Is it possible to use the Struts framework without using any of the Custom
Tag libraries?
Thanks
Satish
86 matches
Mail list logo