Hello Craig,
Yes! The optional.jar was indeed the missing ingredient. I am happily
building Struts now.
Thank you!
On Fri, 8 Jun 2001, Oleg V Alexeev wrote:
> Hello David,
>
> Friday, June 08, 2001, 9:06:12 AM, you wrote:
>
> DM> Any idea why I am consistently getting an
"org.apache.tools.an
I've got a situation where I want to include a header file with
and then in the header file have
but replace the page="" with the . Trouble is you can't nest
tags. One options is to do the html without the jsp, and have
but that doesn't look great, but I can't thin
My struts-config.xml contains:
So my page flow goes login.jsp -> location.jsp -> request.jsp. I expect
Do you have a binary diff utility that you could use to see what changed in
the uploaded file? That would be very helpful.
Also, if you can tell me how many bytes were added to the file, and what
type of file it was that caused the problem, that might help too.
Thanks.
--
Martin Cooper
-
Speaking of JRUN - I was playing with their latest version 3.1 and they have
a very strange concept/tool ..
You can write jsp pages and name them with a *.jst extension and they get
translated to a custom tag instead of to a servlet. I thought it was not a
good idea - jsp to create tags to use in
sadly - I see this in 3.0 as well as 3.1 which was very recently released. I
havent tested the basic authentication as yet. I thought I would have more
control using the form based authentication. I need to evaluate and see if
the basic authentication works fine - else I should probably go with cu
Let me see if I can describe the process.
1. Check to see if the request should be treated as multipart (i.e. content
type is multipart/form-data and method is POST). If not, carry on as normal.
2. Find the multipart handler or instantiate one, set it on the form bean,
and call it to handle the r
Hello Martin. So is it POSSIBLE to save binary data in a bean? What does
struts do? These are my real questions. If I have a form which besides
fields, has an uploaded file, how does the bean actually handle the file?
Is there a conceptual step by step you can give me. How does the ActionForm
Internally to Struts, multipart handling is provided through an interface,
MultipartRequestHandler. In Struts 1.0, the only supplied implementation of
this interface is DiskMultipartRequestHandler, which, as you might expect,
writes "file" parts to disk as it encounters them.
Struts does allow yo
I, too, have observed this intermittent quirkiness in its authentication
behavior.
After reading all of their forum posts, the consensus is to use Basic
authentication. I concur that it has been the most stable for container
authentication in J-Run. I would shy away from Form-based authentication
In your description, you said:
"Input on the struts-config page is department.do."
I believe that is the problem. You are specifying an Action path instead of
a JSP path for the input parameter in your struts-config.xml. In your
element, you need to specify:
instead of specifying the departm
If you need to test for the property value being null, you can use the
tag. If you need to test for a vector which exists but which
has no elements, you'll have to use another field in your form, as someone
else suggested, or use scriptlets in your page. (A better way of handling
this should appe
I have a webapp that I have been testing under both tomcat and JRUN for
sometime now. About a month ago I decided to go with app server provided
form based security.
I tested my app on JRUN,Tomcat and Resin and it worked fine.
Since then I had been working only on tomcat - now when I tested wi
No, JavaServer Faces is something different. JavaServer Faces is being
developed as JSR-127, the quick summary being "This specification defines an
architecture and APIs which simplify the creation and maintenance of Java
Server application GUIs".
The idea, as I understand it, is that JavaServer
If you specify the same value for the 'property' attribute for all the radio
buttons which should be in the group, this should work. The value of the
'property' attribute (of your form or other bean) will then be used to
determine which one to select when the page is initially displayed, and the
s
On Sat, 9 Jun 2001 [EMAIL PROTECTED] wrote:
> Hi,
>
> I would like to catch all of our project specific exceptions in one place (as a
> last resort, if nobody else catches them earlier on) and handle them in a
> generic way. The obvious way to do this, I think, is by overriding
> processAct
On Fri, 8 Jun 2001, Ian Kallen <[EMAIL PROTECTED]> wrote:
>
> At JavaOne today, it seemed to be suggested that j2ee would have a MVC
> framework join the recommendations. Later in the talk ("scalibility
> in the web tier with jsp blah blah" ridiculously long title), it
> struts was alluded to
On Fri, 8 Jun 2001, Thomas L Richards wrote:
> Ok, I've got a bit of a headache and here's the cause:
>
> I'm using Visual Age for Java 3.5.2, with Tomcat 3.1. That works fine.
> I installed Struts 1.0-b3 with Xerces 1.4.0.
> Then I installed the struts-example.war file. That installed fine to
On Fri, 8 Jun 2001, Kiet Nguyen wrote:
> how do I set default values for radio and checkboxes.
>
I normally use boolean properties in my form beans for these. You can set
them to appropriate defaults when the bean is first created (i.e. in the
constructor) just like you can set all the Strin
On Fri, 8 Jun 2001, Erich Meier wrote:
> Hi!
>
> I am evaluating struts for a new project. One problem I wasn't able to solve
> was the integration of JSP expressions inside the attributes of
> custom tags.
>
> My code looks like this:
>
>
> <% String name = ((PElement)pelement).getName();
On Fri, 8 Jun 2001, Dudley Butt@i-Commerce wrote:
> i just find it sometimes easier to move all validation off the jsp, and
> hence all java off the jsp. I think its just basically a personal
> preference. This way I'm making full use of the struts error handling model
> and keep all my java in
On Fri, 8 Jun 2001, Oleg V Alexeev wrote:
> Hello David,
>
> Friday, June 08, 2001, 9:06:12 AM, you wrote:
>
> DM> Any idea why I am consistently getting an
>"org.apache.tools.ant.taskdefs.optional.TraXLiason" ClassNotFoundException when
>trying an "ant dist" build of jakarta-struts-1.0-b3-
On Fri, 8 Jun 2001, David McLure wrote:
> Any idea why I am consistently getting an
> "org.apache.tools.ant.taskdefs.optional.TraXLiason"
> ClassNotFoundException when trying an "ant dist" build of
> jakarta-struts-1.0-b3-src using Ant 1.3 on both NT and Linux? I have
> what seem to be the onl
On Fri, 8 Jun 2001, Dudley Butt@i-Commerce wrote:
> yes, but this is a form that is being filled in like a wizard type of thing,
> i need the form to be session
> any ideas, for an alternative?
>
The alternative approach is to have *all* of the input fields for the
entire wizard included on e
On Thu, 7 Jun 2001, Alex Colic wrote:
> Hi,
>
> my boss wants me to set up one of my apps written using struts for a demo.
> He wants to have a web page with a couple of flags. The use clicks on of the
> flags and enters the program using the language they selected.
>
> Not having gone down t
On Thu, 7 Jun 2001, Dudley Butt@i-Commerce wrote:
> Please help,
>
> When the user pushes the back button, I want the page to redirect or refresh
> to a different page, please, any ideas?
>
> Thanx guys and gals
> Dudley
>
The server doesn't really get involved in the back button -- any sol
On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote:
> Has anyone run into this problem? When I try to run the struts-example page
> I get the following error:
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSP/home/carol/web/enhydra3.1/work/Struts/_0002findex_0002ejspindex_jsp_0.
On Wed, 6 Jun 2001, Ritter, Steve wrote:
> Hello, I've got struts-b3 installed here and we were stepping through
> the struts-example. A problem arises when I click on the "submit"
> button in logon.jsp -- I get a ClassNotFound exception:
>
> [06/06/2001 16:12:39:511|17000] (ERROR) request_ha
On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote:
>
>
> Hi. I have a form where I display the current filename, and allow them to
> change it. As such, I don't need to do anything in the action, just let Struts
> populate the form bean.
>
Without an Action, how would Struts know where to go nex
On Wed, 6 Jun 2001, John Hogan wrote:
> All,
>
> I have a situation where it is desirable to use a form/page for both
> adding new info and editing existing data. The new info scenario is
> straight forward struts ActionForm/Action classes. What I'm
> wrestling with a bit is the edit scen
On Wed, 6 Jun 2001, Shamdasani Nimmi-ANS004 wrote:
> Hi,
>
> I just downloaded Struts 1.0-b3 and found out that 'etc', 'src' and
> 'web' directories are no longer there. What happened to these? It was
> convenient to get the source code also in one shot of download.
>
> -Nimmi
>
>
They we
On Wed, 6 Jun 2001, Ritter, Steve wrote:
> Does anyone know how I get the latest version of Jasper? Do I have to
> download Tomcat and if so which version?
>
> Thanks in advance!!!
>
> --Steve
>
Jasper is not packaged separately from Tomcat -- you'll need to get Tomcat
if you want it.
Cra
On Wed, 6 Jun 2001, Hartmut Bernecker wrote:
> Hi,
>
> I want use the Digester class to populate some objects with XML-Data.
> The Properties of the objects have not identical names to the
> XML-Attributes.
> Therefore I need a mapping.
> Am I right, when I search for a solution with that stat
On Wed, 6 Jun 2001, Jon.Ridgway wrote:
> Hi,
>
> When using form based auth the web container will under take the auth using
> the j_password & j_username supplied. So it all depends on which container
> you are using. Tomcat for example allows you to map to a database containing
> user and ro
On Tue, 5 Jun 2001, Upadhye, Sujit (GEAE, Foreign National) wrote:
> Hello,
>
> In local-forwards, can I forward the control to another Action object
> instead of forwarding to a JSP?
Yes. In effect, you are chaining multiple actions together. Just set the
"path" in your element to a path
On Tue, 5 Jun 2001, Jonathan wrote:
> 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 anyth
On Tue, 5 Jun 2001, Ritter, Steve wrote:
> 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 attrib
On Wed, 6 Jun 2001, Jonathan wrote:
> I for one dont even understand the value in the "input value" parameter.
> There could be MANY pages that got you to the page you are on. The "input"
> value just makes one possible origin available for you to have as a return
> target should things go fow
On Mon, 4 Jun 2001, Dante le Poole wrote:
> Hi all,
>
> Can Struts deal with selectlists which allow multiple selections?
Sure. There is an example of this on the "html-select.jsp" page in the
exercise example application. Basically, you say something like:
...
> If so, how shou
On Mon, 4 Jun 2001, Mikkel Bruun wrote:
> Hi Guys,
>
> Please help me out on this one...
>
> I ran in to a small problem...
>
> 1. In the system im developing the user has to go through several pages,
> entering information that needs to be processed...
> 2. When ever the user enters invali
On Mon, 4 Jun 2001, Hampton, Paul wrote:
>
>
> > ActionServlet depends on ApplicationMapping. It's one of the classes
> > defined in struts.jar, check your struts.jar is in your classpath.
> >
> struts.jar is in my classpath, this exception is thrown at runtime & there
> is no org.apache.st
On Mon, 4 Jun 2001, Jan Fredrik Øveraasen wrote:
> Hi
> When I try to deploy my struts-application to a SilverStream app. server I
> get the following error message:
>
> No context class loader: java.util.collection
>
"No context class loader" seems like an odd message (it's not coming from
Hi,
I would like to catch all of our project specific exceptions in one place (as a
last resort, if nobody else catches them earlier on) and handle them in a
generic way. The obvious way to do this, I think, is by overriding
processActionPerform in our own ActionServlet and catch
Exception's
Hello Valery,
Saturday, June 09, 2001, 1:56:53 PM, you wrote:
VK> Thank you for your response.
VK> I try do your solution with
VK> only litle change (I'm beginer in struts .May be I understand you)
VK> type="some.package.LanguageAction"
VK>
VK>name="la
You don't *need* VAJ 3.5.3 to run 3.2.1. Of course, you need to do things
yourself as opposed to using the IBM Tomcat integration offering. If you
have specific problems with your config, post them here and I should be able
to help out. Also, there's an article on VADD that outlines most of the
th
Hello all.
I am just trying to understand an aspect of a
multipart request. When you submit after using an input of type "file", do
you have to provide an immediate location for the file to be serialized to, or
can you store it in a java object (in a bean's field) as a binary object until
y
Thank you for your response.
I try do your solution with
only litle change (I'm beginer in struts .May be I understand you)
name="languageForm">
It's work.
But how I can know in LanguageAction url of page where I click choose
language.
I need this ,becouse I want
Hello Valery,
Saturday, June 09, 2001, 11:42:43 AM, you wrote:
VK> Hello
VK> My boss wants to have each web page with link of language choose.
VK> Now each page have 2 link : french and english.I define link as
VK>
VK> and
VK>
1. create action to perform language switch - LanguageAc
Hello
My boss wants to have each web page with link
of language choose.
Now each page have 2 link : french and english.I
define link as
and
But I have problem with populate form .
For example :
For modify category page I create Action
EditCategoryAction.
This action popula
49 matches
Mail list logo