What could you suggest to me to display images stored in a database.
When I get them in a bean what could I do to show them on a web d. page?
How is this related to Struts?
Did you Google for answers before posting?
-TPP
winmail.dat--
To unsubscribe, e-mail:
table class='list' cellpadding=10 cellspacing='0'
tbody
Your HTML is broken.
This last table is not closed and is incomplete and you're
missing the end tag for your form.
-TPP
- One reason why there are a lot of questions is that documentation is
lacking. What I wanted to suggest was one method of
collecting answers in a cheap fashion.
Hell no! The main reason why there are a lot of
questions is because people expect their breakfast
to be spoonfed to them.
If
Store their login names and IPs in a context-scope hashtable
upon login and remove them when their session expires. I'm
not sure if Tomcat/JBoss has some kind of tracking mechanism
that provides concurrent session info, but the documentation
should tell you this.
Will this work, if the
I highly suspicion this character is, in fact, a bot.
...and it is eternal Friday on the Struts User list.
Kick the bot off the list.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
In future address me directly.
You can call me Mr. Rahman or Sir.
Mr. Zahid, Sir, kindly realise that today is not Friday.
Whoever let their Friday posting bot loose, please come
and collect it.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
I could be wrong, but every thing I've seen tell me that
you can't do this with the current MessageResources API.
There is no call for reloading or even modifying values.
This is correct.
We recently implemented a way to reload the application
resources by extending the MessageResource API.
I am going to be using Struts 1.0.2. How do you setup roles?
Depends on what are you using for user authentication /
management.
If you're using container managed security, then you need
to refer to your to the documentation of your container
(Tomcat, WebSphere, WebLogic, etc.)
Struts itself
Anyway to use Roles without LDAP??
Yes.
Can I just save some object in the session??
Yes. I wouldn't do it that way though.
Use container managed security. Documentation with
your container.
-TPP
winmail.dat
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
I am working on a project where we have two webapps, one is a
admin app,
the other is for users. Both are developed in Struts. The users app
loads configuration settings from an XML file at startup and
puts a bean
into the application's scope. The admin app has an interface
to change
The form tag doesn't properly parse on Websphere 3.5.2 for
forwards to it
that use redirect=true. The fix is to remove the following
lines in
ActionServlet (struts 1.0.2).
if (path.startsWith(/))
path = request.getContextPath() + path;
Websphere (in
To convert a windows file into a unix format you can use the
dos2unix command under unix.
It will get rid of all the ^M caracters that you see under vi.
Use a text editor on Windows that can save in Unix format.
Practically any advanced text editor can do that. I use
UltraEdit myself.
This board is too valuable to me. Any thoughts?
Agree... Disagree?
Agree STRONGLY.
There's a reason why I subscribe to Struts mailing list
and not to General Java or Tomcat Debug mailing list.
Furthermore, if people would spend even 5 minutes trying
to search answers to their questions
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
+2
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
+2
Who gave you two two mod points!?
+10
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL
http://www.bookpool.com/.x/dxoypt36fr/sm/0596003285
39% off list price compared to only 30% off at Amazon.
-TPP - support the non-sw patent suit wielding book stores
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Any advice you guys think would be helpful for me are most welcome.
Depending on how aggressive your schedule is, consider
getting outside help from someone who has developed
web applications before for this project.
If that's not an option for you, consider getting some
formal training in web
Somebody please remove the invitrogen.com subscriber that's
causing these bounces, please.
-TPP
-Original Message-
From: AutoReply, Invitrogen.com [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 9:00 AM
To: Tero P Paananen
Subject: invalid e-mail
It's got only 3 legs!!!
God, you're right This is awful!
Might as well put the ostrich buried in sand in it :)
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Wanted a quick answer..so posting the query here..though this
has nothing to
do with struts
How do i change the font size in a drop down ?
You go to Google (or Google Groups), enter appropriate
keywords in the search form and hit the search button.
5 seconds later, you have your answer.
What I would like to know, is where abouts in the code this
population of
the HashMap occurs, because the Struts example application
has populated the
HashMap by the time the MessageTag is called. But in the
application I am
writing, I have followed through the same code, and the
btw: have they decided which animal is going on the cover
or is that an I
could tell you but then Id have to kill you bit of information? ;-)
I'm still +1 for sasquatch ;)
It's ostrich all the way! Give up, or I'll bury my head
in the sand!
-TPP
--
To
or maybe an ostridge... Strut -- To walk with a lofty, proud
gait, and
erect head; to walk with affected dignity.
http://www.dictionary.com/cgi-bin/dict.pl?term=strutr=67
+2 for ostrich (please note the correct spelling :)
Perfect!
-TPP - ostrich = strutsi in Finnish
--
To
Consider that you are writing a portal application, with the usual self
registration facilities. It is trivially simple to make the portal app
itself portable across containers, if you just stick to standard servlet
and JSP facilities. But the notion of add a new user is not portable,
This would be handy if someone had code that would find and
dump all the contents in a session in a JSP page...
This is not by any means covering all potential cases and
has some problems, but I'm using the following while developing
my JSP pages:
%
java.util.Enumeration
Is there an extension or maybe some trick in Struts which
would allow me to have xml-based application resource files?
Extend PropertyMessageResources.java ( the corresponding factory
class) and implement your own loadLocale() method, then, in your
struts-config.xml, point application and
Is it possible to return a forward to another action (e.g. to chain
actions)?
Yes.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Is it possible to return a forward to another action
(e.g. to chain
actions)?
Yes.
Excellent!
However, I'm not able to find that class/method. Hint?
ActionForward forward = mapping.findForward( your_forward_name );
return forward;
Define the forward in your struts-config.xml
is it possible to give an absolute URL (like
http://www.xyz.com) in the 'path' attribute of
'forward' tag?
Yes, but only, if it's a redirect (redirect=true).
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Personally, I've got no problems with Struts or plastering
powered by Struts on every page.
I would, if I were in charge of brand management/marketing.
Does the Struts license allow putting that sentence in
a meta tag (bad) or as an HTML comment (good), so that
it's invisible to the regular
That's the part I was talking about. Tomcat and Resin aren't
too bad, but I never have found an example of container
managed security with Websphere.
WebSphere uses its CustomRegistry interface for the database
access layer of container managed security.
Please see
I'm trying to use a form-based login on a Bea WLS 6.1. Is there anyone
who has experience with this using struts??
I don't know exactly how to set the actionmapping, because
BEA wants the
action of the form pointing to j_security_check.
Does anyone has a working example for this problem?
This will tie the app to weblogic. What means, the
login-procedure is specific for weblogic.
No it won't.
The behavior described in Jon Ridgway's post is vanilla
Servlet Spec 2.2 behavior and will work on any compliant
servlet container.
-TPP
--
To
I've read every one of the 62 messages in the thread in the
archive and
AFAICT, we are f*cked. One message referenced a tech update on BEA's
website recognizing the ClassNotFoundException being thrown by the
classloader, but I've found nothing whatsoever to indicate that Struts
1.1b-1 can
I agree, in fact, I wonder if it can be extended to load from
other means
such as xml, rdbms, or call to a url (ftp/http/whatever)
We implemented XMLMessageResources.java on our current
project.
Interwoven had problems getting stuff into .properties
files, so we had to read XML files
Well, let's say for the sake of argument, that it's not
authentication we're talking about. Let's say, instead,
that in order to perform some Action B,
some other Action A must be done first. However, doing A does not
necessarily mean you'll do B next. What's the best way to
remember
I want to use multiple resource files in my web application
but cannot find a way how to configure this.
To do something like this you could extend the
org.apache.struts.util.MessageResources and
org.apache.struts.util.MessageResourcesFactory classes
and implement the functionality to read
I have left Deutsche Bank UK, today.
I have been made redundant because of global restructuring.
Again?
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Test
Does Mozilla/Linux send mail?
*plonk*
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I'm having problems with struts forwards:
logic:redirect forward=summary /
(forwards to /do/summary/display)
it actually redirects it to : /app/app/do/summary/display
I think Websphere is being too helpful here with the redirects!! Any
pointers?
There's a patch to this bug.
I'll
I offered to send you the source, asshole.
pot-kettle-black
I think it would be better, if people on the list
concentrated in discussing Struts and left the
jokes and ego-stroking to some other mailing list,
maybe [EMAIL PROTECTED]
Half the fucking traffic on this list is crap thanks
to
1. login successfully using 'j_security_check';
2. the next request happens to be to an unsecured url (e.g.
/do/frontpage (with no restrictions in web.xml) --
DispatchServlet -- user.frontpage (tiles)) ;
3. the request methods 'getUserPrincipal()', 'isUserInRole()'
and 'getRemoteUser()'
What is happening here?
Your app server sets the session id cookie.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Im in the process of re-engineering an application and I am
focusing on
how to implement the security. The current application uses a
combination of security checks within the action classes and
jsp custom
tags based upon a user session object. After reading more about the
form-based
is there any tool to create a ear file?
Use ant for all your build needs.
http://jakarta.apache.org/ant/
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Rubbish! I work with graphics designers. They barely know
HTML. Now you want them to remember 40 other tags?
That's why you hire people with HTML/creative
development skills.
Or invest in training the designers.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL
Rubbish! I work with graphics designers. They barely know
HTML. Now you want them to remember 40 other tags?
That's why you hire people with HTML/creative
development skills.
Or invest in training the designers.
Yeah, sure. Any problem can be solved if we throw enough
What are the factors involved in selecting form-based
authentication over, say, custom authentication which
can be simple to implement based on a db of registered
users who have or don't have an indicator stored
in their session(representing a login)?
One factor to favor form based
1. have ApplicationResources.properties as English property file.
2. prepare a resource file for each language, in the case
of Chinese, it
is
ApplicationResources_zh_CN.properties in the same
directory, with the
content
translated to Chinese
3. Set init parameter
Go to Tools/Internet Options...
Click on the Languages button.
If Chinese is on the list move it to the top. If not,
click the Add
button and follow the instructions.
You might also need to restart the browser. We've experienced
some inconsistent behavior when testing different
Hi, Guys,
I followed exactly the suggestions of setting up the
languagues in the browser
but no progress at all. Anything else i can do?
In your JSP pages / action classes, check what's
the locale set in the session object.
session.getAttribute( Action.LOCALE );
The digester is bi-directional, and can create a JavaBean from XML, or
XML from a JavaBean. The RSS digester is a good example.
http://jakarta.apache.org/commons/digester/commons-digester-1.
1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html
This approach could be used to
Check out this link
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security4.html#67530
Regards
The standard J2EE web security does all the things you want.
Unless your application needs a customized login process.
If that's the case, it's kludge hacking time...
UltraDev40 and so on...
The question is: anybody knows a tool, extension or whatever
that actually
work with struts tags ?
So it's easier to build web applications.
This is a little off topic for this question, but
I just met with an IBM engineer, who was saying
that the latest
how do I open a new window from a Javascript function?
window.open(url) does not work. Is there any other way to be followed
in struts?
The JavaScript FAQ usually helps in these type
of questions:
http://www.google.com/search?hl=enq=JavaScript+FAQ
-TPP
--
54 matches
Mail list logo