[EMAIL PROTECTED] wrote:
I am new to struts. I have a question regarding logic tag.
I was replacing those if else if . end if stuffs with logic tags on jsp pages.
For example:
if num==1 {// condition 1
block 1;
}else if num==2 {// condition 2
block 2;
}
Usually if condition 1 is true, con
Jacob Weber wrote:
I have a lot of data that needs to be available to all users, at any
time (for example, the contents of drop-down menus, which I loaded from
an XML file). From all the posts I've seen here, the recommended place
to store global data seems to be the servletContext. Most people
At 10:43 AM -0400 5/9/04, Jacob Weber wrote:
Thanks. I'm glad you made sense of my question. :) If I do this, can I
still use Struts tags that refer to a bean? Taking the drop-down menu
example, if I store it directly in the servletContext, I can do:
But if I store it in the servletContext as "m
Okay I see what you mean now, I don't use sslext as it seems like a
struts plugin that could just as well be done using a filter or even
mod_rewrite in apache (for deployment).
If you're using a filter anyway why not write another one to deal with
all this stuff the sslext does?
On 9 May 200
Hi dean
The tomcat examples all use the 2.4 web xml spec and the el is setup
from there. If you're web apps are 2.3 and/or 2.2 flavoured
Copy the jstl and standard jars from the Tomcat 5 JSP examples
WEB-INF/lib into your lib directory
in your jsps no need to configure web.xml its all the JAR
The point is the current request is not using the http port. The only
thing that tells me the port # I require is in a config file -
struts-config.xml (or potentially tomcat server.xml)
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: 09 May 2004 18:41
To: Struts Users
I see what you mean.. Seeing as you got as far as reading the
getScheme() bit of the javadoc you could push the boat out and explore
it further for something more up your street.
request.getServerPort()
The 2.4 servlet spec has some other methods to do the same thing.
http://jakarta.apache.o
Hello all,
Since previously I mentioned my being involved in the development of
this HTML editing tool I want to announce the first release of FCKEditor
with real integration with JSP. (Struts will come in a future time).
This HTML editor (DHTML editor), for Java, ASP, ASP.NET, ColdFusion, PHP
and
OK, that makes a bit more sense. I guess I got thrown by your "It sounds
like you are the use case for EJB!" statement that I thought when you said
bean in the next sentence you meant EJB.
Also, I believe that some application servers will cluster the servlet
context along with the httpsessions
[EMAIL PROTECTED] wrote:
I am new to struts. I have a question regarding logic tag.
I was replacing those if else if . end if stuffs with logic tags on jsp pages.
For example:
if num==1 {// condition 1
block 1;
}else if num==2 {// condition 2
block 2;
}
Usually if condition 1 is true, con
Thanks. I am using Tomcat 5 but I could not figure out how to get
at the JSTL stuff. I ended up grabbing the JSTL from sun and copying
TLDs and jars into my local lib directory for the application (struts is
there)
and that works. I got version 1.1. I am currently reading the final spec for
JSTL a
I am new to struts. I have a question regarding logic tag.
I was replacing those if else if . end if stuffs with logic tags on jsp pages.
For example:
if num==1 {// condition 1
block 1;
}else if num==2 {// condition 2
block 2;
}
Usually if condition 1 is true, condition 2 does not be eva
hi!
i read somewhere that there are 6 aspects of evaluation in an IT context ie
applications requirements, IT requirements, resource requirements and so on
can someone tell me more about these and/or any place where i coud find out more about
these evaluation aspects.
thanks
In article <[EMAIL PROTECTED]>,
Joe Germuska <[EMAIL PROTECTED]> wrote:
> Looking back at the original email, I would guess that the things
> read from XML config files could pretty safely be stored in each
> ServletContext -- assuming they don't change after initialization --
> drop down menu
At 9:37 AM -0400 5/9/04, Brian Alexander Lee wrote:
That's interesting, so you recommend having an EJB (running in the ejb
container) to manage data put into user sessions and servlet contexts
(running in the web container)?
I wouldn't go that far -- but then again, I'm not much of an EJB
develope
Zhang, Larry (L.) wrote:
When using DynaValidatorForm, you just put the fields in the struts configuration xml file, and you don't need a formbean to set all the fields manually, which in turn saves your developing time. I am asking in struts community, is there any reason/encouragement for not us
That's interesting, so you recommend having an EJB (running in the ejb
container) to manage data put into user sessions and servlet contexts
(running in the web container)?
What's the advantage to this technique? Because it seems to have a lot of
overhead if you have to serialize the entire servle
It sounds like you are the use case for EJB! As
for your "other question," I would always advise
using one (or a few beans) to manage everything
you put into a session or application context, as
much as you can logically encapsulate that.
It'll make your life easier in the long-run,
believe
Thanks for all your help. I decided to ditch RequestProcessor and just
make base action classes. I made one for Action, one for DispatchAction,
and one for ForwardAction.
It means a little redundancy, but I feel like this is better integrated
into the Struts framework. This way I have access to
Why don't you just use MessageResources?
At 03:13 AM 5/9/2004, Sven Kiesewetter wrote:
GMaine wrote:
Hi. I wonder if someone can help me. I'm trying to override RequestProcessor
to check whether a user has logged in. If he has, I'll let the request
proceed. If not, I'd like to forward him somewher
I have a lot of data that needs to be available to all users, at any
time (for example, the contents of drop-down menus, which I loaded from
an XML file). From all the posts I've seen here, the recommended place
to store global data seems to be the servletContext. Most people are
setting up a
I've just started getting into Tiles, and am having some difficulty
getting my head around some of the nesting concepts. I'm hoping someone
can show me the way to do what is rather a simple task. I seem to have
ended up again with the requirement to have a JSP tag evaluated to
provide the value
Hi James, could you please be more specific about this recursion bug? I
am using the 1.1 version so it would help..
Erez
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 7:50 PM
To: 'Struts Users Mailing List'
Subject: RE: BaseDispacthAction?
GMaine wrote:
Hi. I wonder if someone can help me. I'm trying to override RequestProcessor
to check whether a user has logged in. If he has, I'll let the request
proceed. If not, I'd like to forward him somewhere.
The problem is, I need to display an error message if I'm redirecting the
user. I'm t
Hi,
It would appear the http redirect header is not set when struts does a
redirect as dictated by a forward element with redirect attribute true.
Is this a quirk of struts, or standard behaviour for http redirects?
Thanks
Martin
---
25 matches
Mail list logo