I finally got it working by removing struts-config_1_0.dtd from the
struts.jar file. And locating this file under:
\WEB-INF\classes\org\apache\struts\resources\
Also, instead of placing the ApplicationResources.properties file under
orion\lib, you can jar it and place it under \WEB-INF\lib
hope
Here's more about the other Struts article on InformIT.
"In this seven-part series, Java expert Maneesh Sahu explores how to
use Apache Software Foundation's Struts framework to develop a
Web-based message board"
<
http://www.informit.com/content/index.asp?product_id={912CB006-A3CE-4CCF
-B994-7
G'Day
I am also working with Struts 1.0 and Orion 1.4 and having problems.
The main thing that I have realised is that
org.apache.struts.action.MESSAGE is the default web browser error for struts.
To know what is going on in more detail I suggest studying
orion\log\global-application.log
So fa
I've got two questions,
this is more to do with my tomcat configuration, but I can't get the
documentation and exmaples to load as .war files, currently I have
in tomcat.xml (renamed form server.xml)
Context path="/struts-documentation"
docBase="/cyber4/projects/devel/e
One issue not really discussed is the performance
aspect of using tags. Looking at the generated Java
source from a JSP, a single tag can be expanded into 5
or more lines of Java code. For a simple tag like
"ifNull", I would think using scriptlets with a if
statement will lead to better performanc
Jim Richards wrote:
> As I understand it, is the basic design of struts generally to avoid
> any direct java code in the .jsp files, and do everything through tags?
Tags and beans, yes.
> And although we can so things within <% %> tags, it is not
> preferred?
That's the conventional wisdom; ho
I had suggested:
>
as a possible solution to the form URI getting the context
problem. But in another thread, Richards-san pointed out
(asked?):
> And although we can so things within <% %> tags, it is not
> preferred?
So, I guess that the politically correct way would be to
extend the f
Greetings,
I am relatively new to this alias but not to the struts paradigm. I did much of the
work on the Java Petstore Demo web tier
where
we in the past have used a very similar architecture. Prior to doing the Java Petstore
I working in the Sun Global Products
engineering
group where I wrot
Hi Erik,
> Also, how do you experts handle the issue of localizable messages
> involving a count, as in
>
> There are {0} messages waiting.
>
> If {0} is zero, I'd like it to read
>
> There are 0 messages waiting.
>
> If {0} is one, I'd like it to read
>
> There is 1 message waiting.
>
> If
As I understand it, is the basic design of struts generally to avoid
any direct java code in the .jsp files, and do everything through tags?
And although we can so things within <% %> tags, it is not
preferred?
Just wondering before I embark on my project, if it's worth including the
design of
Hi all.
I'm working on a moderately large webapp based on Struts 1.0 (nightly
build from 12/4), and I've run into a situation I can't figure out how
to handle cleanly using .
What I have is a sentance in which only some words are hyperlinked to
other pages within the app. The sentance has to be
e
WEB-INF/lib and WEB-INF/tlds directories, respectively. To run the example
you will need to copy those files from the Struts distribution.
This example works with the 20001206 version of Struts and Tomcat3.2 final.
Please let me know if you encounter any difficulties.
david
PS: I'm not tryin
Ted Husted wrote:
> Anyone have other struts article or powered by references?
The November issue of Java Report has an article on Struts that focuses
on Struts MVC.
The article's code is a little out of date, due to all of the changes that
have
occurred since the article was written.
david
Title: RE: A form with valiable number of beans
Lars,
I assume you're trying to generate unique text names for each object of your
bean that you are iterating through.
We haven't used the struts:text tags because of this, we use the normal html
input tag but use the struts htmlProperty ta
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
is also good.
*** REPLY SEPARATOR ***
On 12/6/2000 at 11:38 AM Evan Vaala wrote:
Is there a Struts Mailing List Archive somewhere?
Thanks!
Evan Vaala
Horstkotte-san wrote:
> There doesn't appear to be any way to cause the URL in a
> tag's "action" parameter to be rewritten using the webapp's context
> path. As a result, if I use an action="x", it directs the action to
> x in the current directory, which in my case isn't what I want. If I
> us
Kapur-san wrote:
> I was building some prototype for my company and I have modified the Struts
> out-of-box example to add a language drop down on the Login page (which just
> displays English and German) and if the user logs in after selecting the
> language as German all the screens are in Germ
You probably need to create a helper class that does all this work,
keeps the references as public variables and create it as a singleton in
the init of the servlet, and store it as an application wide variable
so you can access it easily and have references to all the session beans.
I can't re
Hello,
I've editted the configuration in my "struts-config.xml" and added
a data source. I'm wondering, how does one grab an instance of a generic
data source so that I get do a getConnection on it..
By default, is it dumped into the servlet context? if so, what attribute
name?
Is it
The action parameter can handle a runtime expression, so you should be able
to build a custom value in there that includes the context path...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: December 6, 2000 2:48 PM
> To: [EMAIL PROTECTED]
> Subject: Rewr
FYI:
I am using Persistence PowerTier 6.51 I also get the same problem. If
somebody have any answers please let me know.
thanks,
misak
FYI:
This approach doesn't work for BEA's Weblogic 5.1.0 server.
-Original Message-
From: Douma, Ate [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Decem
Hi,
I am interested as well.
Can you post it to my email?
Thanks
Misak Boulatian
[EMAIL PROTECTED]
-Original Message-
From: Aditya Kapur [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 9:22 AM
To: Struts-User (E-mail)
Subject: Example for Internationalization
Hi All,
I was
Andre,
I am running into the exact same situation as you described in your original
post, so I was excited to see the solution. However, when I tried it, I get
a NullPointerException when I startup weblogic.
Wed Dec 06 12:13:12 PST 2000: Failed to invoke startup
class strutsAppStartup=WebAppSt
What are peoples experiences running Struts on the JRun application server?
Does it work, is there any major bugs?
-Matt
I've got a system with a large number of JSPs that I'm developing
using Tomcat 3.2 and Struts 1.0 (12/4 nightly build). Because of the
large number of files, I've started organizing the them in
subdirectories. This has caused me to run into a problem, however.
There doesn't appear to be any way to
Aditya Kapur,
Please do post your example, as least to my email account if you prefer. I
have tried this i18n issue and was stuck somewhere, and regreted that I
don't see an adequate example to start with.
Thanks,
Deping
- Original Message -
From: "Aditya Kapur" <[EMAIL PROTECTED]>
T
http://archive.covalent.net/ has struts-dev, struts-user and many more.
Jeff
- Original Message -
From: "Evan Vaala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 12:38 PM
Subject: Sruts Mailing List Archive
> Is there a Struts Mailing List Archive some
Here you are :
http://archive.covalent.net/
-Message d'origine-
De : Evan Vaala [mailto:[EMAIL PROTECTED]]
Envoyé : 6 décembre, 2000 12:39
À : [EMAIL PROTECTED]
Objet : Sruts Mailing List Archive
Is there a Struts Mailing List Archive somewhere?
Thanks!
Evan Vaala
Hi,
I'm quite interested in your example.
Can you post me your code ?
Thanks
-Message d'origine-
De : Aditya Kapur [mailto:[EMAIL PROTECTED]]
Envoyé : 6 décembre, 2000 12:22
À : Struts-User (E-mail)
Objet : Example for Internationalization
Hi All,
I was building some prototype for my c
Is there a Struts Mailing List Archive somewhere?
Thanks!
Evan Vaala
Hi All,
I was building some prototype for my company and I have modified the Struts
out-of-box example to add a language drop down on the Login page (which just
displays English and German) and if the user logs in after selecting the
language as German all the screens are in German.
If anybody is
Oops here is the attachment.
-Rob
Robert Leland wrote:
> William Jaynes wrote:
>
> > If anyone has implemented this I'd like to know how you did it.
>
> This was my first cut at it. I believe I incorrectly tied the
> command token and the hidden field for button presses
> together. This was wri
Hi Jim and Alex,
I think both of you understood me wrong. I am not planning to access EJBs
from JSP pages at all. I will have a lot of session EJBs to manipulate
Entity EJBs. But, the suggested approach accessing them from servlets was:
- Declare EJB references as private member variables
- in in
William Jaynes wrote:
> If anyone has implemented this I'd like to know how you did it.
This was my first cut at it. I believe I incorrectly tied the
command token and the hidden field for button presses
together. This was written for struts 0.5 but I am sure it will
work with struts 1.0.
I kn
FYI:
This approach doesn't work for BEA's Weblogic 5.1.0 server.
-Original Message-
From: Douma, Ate [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 9:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: org.apache.struts.action.MESSAGE exception with orion 1.4
For Orion perform th
Does anyone (Craig) know when 1.0 will be released? Craig, are you
holding off for bugfixes or some other piece of functionality?
I'm trying to plan some architectural stuff and want to know whether I
should base my efforts off the head of the trunk or the 0.5 release.
Thanks in advance.
Cheer
To answer my own question
This all starts working like magic with Tomcat 3.2 and Sun JDK 1.3.0.
Thanks to all those who helped ...
Andris
# -Original Message-
# From: NESTORS Andris (AC-Creation)
# Sent: Tuesday, December 05, 2000 4:18 PM
# To: '[EMAIL PROTECTED]'
# Subject: RE:
For Orion perform the following steps
1. remove the org/apache/struts/resources/struts-config_1_0.dtd from the
struts.jar
2. put the dtd under /WEB-INF/classes/org/apache/struts/resources.
Ate Douma
> -Original Message-
> From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday,
Sorry, for this question...
the solution is:
weblogic.system.startupClass.myStartup=WebAppStartup
weblogic.system.startupArgs.myStartup=webAppContext=
Just leave the argument empty stupid ...
Sorry
Andre
> -Ursprüngliche Nachricht-
> Von: Andre Wittenburg [SMTP:[EMAIL PROTECTED]
Just a Note:
Open-source aside, making medications (patches) to
code for work around in libraries, frameworks,
even compilers and os, has always been part of software development.
Maybe we should have a Struts offramp.
- Malcolm
> -Original Message-
> From: Lacerda, Wellington (AFIS) [ma
Hi!
I'm using weblogic(sp6) with Struts and the WebAppStartup class, which was
posted in the struts-user list.
My problem is, that i want to use the weblogic property
"weblogic.httpd.defaultWebApp", so my problems with the context path would
vanish (and i would like to have this webApp in the ro
Juan Gargiulo wrote:
> Did somebody found a work-around for the "Missing resources" problem in
> Orion 1.4?
> I tried several different potential solutions but none of them worked. I
> really need to get struts 1.0 working with Orion 1.4 ASAP.
Me too, please!
klaus
> -Original Message
I am trying to use Struts to create a page where I am editing an Entity
(e.g. an order) and a variable number of sub-entities (e.g. order lines). I
have corresponding beans in my session (an Order bean with a vector holding
a number of OrderLine beans).
I would like to have certain properties of
Jim is quite right, you should be able to remove references to EJB
structures, even from the the Action Servlets themselves. I have had some
EJB experience, but am new to struts, but one of the nice things about
struts is its abilty to isolate most of the presentation logic from the
business and
I agree 100% with you. I've had some bitter experiences with that myself
(and that's why I'm writing a book on tag libraries right now - AND Struts
!). But you must concede that, as in my case, there are environments where
life is not made to be that easy.
But you must to concede that, even wit
45 matches
Mail list logo