What browser is the user using? Are they double-clicking the submit
button? Pressing stop because it seems like it is taking too long? Can
they successfully upload the same file (or another that is similar in
size) to another web site? I would ask the user those questions.
-Max
Jon
2 things come to mind:
1) Make sure your ActionForm has the appropriate setter method. It wont
be setDenyCodes(String value) since there can be many values. IIRC, you
need a setter that takes a String array as an argument. I could be wrong
-- do some research to be sure.
2) Make sure the
-Max
On Wed, 2006-03-01 at 13:46 +, Gareth Evans wrote:
You might want to try IS0-8859-1 rather than UTF-8, i find this works better
for me
Gareth
Max Cooper wrote:
Maybe take the generated one and just fix the bad chars, then compare
the binaries to see what changed. (Word might
reserves the right to monitor and review the
content of all messages sent to or from this e-mail address. Messages sent to
or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
--
Max Cooper [EMAIL PROTECTED
Maybe take the generated one and just fix the bad chars, then compare
the binaries to see what changed. (Word might change all kinds of stuff
when you save it that isn't related to your edit, though.)
-Max
On Tue, 2006-02-28 at 17:51 -0800, Max Cooper wrote:
Your HTTP response is a binary Word
You can use whatever port you want, just make sure the port number in
the script that starts JBoss matches the port that you have in your
Eclipse debug configuration.
I suppose the default port for JBoss is whatever it is set to in the
comment in the run script (8787?). The default in the
Filters are common to all, just like servlets.
-Max
On Tue, 2006-02-07 at 13:06 -0800, temp temp wrote:
Filters in web application.
Are servlet filters similar to session ie each session will have its own
filter or its like sevlet context ie common to all sessions .
Thanks
In general, there is no way to save an HTML file as a Word doc, or at
least no way that is reasonable to ask your users to carry out manually.
So, while you can re-use the basic *design* of the page, you won't be
able to re-use the JSP itself for this purpose.
Here is a library that allows you to
There are some useful browser plugins for finding (and correcting, based
on the info they help you obtain) broken image references. For example,
using Firefox with the Web Developer plugin, you can use Find Broken
Images.
1. Type stuff into your browser address bar until you know what the full
Can you change the contextPaths on your dev, int, and stg servers?
(dev) http://devserver.com/Application
(int) http://intserver.com/Application
(stg) http://stgserver.com/Application
(prod) http://prodserver.com/Application (no directory)
I haven't followed this thread all that closely, but it
On Tue, 2006-01-24 at 14:06 -0700, David Thielen wrote:
Hi;
2.It says to use struts-el with jstl. I thought jstl eliminated the
need for struts-el?
There is no JSTL equivalent for some Struts tags. JSTL + Struts-EL gives
you a complete set of EL-capable tags.
-Max
Thanks - dave
On Mon, 2006-01-23 at 16:27 -0800, Craig McClanahan wrote:
On 1/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
[snip]
Calling flush() doesn't necessarily cause the *entire* response to be
sent, because you might still be creating more output. But it *does*
A tag in your JSP is probably expecting a Collection, but the getXXX()
method it calls has a String (or some other non-Collection object)
return type.
Post the tag from your JSP that results in the error and the related
getter(s) from your ActionForm for more specific assistance.
-Max
On Mon,
On Tue, 2006-01-03 at 16:51 -0500, Michael P. Soulier wrote:
On 13/12/05 Max Cooper did say:
It sounds like your main challenge is that you have requests to a web
server that look like http://web.domain.com/foo/bar/me mapped to an app
deployed on an app server that you might access
Note that Struts isn't writing absolute URLs. As a webapp developer, you
use context-relative references that Struts turns into site-root
relative URLs. Here are examples of each type of reference, just so we
are all on the same page:
Relative: foo.html
Site-root relative: /myapp/foo.html
(And
It is likely created for reasons of security.
Consider this scenario:
1. User accesses app without encryption, gets a session
2. Theif is watching traffic and grabs their jsessionid
3. User logs into app via encrypted connection
4. Hacker now has access to logged-in session via the jsessionid he
A single instance of each Action class is used to service multiple
simultaneous requests (just like a Servlet). If you want the session,
you have to pass it around (or pass the request around, from which you
can navigate to the session).
Having a no-argument getSession() method on Action would
Also consider td nowrap=The text that you do not want to wrap./td
This is all HTML stuff -- remember that browsers know absolutely nothing
about Struts, and that your app emits standard web stuff (HTML,
JavaScript, CSS, etc.) only.
-Max
On Thu, 2005-11-03 at 06:08 +1000, Murray Collingwood
My memory of all this stuff is a bit foggy, and some of this is just
plain speculative, so this post is sort of general (and maybe even wrong
in some spots ;-) -- but I hope it might have some value in guiding you
toward a solution...
Some browsers (somewhat correctly, though somewhat
If you are talking about preventing the user from typing stuff into the
URL box, it is my opinion that it is a waste of time to approach the
problem in this way. You can't prevent the user from typing whatever
they want into the URL box. Period. So, don't try to build anything
based on the flawed
Jeff,
It is common to have SSL between the browser and apache (httpd), and no
SSL between apache (httpd) and Tomcat. So you don't need to install a
cert on your tomcat.
Depending on how you are proxying requests from your httpd server to
tomcat (or if you also have load balancers and other
On Tue, 2005-10-04 at 18:14 -0400, Dave Newton wrote:
Tim Coy wrote:
Point taken and I hadn't considered that.
Most users tend to only login once they intend to make a purchase. Then all
transactions are via SSL Including browsing for more items to purchase.
I haven't found that to be the
Two notes:
1. Be careful when modifying ActionForwards to make sure that you aren't
modifying the shared, system-wide instance. That can be a nasty side
effect. You can make a copy of the ActionForward object, change it, and
return the copy from your Action.execute() method to get around this
You can still decompile it. I am not aware of any technologies that
completely prevent decompilation. It is just harder to make sense of the
decompiled code when it has been obfuscated.
The Zelix home page has a nice short here's what you get look at what
decompiled code looks like if you wish to
On Fri, 2005-07-15 at 13:12 -0500, Brian Lalor wrote:
is there a way to specify a new default ActionMapping class?
The type attribute of the action-mappings element will set a default
so you don't have to repeat it (or forget to repeat it) in all your
action elements:
action-mappings
I think this is a weird requirement, and it may be worth re-evaluating
why you want to know this (are you fighting the technology, or
leveraging it?). But here are two tips that might help if you decide
that you really need to know:
1. request.getPathInfo() -- the jsessionid might be a pathInfo
Don't write your own page templating system. Use Tiles instead.
-Max
On Tue, 2005-03-08 at 16:32 -0800, wo_shi_ni_ba_ba wrote:
Hi folks,
In my webapplications there are many html page with
the similar look and structure. I am trying to factor
out them. So I created utility functions to
Are you using HTTP BASIC authentication? If you get a login dialog box,
as opposed to a login web page, you are probably using HTTP BASIC
authentication. If so, the browser remembers the login and automatically
sends it to the app with each request, which will log the user in again
if they revisit
Yes, it is typical to write Action.execute() methods that contact the
persistent store to populate an ActionForm so that the data can later be
rendered by a JSP.
Specify what ActionForm (bean) your action uses in struts-config.xml.
When you do this, Struts will create/find an instance of that
You don't have to statically include all the JavaScript in each page.
You can use a dynamic include, allowing the JavaScript to cache in the
browser instead.
See the dynamicJavascript and staticJavascript attributes of the Struts
html:javascript tag.
-Max
On Wed, 2005-02-23 at 18:52 -0300,
className=ui.action.TestAction
should be:
type=ui.action.TestAction
-Max
On Mon, 2005-02-07 at 14:21 -0500, Soaring Eagle wrote:
Hello,
I have a simple struts-config.xml like below. This keeps throwing
wierd class not found exceptions. Here is the struts-config and the
exception. I
Using a local dev server (each developer runs their own server locally)
and pointing it to one of your working directories that contains an
exploded app is nice. The time it takes to deploy changes needs to be
short to keep productivity up -- it seems unlikely that a process that
involved creating
32 matches
Mail list logo