I checked the source code of acegi.
protected void sendRedirect(HttpServletRequest request,
HttpServletResponse response, String url)
throws IOException {
if (!url.startsWith("http://";) && !url.startsWith("https://";)) {
url = request.getContextPath() + url;
}
They are two different goal.
The difference is described in the following link
http://www.mortbay.org/maven-plugin/index.html
-邮件原件-
发件人: GBSGBSGBS [mailto:[EMAIL PROTECTED]
发送时间: 2007年5月11日 13:16
收件人: users@appfuse.dev.java.net
主题: Re: [appfuse-user] 答复: jetty-run build-error
thank
thank u, it works
but im still curious of why..
from my point of view, i dont see any differences between these two
command...
forgive me if its a stupid question
hanqiao wrote:
>
> You can try
> Mvn jetty:run-war
>
>
> -邮件原件-
> 发件人: GBSGBSGBS [mailto:[EMAIL PROTECTE
You can try
Mvn jetty:run-war
-邮件原件-
发件人: GBSGBSGBS [mailto:[EMAIL PROTECTED]
发送时间: 2007年5月11日 12:07
收件人: users@appfuse.dev.java.net
主题: [appfuse-user] jetty-run build-error
yesterday, everything is ok, i made some crud pages, and well ran with no
problem
but today, errors has occur
yesterday, everything is ok, i made some crud pages, and well ran with no
problem
but today, errors has occured ( look below )when i jetty-run, and i dont
change any source files..
--
http://www.hibernate.org/116.html#A8
This page from hibernate official site could be helpful...
--
Sincerely 孙
Hi,
I am having serious problem with updating my Hibernate objects on my AppFuse
project.
My mapping not sure but works for adding and I have lots of mapping between
my tables.
Here I have Customer, Dbuser, CustContact, CustInsurance, Address, Phone ...
etc.
I have searched and I have tried sugge
Hi,
I resolved my Maven Struts FilterDispatcher errors by adding the following
dependencies to my pom.xml. However, when I do mvn -e jetty:run-war, I get
several NullPointerExceptions from Spring. I have
applicationContext-resources.xml in my src/main/resources. Thanks for your
help!!
java.lan
I also have used mod_jk without redirection issues even when the Apache is
handling ssl on the connection.
Nathan
- Original Message -
From: "Matt Raible" <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Thursday, May 10, 2007 4:54:39 AM (GMT-0800) America/Los_Angeles
Subject: R
It works. Thanks ;-)
_
发件人: Michael Horwitz [mailto:[EMAIL PROTECTED]
发送时间: 2007年5月11日 0:35
收件人: users@appfuse.dev.java.net
主题: Re: [appfuse-user] how to control maven.test.skip ?
You invoke maven like so to skip all tests:
mvn -Dmaven.test.skip=true install
By default it
You invoke maven like so to skip all tests:
mvn -Dmaven.test.skip=true install
By default it is false and all tests run.
Mike.
On 5/10/07, chino fish <[EMAIL PROTECTED]> wrote:
In the pom.xml, following line appears twice.
${maven.test.skip}
From the definition of
In the pom.xml, following line appears twice.
${maven.test.skip}
>From the definition of plugin dbunit & hibernate3, it's easy to know
${maven.test.skip} is a Boolean value.
But where does it come from ? how to change the value ?
Maybe it's a runtime property in ma
Yes, I do have the FilterDispatcher in my web.xml ( look below). I also have
struts as my web frameworkin my pom.xml. Still getting the same error (
reproduced below) and it just generates it so many times it gets my window
hung.
pom.xml:
2007
hibernate
struts
w
Something terrible happened! I came in this morning to a hard drive failure!
All my data is gone! I'll have to pick this up again at a later date. Thanks
Matt for all of your help!
Cliff
mraible wrote:
>
> If you look in src/test/resources/sample-data.xml, are the usernames
> mraible/tomcat or
Ok,
made some progress...
When adding the id as hidden field , my new object is no longer null but it
contains the id's !!
One more problem though :
my object UserPronostiek newuserPronostiek; contains a set with details
:private Set pronostiekDetals = new
HashSet();
I wanna fill these from
I fill this object in my action, and the forward to a jsp page.
Next time i submit my form , this object is gone. I can pass id's as a
hidden field.
But I can't iterate over a set and put a set of radiobuttons in that !!!
tibi-3 wrote:
>
> just had a quick look do you have a hidden field
You must have a FilterDispatcher in your web.xml for this to happen.
Did you start with Struts as your web framework?
Matt
On 5/10/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
I did as you suggested - mvn tomcat:run-war. But now I get a different
error about struts ( i don't even have struts in
just had a quick look do you have a hidden field holding the id of the
object?
you should have a filled in object in your action.
tibi
Volcan wrote:
Hello everybody,
I need some help on my struts 2 application.
I have 1 action with 2 methods in it : load and save
When clicking, it executes
Hi,
I did as you suggested - mvn tomcat:run-war. But now I get a different
error about struts ( i don't even have struts in this project yet). It gives
the same (following) error when I do mvn jetty:run-war as well . Where do I
need to get the struts dispatcher from?> Thanks so much for your he
It is not a full solution, since when the field is empty it prints "null" on
the textfield. There must be a better solution but how?
André Faria-3 wrote:
>
> value="%{getText('format.number',{cliente.salario})}"/>
>
--
View this message in context:
http://www.nabble.com/minor-bug-in-servi
Hello everybody,
I need some help on my struts 2 application.
I have 1 action with 2 methods in it : load and save
When clicking, it executes the action and the load method, depending on what
it does, it forwards to a jsp :
/WEB-INF/pages/currentQuiz.jsp
/WEB
ok the good news is with m5-SNAPSHOT i can logout with remember me option.
its fixed!! :-D
now this gzip error :(
tibi
Matt Raible wrote:
That's an ugly one, and a new one. Sorry, but I haven't seen this
before. If you comment out the gzipFilter's mapping in web.xml, it
should fix this pro
That's an ugly one, and a new one. Sorry, but I haven't seen this
before. If you comment out the gzipFilter's mapping in web.xml, it
should fix this problem.
Matt
On 5/10/07, tibi <[EMAIL PROTECTED]> wrote:
i tried with 2.0-m5-SNAPSHOT but i got this error:
Yikes!
javax.servlet.ServletExc
i tried with 2.0-m5-SNAPSHOT but i got this error:
Yikes!
javax.servlet.ServletException:
net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException: Failure
when attempting to set Content-Encoding: gzip
at
net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.jav
If you look in src/test/resources/sample-data.xml, are the usernames
mraible/tomcat or admin/user? I changed this last week. The passwords
for the new usernames are the same as the usernames.
Matt
On 5/9/07, Clifton <[EMAIL PROTECTED]> wrote:
Me again!
Now I'm stuck on logging into my deploy
i did:
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository^
-DarchetypeVersion=2.0-m4 -DgroupId=nl.tibi.loginTest -DartifactId=loginTest
cd loginTest
mvn integration-test
$TOMCAT_HOME/bin/st
ok then i need to reproduce this using M4??
on vacation... good to know...
i will tell my boss next week i can't work ;)
tibi
Matt Raible wrote:
No, M5 is not ready. I'm still working on the code-generation plugin
and there's around 25 bugs still open. I'm on vacation on Florida
this week, s
No, M5 is not ready. I'm still working on the code-generation plugin
and there's around 25 bugs still open. I'm on vacation on Florida
this week, so I don't plan on working on it a whole lot.
The good news is I've made great progress on the plugin and you can
generate CRUD for a Struts 2 + Hibe
ok i will look into this.. is m5 ready?
tibi
Matt Raible wrote:
If you can reproduce this behavior on a brand new application (using
2.0-m5-SNAPSHOT), then it's likely a bug we need to fix. Please enter
an issue in JIRA if youc an do this, providing the steps to reproduce
would be even better.
If you can reproduce this behavior on a brand new application (using
2.0-m5-SNAPSHOT), then it's likely a bug we need to fix. Please enter
an issue in JIRA if youc an do this, providing the steps to reproduce
would be even better.
Matt
On 5/10/07, tibi <[EMAIL PROTECTED]> wrote:
still digging
Thank you !
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible
Envoyé : jeudi 10 mai 2007 13:52
À : users@appfuse.dev.java.net
Objet : Re: [appfuse-user] Best way to put custom struts menu permission
adapter in session scope
You could use a Htt
This is probably an Apache + Tomcat configuration issue. I've
recently configured an AppFuse-based application to use Apache +
Tomcat with mod_jk and I didn't have any redirection issues like this
one.
Matt
On 5/10/07, xiuxiu <[EMAIL PROTECTED]> wrote:
Hi,All.
I am using Apache as the we
You could use a HttpSessionActivationListener that detects when a user
logs in. Or use a listener that listens for Acegi's Authentication
Events.
Matt
On 5/10/07, benoit moraillon <[EMAIL PROTECTED]> wrote:
Hi all,
Do you know what is the best way to put a custom permission adapter
in appfuse1.
If you're using the Tomcat plugin, you'll need to configure it's
settings w/in that plugin. It has nothing to do with Cargo. I'd
suggest using "tomcat:run-war" or "tomcat:run" rather than deploying
it to an existing server. If you'd like to deploy to an existing
server, just use Cargo and change
This sounds like it may be a bug - can you reproduce it on the demo site?
http://demo.appfuse.org/appfuse-struts
Matt
On 5/9/07, Michael Chen <[EMAIL PROTECTED]> wrote:
Thanks to matt.
I'm using 2.0M4 with Struts2 basic, and I do the steps to create a model
object and action and related jsp p
still digging
when i make my project the default project (mv demo12-1.0-SNAPSHOT to
ROOT in webapps)
and us an url like
http://localhost:8080/ instead of http://localhost:8080/demo12-1.0-SNAPSHOT
strange??
tibi
tibi wrote:
ok now on my local machine using tomcat i can't logout after loging in
ok now on my local machine using tomcat i can't logout after loging in
with remember me option too
with mvn jetty:run-war i can logout fine.
tibi
tibi wrote:
i tested it with a demo project and i have the same problem.
this demo project did not change anything off the security.xml files
or o
i tested it with a demo project and i have the same problem.
this demo project did not change anything off the security.xml files or
other config files.
(it is the person crud demo)
so my guess is it does not have anything to do with a particular project.
tibi
tibi wrote:
ok is see now i mis
ok is see now i miss read your question.
i have a logout.jsp and i use the default security.xml settings (so i'm
not quite sure if i use the filter or not)
tibi
tibi wrote:
when i delete the cookies set by the machine i can logout but after
logging in again the problem returns and i have to
The warpath plugin is responsible for unpacking the dependent war files and
adding the contents of the WEB-INF/classes to the compile classpath. It
executes early to make it compatible with the eclipse/idea plugins. More
details on the plugin can be found here:
http://static.appfuse.org/plugins/ma
40 matches
Mail list logo