Dear List member,
How can I give absolute path to my result page.
web content -
|---x
|:-y
| :-z
|--w
Eg: My namespace is /x/y/z
and I want my error page which is in w folder in web content
then i have to give relative path of
../../../w/error.jsp
Can't i directly give
Hi,
I spent some time playing with JProfiler and measured struts2-showcase
application, more precisely employee/edit.action. The results are
presented under attached link
https://spreadsheets.google.com/pub?key=0AqTWUdvycqiKdEF3eWxvVVpfcW1TTFYtZ0FaWk5EV2chl=ploutput=html
If you have some spare
2010/7/22 Lukasz Lenart lukasz.len...@googlemail.com:
Please be aware that it's still unreleased version and voting process
is under way!
You are all welcome to vote!
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
2010/7/22 Philip Luppens philip.lupp...@gmail.com:
As much as I like the improvements, could you please specify the parameters
for the test? Concurrency level, number of requests (Just 4 requests isn't
going to give a clear indication of the performance), and most importantly,
a comparison
I'm using Struts2, REST with the Convention plugin and the
NamedVariablePatternMatcher along with some code that Jeromy Evans
provided for a HierarchicalRestActionMapper and all my controllers
are model driven. This nearly all works!
Let's say I'm building a blog so I want URLs like
On 7/22/10 3:40 AM, Amol Ghotankar wrote:
Can't i directly give w/error.jsp
w/error.jsp is a relative path. What happens if you specify
/w/error.jsp?
-Dale
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
Dear Dale,
i have used relative path of ../../../w/error.jsp
Can't i directly give w/error.jsp - if i give so I struts searches it in
x/y/z/w/error.jsp i.e relative to the namespace.
I will have to try with /w/error.jsp
Regards,
Amol
On Thu, Jul 22, 2010 at 7:38 PM, Dale Newfield
Dear Dale,
Yes it works perfectly, thanks.
So I can conclude if we give w/error.jsp it takes path relative to
namespace.
If we give /w/error.jsp it take absolute path from web content folder.
Regards,
Amol
On Thu, Jul 22, 2010 at 7:54 PM, Amol Ghotankar ghotankaru...@gmail.comwrote:
Dear
To answer my own question.
I've spent a very frustrating day trying to fix this!
On my Posts controller I had this
@Namespace(/blogs/{blogId})
public class PostsController implements ModelDrivenObject
turns out I needed this
@Namespace(/blogs/{blogsId})
public class PostsController implements
On 7/22/10 10:59 AM, Amol Ghotankar wrote:
So I can conclude if we give w/error.jsp it takes path relative to
namespace.
If we give /w/error.jsp it take absolute path from web content folder.
This is true, but can be stated more generally, not related to struts:
A path starting with / is
I'm using the REST plugin and am trying to setup annotations.
My package looks like this:
package name=default extends=rest-default
result-types
result-type name=tiles
class=org.apache.struts2.views.tiles.TilesResult /
/result-types
interceptors
11 matches
Mail list logo