So this got weird.
I tried everything. Rewrote the method, changed the responses, put
debugging all over - nada. I could reproduce the problem by rapid-firing
^R at the browser, and the home would render with the stylesheet about
half the time. It was interesting seeing it flip back and for
e to source the stylesheet (in the final version, hte
stylesheet will be assembled). The short version is the stylesheet is not
static - it's being generated programmatically, and being fed back into
the HttpServletResponse directly.
-d
--
---.----.-----
On Tue, 21 Sep 2010, Dale Newfield wrote:
On 9/21/10 12:36 AM, Dave Belfer-Shevett wrote:
It shouldn't matter, but the browser might be deciding something wonky based
on the fact that that url doesn't end .css...you could either add css as an
action extension or maybe use url
On Tue, 21 Sep 2010, Rahul Mohan wrote:
Did you take a look at this request through Firebug? It might show some
useful info.
I haven't, but I'm not sure where this would pin it down. For example, if
I use curl to pull the stylesheet rapid fire:
curl http://localhost:8080/congo/public/getCon
Help me obi-wan struts-geeks. This one is puzzling me.
I need to 'stream' a stylesheet out to the browser. Due to the app,
that stylesheet is sort of generated on the fly from the database, so I
can't just point the browser at a static file.
In the document, I have:
type="text/cs
I have a twofold question.
The first is I have a session variable called 'sendto' which contains a
string ('registrant','none', or 'everyone'). When the page with the
radio buttons is rendered, I want to preselect based on whatever the
value in the session hash for 'sendto' is set to.
Code:
thanks.
-d
--
---..-------.
Dave Belfer-Shevett \ KB1FWR \ JID: d...@jabber.stonekeep.com \
blog:planet-geek.com >'---.
d...@homeport.org/ I intend to
and have my Redirect.jsp have a ${target} in it
How to do this? In short, how do I have a struts action redirect the
users browser to an arbitrary (off-site) URL?
-dbs
--
-------..---.
Dave Belfer-She
ncantation to turn this
one off. Currently I'm using:
but that is doing nothing (i've tried various incantaions on the name
line, none have any effect).
Help please?
--
---..-------.
Dave Belfer-Shevett \ KB1FWR \ J
On Wed, 16 Jul 2008, Dave Newton wrote:
--- On Tue, 7/15/08, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote:
[...] the documentation page for this, naturally, provides
no examples of what the include file should look like.
"Naturally?"
Sniping aside: the "include" do
tonekeep.com/4957
Note that says "no grammar found". Adding the DTD says "you need a
package name in your struts block" - etc etc etc. It never really
resolves.
Can someone show me an setup that actually works?
--
---..---.
On Monday 14 July 2008 00:30:19 Jeromy Evans wrote:
> Dave Belfer-Shevett wrote:
> > In my JSP, I have:
> > Preferred cid is
>
> This expression reads "evaluate perferredcid, then get the value of
> #attr.properties[evalresult]".
>
> I expect you
.. help?
-d
--
---..-------.
Dave Belfer-Shevett \ KB1FWR \ JID: [EMAIL PROTECTED] \
blog:planet-geek.com >'---.
[EMAIL PROTECTED]/ Windows98 Err#021 - Error Parsing Error\
---<L
On Sun, 13 Jul 2008, Martin Gainty wrote:
access it with
<%
ValueStack stack = getStack();
stack.findValue("#attr.someKey");
%>
http://www.docjar.com/docs/api/java/util/Stack.html
where you put the value.. HashSet,HashMap or Property is up to you..
Doesn't this violate the 'scriptlets are bad'
t to it via #attr -
what's the proper syntax?
Java-wise, it's
Property p = new Properties;
String value = p.getProperty("somekey")
but naturally I don't want to do this in a scriptlet.
Help?
--
-------..---.
Dave B
On Wed, 18 Jun 2008, Dave Belfer-Shevett wrote:
Hi folks - I'm trying to divide up my struts app into subdirectories (the
application has a 'public' interface, and an 'administrative' interface
called 'coconut'. Don't ask).
And here I am answering my o
Hi folks - I'm trying to divide up my struts app into subdirectories (the
application has a 'public' interface, and an 'administrative' interface
called 'coconut'. Don't ask).
I'd like to have 2 wildcard actions that pull JSPs from different
subdirectories. (coconut and public)
Here's my conf
Lukasz Lenart wrote:
My understanding is that the webwork API for ApplicationAware means that the
interceptor will have it's setApplication(Map applicationData); triggered
when the interceptor is run, thereby giving me access to the
applicationcontext.
ApplicationAware should be used with Actio
Hi folks - i'm trying to write an interceptor in struts2 that has access
to the ApplicationMap in the application context.
My understanding is that the webwork API for ApplicationAware means that
the interceptor will have it's setApplication(Map applicationData);
triggered when the interceptor
Hi folks, I have two questions, and I apologize for the n00b approach.
I'm just teaching myself struts2, coming from a PHP background (but I've
done plenty of JEE and Java Swing programming, so the language isn't
completely alien :)
Question 1...
I have a Logon form that works fine without an
20 matches
Mail list logo