Chris,
Thanks for the reply - this sounds like just what I need.
> For instance, Apache Tomcat makes this pretty darned easy.
> You can define a JNDI datasource at the server level, or per
> webapp. The configuration is (roughly) the same; it just goes
> in a different place in your config fil
I'm looking into upgrading from 1.2.9 to 1.3.8, and I'm having a hard time
figuring out how to get DataSources for my application. In the old version,
I did the configuration in the struts-config.xml file, and could say the
following in the action:
DataSource ds = getDataSource(request,"datasourc
I'm trying to get my server to send an MP3 file to the client, but it's just
not working on Internet Explorer (Firefox works fine). The user clicks a
link like this:
download file
And whereas Firefox opens up a "save as" window, IE forwards you to an error
404. I've read about IE mime-sniffin
> > It makes sense that going from step 1 to step 2 is going to yield a
> > new sessionID, because a new window is being opened.
>
> Not really (makes sense, I mean).
It's likely that the user has closed the browser down between sessions.
Also, a new window being opened in IE will have a new ses
I'm having a very strange problem with sessionIDs getting dropped. It only
happens rarely, and I can't seem to reproduce it myself, but I can see that
it's happening by looking at the logs. (it's happening on XP with both IE
and Firefox)
I have four pages: Home, Register, CreditCard, and CreditC
I just took the plunge, and upgraded from 1.1 to 1.2.9. I did the
following:
replaced all the .jar files in WEB-INF/lib
replaced all the .tlds in WEB-INF
upgraded to sslext1.2
restarted Tomcat
And, um, everything just worked. Now,
normally this wouldn't be something I'd be complaining about,
So, I'm in the midst of localizing my app, and the first thing that's clear
is that localizing the MessageResources is a snap (pats self on back for
choosing Struts).
My question, though, is whether there's a standard method for choosing one
.jsp or another based on language. Also, is there a sta
> Ok, I use a resource file for all text and then put it in the
> html page using c:out, etc. But, what about Hebrew & Arabic?
> They need to be marked with dir="RTL". I can make the message
> hi there but then I can't escape any
> text and have to make sure I have escaped things in my messages
Frank,
> Interesting... there is of course no reason you can't use
> ActionForms with AJAX, was it a conscious decision that you
> didn't need them? How
> are you getting around not using them? Your Actions pull parameters
> directly from request I assume?
Right. My struts-config.xml file
I just wanted to say, this has been a great thread, and given me a lot of
food for thought. As I mentioned previously, I've spent a lot of time with
my head down developing in Struts 1.1, and now that I'm refactoring my site,
it's good to hear people batting around different ideas about the differ
nah, if you were really a geek you'd type :x and save the keypress :)
> -Original Message-
> From: Simon Chappell [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 06, 2006 11:09 AM
> To: Struts Users Mailing List
> Subject: Re: [FRIDAY] You might be a geek if ...
>
> I have been known
Sourav,
I'm not sure, but I'd guess that you'd want to encode it as a transportable
UTF-8 format on the server side, and decode it on the client side. Assuming
that this is, in fact, what you need to do, you can find instructions on
doing it here:
http://www.w3.org/International/O-URL-code.html
> Is it possible to supply some parameter as expression for
> property getter in bean:write tag ? I'd like to write bean
> property supplying the result of other bean property as the
> input parameter in my JSP page. If it isn't, is there any way
> to do this?
There are a couple of ways to do
Remember - the first step is admitting you have a problem.
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 30, 2005 3:04 PM
> To: Struts Users Mailing List
> Subject: Re: [FRIDAY] You might be a geek if ...
>
> ...Instead of playing Twis
; debate whether
> > those things might be true or not, I'm simply pointing out that
> > neither, in my mind at least, are good enough reasons to go
> one way or
> > the other.
> > There is a lot of hype, and you need to cut through it and really
> > s
> On 12/29/05, Priya Saloni <[EMAIL PROTECTED]> wrote:
> >
> > Hi there,
> >
> > I have a requirement like this where i need to remember the
> user names
> > for a computer.Can some one suggest me how to implement this using
> > struts based framework..
> >
> > Example:
> >
> > *Username: *
Actually, not to start that holy war, but I'm in the middle of refactoring
my Struts 1.1 app, and am trying to decide whether there's any compelling
reason to upgrade to either 1.2.x, or Shale.
Struts 1.1 has certainly been just fine - and unless there's a good reason
(important security upgrade,
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: Wednesday, December 28, 2005 12:28 AM
> To: user@struts.apache.org
> Subject: Re: serving binary files
>
> Daniel Blumenthal wrote:
> > Hi there, and happy ho
This probably won't help, but (you never know) - you might want to specify
method="POST". So:
Just a thought.
Daniel
> -Original Message-
> From: Flávio Maldonado [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 27, 2005 1:52 PM
> To: Struts Users Mailing List
> Subject: Upload Fi
You can get it from the HttpServletRequest object.
Here's the javadoc page:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.
html
Daniel
> -Original Message-
> From: Garner, Shawn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 27, 2005 1:27 PM
> To: 'S
A couple of years ago someone suggested PMachine, but again - it's
PHP-based. I'm not sure why, but most (all?) of the discussion forum
packages out there seem to be in PHP.
> -Original Message-
> From: slam dunk [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 27, 2005 12:33 PM
> To:
Hi there, and happy holidays!
I have an application in which there are certain files which are only
accessible by certain users. So, when a request comes to my "GetFile"
Action, I first verify that they have the correct permissions, then send the
file by opening the file and reading it into the
22 matches
Mail list logo