2. Putting struts.jar in that location seems like a very bad idea to me.
Whenever possible, put the jars for your application in your application's
WEB-INF/lib dir. You can almost always do this, and it makes your app more
of a self-contained unit. Having dependencies on non-standard libraries
The only time the protocol switches automatically (read: tomcat switches
it automatically) is when you specify SSL in the web.xml for a URL.
To get it to switch back from SSL into unencrypted, putting
set-property property=secure value=false/
in the action mapping is necessary.
HTH
Adam
On
On 10/17/2003 10:10 PM Andy Engle wrote:
Sorry to diverge from the already off-topic topic, but this one
couldn't go without being shared: It's really hot in the room we work
in today. We've been trying to cool it down in here, but I just heard
from a co-worker of mine (who heard it from our
On 10/17/2003 09:56 PM Ruth, Brice wrote:
Greetings, all.
I'm looking for some guidance on how best to go about a requirement I
have from our marketing as far as URL naming goes. We're developing an
international (localized) site and we have a requirement that the URLs
look something like
Hi all,
I would like to get some fields in my jsp page from the ActionForm and
display them as simple text in my web page.
The idea is like when the user logs into the system, his username, location
and address will be stored in some ActionForm and then on all the pages in
the system, the page
Worse..the People maintaining the Call Center system are permanently out to
lunch
They make US government workers look industrious!
-M
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 5:45 AM
Subject:
I hate to say it (well, I don't really), but the whole thing is
ridiculous. What's the matter with keeping our call centers in the
United States? And do we *really* need a call center to maintain the
stinkin' temperature?! I don't think so. It just goes to show the
stupidity of some of the
Perhaps more like global stupidity.
On Saturday, October 18, 2003, at 04:45 AM, Adam Hardy wrote:
On 10/17/2003 10:10 PM Andy Engle wrote:
Sorry to diverge from the already off-topic topic, but this one
couldn't go without being shared: It's really hot in the room we work
in today. We've been
I am encountering a strange security problem when trying to submit a form to
an action. This JSP is as follows:
%= request.getUserPrincipal().getName() %
form action=/edm/ebb/upload.do method=POST
table width=75% border=1
tr
tdbean:message key=upload.from//td
tdinput type=text
If you want the user name stored in the request (bad idea) it must be sent
in the form using a hidden field.
You should store it in the session. Only submitted form fields will be in
the request.
-Mensaje original-
De: Rustad, Aaron [mailto:[EMAIL PROTECTED]
Enviado el: sábado, 18
You are mistaken CarlosgetUserPrincipal() is part of the Servlet
Specfications...it should be the Application Server that is fullfilling this
request.
AR.
-Original Message-
From: Carlos Sánchez [mailto:[EMAIL PROTECTED]
Sent: October 18, 2003 10:20 AM
To: 'Struts Users Mailing List'
The real question is why would the principal be made available to the Action
class when a GET request is issued, but not when POST is used.
AR.
-Original Message-
From: Rustad, Aaron
Sent: October 18, 2003 9:40 AM
To: '[EMAIL PROTECTED]'
Subject: Strange Security Problem
I am
OK, I'm sorry, I was thinking in your own authentication schema. I didn't
notice.
-Mensaje original-
De: Rustad, Aaron [mailto:[EMAIL PROTECTED]
Enviado el: sábado, 18 de octubre de 2003 18:20
Para: 'Struts Users Mailing List'
Asunto: RE: Strange Security Problem
You are
I am using the same form to both create and update database entities. The
following is an example of a form field:
html-el:select property='documentStatusTypeId'
value='${note.auditIdentity.documentStatusType.id}'
onchange=editNoteForm.action=''; editNoteForm.submit(); return true;
Hi
consider the following situation. I am using window object to open
another struts file ie, .do file like the following
window.open(./cust.do?name=+somename+address=+someaddress+);
here i am passing property information also through the request query
string. Those data name
OK, I figured it out. In my web.xml, I had defined a security constraint to
only apply to GET requests. Apparently (with Tomcat anyway),
request.getUserPrincipal() will always return null if the resource is not
part of security constraint. So, since GET was part of the constraint,
getPrincipal
--- Wendy Smoak [EMAIL PROTECTED] wrote:
I don't know if this work is still ongoing, but I notice that
ActionError and ActionErrors are deprecated, yet the validate method of
DynaValidatorForm still returns an ActionErrors object.
Only ActionError is deprecated right now. However, most of
check out
http://jakarta.apache.org/struts/userGuide/struts-html.html#options
(I wouldnt use collection in this case..I assume we are returning scalar
entity)
to paraphrase
where collection of values actually selected depends on the presence or
absence of the name and property attributes
the
I think Carlos was the only individual that helped you out on this item...
-M
- Original Message -
From: Rustad, Aaron [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 12:55 PM
Subject: RE: Strange Security Problem
OK, I figured it
Am Samstag, 18. Oktober 2003 02:13 schrieb Damm, Gary:
Any opinions on these tools? I code my Struts applications (4
successful projects) in Eclipse. I see these tools as a potential
timesaver now that I understand the framework. Anyone using them
that wants to give feedback?
Well, I
Stuff the parameters into Hidden variables OR session variables ..
call the window.open(
In the html file you are opening
body onLoad=getVariables()
where getVariables() is a Jacascript function which retrieves the
aforementioned variables.
-M
- Original Message -
From: mohamed ebrahim
I thought I could resolve this by specifiying:
value='${true ? param.documentStatusTypeId :
note.auditIdentity.documentStatusType.id}'
...but this did not work. Is the ternary operator not supported yet in
struts-el? (I'm using struts-el-1.1.jar)
-Original Message-
From: Martin
Offshore development reduces costs? Is there any businessman that believes
in that lie?
Last project I worked on that went offshore the vendor wound up in court
after delivering non-operational code AND putting a few million on their
back pocket.
No Thanks,
Martin
- Original Message -
Hi folks,
I have trawled through the mail list looking at the threads related to the
iPlanet web server and I am left with the general uneasy feeling that there
are many unresolved issues with the iPlanet web server.
I have been tracing a problem with web-app deployment on a iPlanet 6.0/SP6
off the top of my head I would check out your package name
app.app2 doesnt seem like a correct package name
what is the package specification for your GeneralActionForm class?
-M
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 6:47 PM
No, UTF-8 does not work.
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:49 PM
Subject: Re: i18n - Chinese charactor problem
UTF-8
On 10/16/2003 07:25 PM ZYD wrote:
Now I use UTF-8 everywhere
26 matches
Mail list logo