: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
It is not an OGNL problem. The String you are trying to convert is not
convertible to an int in Java just like you could not convert the String
abc to an int. You need to use a long.
Chris
Whenever the validation procedure returns to the input result, any
s:action elements are not executed. Is there a reason for this? Is there
anything which needs to be configured or toggled to allow it?
Thanks
Chris
I am having trouble determining how to best integrate JFreeChart to
display the output image and allow the imagemap to be able to permit the
user to drill down into another chart or data grid.
In my struts configuration file I have:
action name=chartdemo class=com.mro.reporting.charts.Demo
The server is GlassFish
jsp:
!-- start jsp --
%@ taglib prefix=s uri=/struts-tags%
html
head
titleRainForest - Music and Video Store/title
meta name=heading content=s:property value=name/, your T-Shirt
is on its way! /
/head
body
ul
liName: s:property value=name//li
liEmail: s:property
On 9/25/2010 11:22 AM, Dave Newton wrote:
On Sat, Sep 25, 2010 at 11:18 AM, Chris Mawata
chris_mawata_str...@mathcove.net wrote:
The server is GlassFish
What version of Struts 2?
Dave
Sorry -- 2.2.1 (It works in 2.1.8
What about a class hierarchy such as:
ActionSupport
BaseAction
UserBaseAction
UserCreateAction
UserSaveAction
I've personally tried the other approach where you would
have something like:
ActionSupport
BaseAction
UserAction
Then you would use the method attribute on
: Struts 1 and thread safety
Thanks to Dave and Chris.
Now the base class is storing the projectId in the session.
Is it correct to assume that a single request is handled
within one thread so
that there are no thread-safety issues within an action
method to consider ?
Thanks,
Norbert
On 9/18/2010 8:36 AM, Norbert Hirneisen wrote:
Just another question regarding this context:
the original code has been written by a colleague.
Now I´m intrigued if setting the execute-Method in the base class within a
synchronized block makes sense ?!
As far as I´m understanding the action
Can someone illustrate some good uses of the s:action tag?
It's one tag that I haven't used in Struts2 but I suspect I could get a
lot of utility out of it, particularly by modularizing my actions.
-
To unsubscribe, e-mail:
result to view?
Any alternative to this?
Thanks
Anjib
On 9/10/2010 9:27 AM, CRANFORD, CHRIS wrote:
As others indicated, it's a matter of using the Struts/JSTL tags.
ul
logic:iterate id=aFoo name=resultObjects
libean:write name=aFoo property=propertyName//li
/logic:iterate
/ul
The biggest
On 9/10/2010 1:08 PM, adam pinder wrote:
public User getUser(int occ)
Should the getter not return the collection rather than a single User?
Chris
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
JSP pages clean and much easier to read.
HTH,
Chris
-Original Message-
From: Anjib [mailto:anji...@hotmail.com]
Sent: Thursday, September 09, 2010 6:27 PM
To: Struts Users Mailing List
Subject: Managing code between Action Class and JSP.
Yes I am using Struts1.
On 9/9/2010 5
then sits under that.
Personally unless you have a specific need for clean URLs such as for
search engine optimisation then its not really worth the effort.
Chris
I need to implement a webapp that uses the URL to determine the
partner that is accessing the application. I'd like your opinion
);
log.debug(my.test.key : + (s != null ? s : null);
}
I constantly get my.test.key : null.
Why?
Chris
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Ah that is likely the case.
Thanks!
Chris
-Original Message-
From: cimballi.cimba...@gmail.com [mailto:cimballi.cimba...@gmail.com]
On Behalf Of Cimballi
Sent: Friday, August 13, 2010 1:43 PM
To: Struts Users Mailing List
Subject: Re: Add ValueStack Object In Interceptor
Chris
in and the access is fixed.
Lots of ways to do it, but I would keep them separate.
Chris
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Monday, August 09, 2010 6:23 AM
To: Struts Users Mailing List
Subject: Re: URL authentication
FWIW, I wouldn't combine
Hi folks.
I am getting the following exception on my action method.
No result defined for action and result input
But my action method is annotated with @SkipValidation so I do not know why it
is firing this error.
Chris
Hi, It is not being returned by me so without having to debug the source is
anything which might be triggering it?
thanks
Chris
- Original Message -
From: Cimballi cimba...@cimballi.net
To: Struts Users Mailing List user@struts.apache.org
Sent: Sunday, August 01, 2010 9:36 PM
It wasn't a performance concern, it was a security concern. Since the OGNL
and JSP EL were processed by separate processors, it's possible to have one
transform user code to the other which is a very simple way of allowing an
end user to inject executable code into your system.
(*Chris
am looking to use iText but this isn't a firm
choice and another option that may work better is possible.
Chris
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
trying to test this out with static values (or use
static values), try this instead (note the embedded single quotes within the
double quoted, maybe cutting-n-pasting would work best)
s:param name=helpTitle value='example1'/
s:param name=helpText value='example2'/
(*Chris*)
On Tue, Jul 20, 2010
Not unless you sprinkle a couple of /s:param's in there as well.
(*Chris*)
On Tue, Jul 20, 2010 at 1:08 PM, Johannes Geppert jo...@web.de wrote:
does it work when you define it this way?
s:url id=url_help namespace=/Action/Global action=ProcessHelp
s:param name=helpTitleexample1
This is obviously not picked up my action class expecting deliveryDate and not
dojo.deliveryDate.
Is this normal? According to the docs it is not.
Chris
How easy could I patch the code myself to do this? Can struts tags be built
publically through maven or anything?
Thanks
Chris
- Original Message -
From: Chris Miles ch...@chrismiles.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, July 17, 2010 6:34 PM
Is there a reason the datetimepicker does not allow you to make the textfield
readonly? Is there any work arounds?
Thanks
Chris
expected, but for some reason the
widget isn't populating the dropdown with it now.
Any suggestions?
-Original Message-
From: Rahul Mohan [mailto:rahul.mo...@tcs.com]
Sent: Friday, July 16, 2010 1:10 AM
To: Struts Users Mailing List
Subject: Re: Ajax Response - Array Objects
Chris
client
return(json);
}
Can anyone explain what I have missed here in my implementation and/or
what needs to be corrected.
Thanks,
Chris
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e
the include above.
Can not figure this out?
Thanks
Chris
- Original Message -
From: Chris Miles ch...@chrismiles.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, July 14, 2010 11:21 PM
Subject: Re: Currency Formatting
On further digging I have found out some
:
(*Chris*)
s:text name=format.currencys:param value=price//s:text
On Thu, Jul 15, 2010 at 12:16 PM, Chris Miles ch...@chrismiles.org wrote:
I broke this down into a very simple example tonight.
Just two JSP pages.
test1.jsp
which has
s:include value=test2.jsp/
and
test2.jsp
which
?
Chris
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, July 15, 2010 8:24 PM
Subject: Re: Currency Formatting
If that's actually a cut-n-paste job from the files, I can see the error, if
you retyped
into that
cold dark land yourself...
(*Chris*)
On Thu, Jul 15, 2010 at 2:05 PM, Chris Miles ch...@chrismiles.org wrote:
Yeah sorry was just a paste typo. :(
Basically if you try the format, but do it in a JSP being included by
another JSP as the result of an Action the problem is recreated. Bit much
this.
Thanks for your help Chris
Chris
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, July 15, 2010 10:17 PM
Subject: Re: Currency Formatting
I just use Tiles to do my page composition, so I don't
I have a form that uses the select tag to retrieve a list of values from
my action when the JSP is rendered. What I would like to do is use the
built in AJAX support so that I could populate another dropdown with a
set of values that depends on that initial selection.
Can someone post a simple
work
fine.
(*Chris*)
On Wed, Jul 14, 2010 at 12:08 PM, Ken ken.mcwilli...@aerose.com wrote:
The following is in a file called menu.jspf
%@ page pageEncoding=UTF-8 %
%@ taglib prefix=s uri=/struts-tags %
h2Menu/h2
s:a action=loginLogin/s:a
The html produced is (produces s:a tags instead
and it renders every thing successfully and even includes a localised £ sign
which.
Does this help shed any further light on it? Something in the including
mechanism which is messing things up?
Chris
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users
it where you need it.
(*Chris*)
On Tue, Jul 13, 2010 at 11:42 AM, hisameer cool_sameer_fo...@yahoo.comwrote:
Thanks for the suggestion. I have implemented it, but the issue is that the
bean is called twice.I am using websphere server 6.1. Do you have any idea
why its happening?
Here
name=format.currencys:property
value=product.price//s:text
Without the s:text the price is displayed (a Double).
When the s:text is included all I get is: {0}
thanks
Chris
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users Mailing List user
try s:param instead of s:property.
(*Chris*)
On Tue, Jul 13, 2010 at 12:11 PM, Chris Miles ch...@chrismiles.org wrote:
At the moment I have in my struts.xml
constant name=struts.custom.i18n.resources value=ApplicationResources
/
ApplicationResources.properties is being packaged within
Umm, no I'm saying let Spring manage the singleton, you don't need to do it
yourself. Especially since the original question was how to have it created
at initialization time. If you remove scope=prototype, it won't be
auto-created for you, and you will have defeated the whole point.
(*Chris
anyway).
(*Chris*)
On Tue, Jul 13, 2010 at 2:25 PM, hisameer cool_sameer_fo...@yahoo.comwrote:
Thanks for the input. The default scope is Singleton anyway. Also I am not
calling getStartUPService() method in my application. I have deleted this
method. But keeping the scope to singleton
Chris,
Hi that works perfectly for
s:text name=format.currencys:param value=total//s:text
where total is public Double getTotal
but causes all rendering to stop at the following within an iterator.
s:text name=format.currencys:param value=#product.price/
where ListProduct getProducts
s:iterator puts the value on the top of the stack, so if you have a list
of doubles, we'll call it amounts, it would look something like this:
s:iterator value=%{amounts}
s:text name=format.currencys:param value=%{top}//s:text
/s:iterator
(*Chris*)
On Tue, Jul 13, 2010 at 2:43 PM, Chris
Chris,
I have a list of products which contain a double price.
I now have.
s:iterator value=products var=product
span class=product-names:property value=#product.name//span
span class=product-pricepound;s:text
name=format.currencys:param value=#product.price//s:text/span
/s:iterator
/s:iterator
Since the iterator tag puts the current value on the top of the stack,
there's no reason to define a variable to hold it. It's much simpler to
just use the value stack to pull the values from. Don't know if this might
help or not.
(*Chris*)
On Tue, Jul 13, 2010 at 3:23 PM, Chris Miles
Thanks Chris. The reason I use this method in my iterators is there are a
few places where I use nested iterators so the # notation is the only way to
access the current iterator but also the parent iterator.
This specific iterator is not nested so I have changed it for learning and
trial
Define fails, you get a stack trace? you don't get the output you
expected? If so, what were you expecting vs. what did you get? I've used
that code a thousand times, so I'm not sure what could be going wrong...
(*Chris*)
On Tue, Jul 13, 2010 at 3:56 PM, Chris Miles ch...@chrismiles.org wrote
HTML rendering just completely stops at that point. I get the following:
span class=product-nameThis is a product name/span
span class=product-price
And nothing else for the rest of the page. Nothing in the logs. Nothing :)
Chris
- Original Message -
From: Chris Pratt thechrispr
That's weird I've never experienced anything like that were rendering stops
without putting anything into the logs. Looks like you'll have to dig into
the code.
(*Chris*)
On Tue, Jul 13, 2010 at 4:05 PM, Chris Miles ch...@chrismiles.org wrote:
HTML rendering just completely stops
Yeah I was hoping I did not need to. Not at midnight though. Will look
tomorrow now haha.
Thanks very much for the help.
Chrid
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, July 14, 2010 12:10 AM
Hi
If I am displaying a Double to a JSP page what is the recommended way to format
this is as a currency to two decimal points?
Thanks
Chris
Define something like:
format.currency={0,number,currency}
In your applications.properties file, then use:
s:text name=format.currencys:param value=%{amount}//s:text
HTH
(*Chris*)
On Sat, Jul 10, 2010 at 5:53 AM, Chris Miles ch...@chrismiles.org wrote:
Hi
If I am displaying a Double
Hi.
Thanks for the response but that is not what I mean. I want to email the
contents of a view - a JSP which has been rendered after an action - but
to the contents of an email rather than the contents of a browser request.
Chris
If you just want to send mail after some action is executed
Yeah that is right.
I want to maintain the MVC pattern, but using it for sending HTML emails
to clients rather than browser requests. It has to be the HTML within the
email itself rather than embedding an iframe to the website or a link to a
page.
Chris
Hi,
What you want is the content
Thanks yeah I see what you mean. It would be easy to have a class generate
tons of HTML but that would be cumbersome. Getting the resuling rendered
JSP would be something tricky.
Hi,
I am not exactly sure of such return type, but what you can try with is-
Create a html output of the result
Thanks Dale.
It is basically for emailing a copy of a invoice which has been populated
by an action. No links or anything. All self contained except the CSS link
but that is absolute anyway.
Chris
On 7/8/10 9:44 AM, ch...@chrismiles.org wrote:
Getting the resuling rendered JSP would
Yeah. Thank you both for your responses. I think I will need to justify
the benefits of the extra cost for a fancy HTML invoice compared to a
plain text version.
Thanks again folks. I will investigate :)
Chris
Yes, tricky indeed, but currently the only way to go.
Not the only way. Just
Is it posible for me to render a view after an action and be able to access the
HTML for sending in an email rather than rendering to a browser?
thanks
Chris
Hi,
Thanks. My action class is as follows. It is very basic. The confusion is
that I can call a property once but it fails as soon as I try to even call
the same property a second time. It is beyond reasoning.
Chris
package sentiments.struts2.checkout;
import sentiments.struts2.ShopAction
Out of interest I tried the html character for the pound sign and it works
now.
Strange that would make it fail when the tag should not care about the HTML
content nested within it.
Chris
- Original Message -
From: Chris Pratt thechrispr...@gmail.com
To: Struts Users Mailing List
Does anyone have any ideas? Tearing my hair out with this.
Chris
- Original Message -
From: Chris Miles ch...@chrismiles.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, June 29, 2010 9:47 PM
Subject: Re: Nested Iterator Problem
Is there anything else
Not sure but it looks like there's an invalid character in there. Could
that be fouling things up?
(*Chris*)
On Thu, Jul 1, 2010 at 1:59 PM, Chris Miles ch...@chrismiles.org wrote:
Does anyone have any ideas? Tearing my hair out with this.
Chris
- Original Message - From: Chris
Hi Chris. Thanks for responding. I can not see any invalid characters?
Chris
Not sure but it looks like there's an invalid character in there. Could
that be fouling things up?
(*Chris*)
On Thu, Jul 1, 2010 at 1:59 PM, Chris Miles ch...@chrismiles.org wrote:
Does anyone have any ideas
On my screen it looks like there's a British pound sign in the text, which I
believe is outside the ASCII characters set, I'm just wondering if that
could be causing the trouble. It's definitely something I've never tried
myself.
(*Chris*)
On Thu, Jul 1, 2010 at 2:14 PM, ch...@chrismiles.org
possible thing I can think of and drawing complete blanks.
Chris
- Original Message -
From: Chris Miles ch...@chrismiles.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, June 28, 2010 9:13 PM
Subject: Re: Nested Iterator Problem
In the second Iterator I have just
can't speak as much to it's capabilities, but I haven't found anything I
could do with one and not with the other (so far). I think the decision
really comes down to which model you like better.
(*Chris*)
On Tue, Jun 29, 2010 at 3:17 PM, Dale Newfield d...@newfield.org wrote:
On 6/26/10 4:26
it should be
displaying the property. The parent iterator continues as normal.
I have set all Struts and XWork logging to DEBUG and there is no errors or
warnings indicating a problem whatsoever.
Thanks
Chris
- Original Message -
From: Chris Miles ch...@chrismiles.org
To: Struts Users
That should work great, another option is just to define a singleton bean in
your Spring configuration. It will get loaded with the container and
initialized automatically. Either method should do what you want.
(*Chris*)
On Fri, Jun 25, 2010 at 12:24 PM, Dale Newfield d...@newfield.org wrote
Hi thanks. Sorry. My iterator is actually nested within another iterator. It
is fetching products based on the value of the index in the first loop.
Thanks. I will try that.
Chris
- Original Message -
From: Greg Lindholm greg.lindh...@gmail.com
To: Struts Users Mailing List user
not figure this out.
Thanks
Chris
Hi,
Use a type=redirectAction and then set the result to the action name
(without .action)
Chris
Hi Guys,
I want to call to another action mapping which has defined in the
struts.xml
file within another action class, its like this,
*struts.xml*
action name=readThis class
Hi,
I want to call s:iterator and fetch a list by passing it an index. This list
will be dynamically generated.
s:iterator value=products[#index] var=product status=stat
where I want getProducts(Integer index) to be called.
Is this possible?
Thanks
Chris
ServletResponseAware.addCookie().
(*Chris*)
On Mon, Jun 21, 2010 at 8:33 AM, Rebecca Case mrc...@yahoo.com wrote:
I'm wanting to be able to create a cookie if it doesn't exist yet and
update it if the cookie is already existing. Is this possible using
CookiesAware and the cookie interceptor
It would make sense to use absolute links rather than relative ones. Your
CSS folder you shoudl put on your root and always link to it with
/css/blah.css and the same with images then you wont get into directory
problems.
Chris
You should not call your page from a link but always go through
an
option.
(*Chris*)
On May 31, 2010 3:35 AM, szerintedmi szerinte...@gmail.com wrote:
Thanks all for the help...
The store interceptor definitely is part of the solution. (If you lost and
nothing else helps read the documentation :) )
I still need to sort out how to redirect the params. I'm
and
have it automatically surrounded by the correct table tags?
Thanks
Chris
You dont need to bump your posts back up, especially only a day later. If
someone knows the answer they will reply.
Chris
Pl. reply
On Tue, May 25, 2010 at 2:15 PM, abhishek jain
abhishek.netj...@gmail.comwrote:
hi friends,
I am running struts 1.x and want to place the php code
Hi,
You would need to post your strack trace and where the problem happens.
Chris
Hi.
I have used the following code with struts 1.2x and it works just fine.
Now
I have upgraded to Struts 1.3.10.
Now I get the following error when I try to login to my Struts app.
Can anybody
could not tell you. You
should step through your code and make sure it is doing every it should be
before you call the close. If yuo are not obtaining a valid connection I
suggest starting there. You should probably be closing your database
within a finaly block as well.
Chris
Of course. Here
Struts is only a facade round the existing JSP and servlet technologies so
I cant personally see them causing the problem (prove me wrong?).
Coincidences happen I am afraid (to myself included). Good luck debugging
your code.
Chris
I will do that. Thanks.
But what I dont understand is that I
If you search the forum, someone posted an Interceptor (quite a while ago)
that saves the Action/Field Errors/Messages in the Session so that they will
survive a redirect. It could easily be extended to do what you require.
(*Chris*)
On Wed, May 26, 2010 at 5:45 AM, szerintedmi szerinte
You do not need to go through an action before your form unless there is
some logic you wish to perform first.
Chris
Hi all,
i am wondering what is the best way for link a page to other.
Imagine this scenario:
Index Page with a menu:
- Search
- Insert
if i click on search, must show
Just create a anchor to your form.
a href=searchForm.jspSearch/a
And then have the form submit to your doSearch action. That is all.
Chris
there isn't any logic! only show the form...
so how can i do?
2010/5/21 ch...@chrismiles.org
You do not need to go through an action before your form
to go through the
controller. It is counter intuitive just pass through an action which does
nothing, when the JSP would get filtered anyway.
Chris
On Fri, 21 May 2010 11:01:43 -0400, Denis Cabasson
denis.cabas...@gmail.com wrote:
I personnaly prefer to use the same Action for things
.
(*Chris*)
On Thu, May 20, 2010 at 8:18 AM, Andy Law andy@roslin.ed.ac.uk wrote:
RogerV wrote:
Andy Law wrote:
The pertinent code in the interceptor is reproduced below. It does what
I
expect it to do insofar as it sticks my Stuff object in a place that
the JSP can retrieve
contained within the session.
If this method was to work, would the struts messages and errors etc be
accessable from the JSP page I have manually forwarded to or would they be
lost?
Is there a better solution that I can not think of?
Many Thanks
Chris
contained within the session.
If this method was to work, would the struts messages and errors etc be
accessable from the JSP page I have manually forwarded to or would they be
lost?
Is there a better solution that I can not think of?
Many Thanks
Chris
NOT PROTECTIVELY MARKED
Hi
Do not put any result in the XML and in the Action just return
Action.NONE
Chris
-Original Message-
From: Upasana Sharma [mailto:sharma...@gmail.com]
Sent: 22 April 2010 10:10
To: Struts Users Mailing List
Subject: Action result to go nowhere
Hi
I have
That is what I would expect to happen. You are clicking a link which
changes the URL to the URL of the Action. This is the normal process of
the web itself.
Chris
-Original Message-
From: Upasana Sharma [mailto:sharma...@gmail.com]
Sent: 22 April 2010 10:37
To: Struts Users
It seems to me that he is trying to do something which Struts was not
designed for which kind of takes away the point of it.
If you tell us what you are wanting to do and why there might be
something else out there rather than hacking a solution.
Chris
-Original Message-
From
Explain what exactly you are trying to achieve and why and it would help
someone give you a solution.
Chris
-Original Message-
From: Upasana Sharma [mailto:sharma...@gmail.com]
Sent: 22 April 2010 10:52
To: Struts Users Mailing List
Subject: Re: Action result to go nowhere
It makes more sense to open the popup and have the URL of the popup as
your action, do any business logic / processing, and then forward to a
JSP to render the display. This is the purpose of a
model-controller-view design.
Chris
-Original Message-
From: Upasana Sharma
) {
this.configuration = configuration;
} //setConfiguration
(*Chris*)
On Thu, Apr 22, 2010 at 6:43 AM, Bhaarat Sharma bhaara...@gmail.com wrote:
nevermind...got it:
Dispatcher.getInstance().getConfigurationManager().getConfiguration().getRuntimeConfiguration();
On Thu, Apr 22, 2010 at 9:41
NOT PROTECTIVELY MARKED
Thanks,
It is also worth noting that I have tested just deploying the WAR and
everything works fine. Just when that WAR is deployed within an EAR
nothing gets picked up.
Chris
-Original Message-
From: jonathan doklovic [mailto:list-rea...@sysbliss.com]
Sent: 20
=seek.xworkTextProvider value=myTextProvider/
bean name=myTextProvider
class=com.struts2.localization.MyTextProvider scope=default
type=com.opensymphony.xwork2.TextProvider/
Thanks
Chris
-default
namespace=/actions/ /struts
My actions are contained within the WAR file within the EAR. No JARs in
place. There is nothing in the setup documentation about setting the
package property?
Chris
-Original Message-
From: jonathan doklovic [mailto:list-rea...@sysbliss.com]
Sent: 20
How'd it go when you put an empty default.action file in the directory?
(*Chris*)
On Wed, Apr 14, 2010 at 10:54 PM, Burton Rhodes burtonrho...@gmail.comwrote:
I'm not sure the default action solves the problem.
I am put this in my struts.xml file:
!-- Set the default action to Login_show
Hi,
I am using the convention plugin, not the older codebehind plugin. The
convention plugin exists in my lib directory. I am calling actions by
/namespace/actionName.action
Thanks
Chris
Good Afternoon Chris
best to look at the usage of the code behind plugin
http
NOT PROTECTIVELY MARKED
James,
Is this using the Convention plugin? If so then this is the exact same
problem I have posted about. Not been able to find a solution yet. I am
also using a Annotation enabled application within an WAR/EAR combo on
Glassfish 2.1.
Chris
-Original Message
Adam, try editing this (it works for me when I am downloading a jar file
in terms of the name of the file. It should with some editing work for
your pdf)
You can also do the equivalent in your struts.xml if you want to.
@Results({
@Result(name=success, type=stream,
resource, if not it checks the directory for a
file matching specified welcome-file. If it finds one, things proceed
as usual and struts gets the request to process and will naturally go
to your index.jsp file to fulfil the request.
(*Chris*)
On Wednesday, April 14, 2010, Burton Rhodes burtonrho
401 - 500 of 1296 matches
Mail list logo