Hi Edwin,
I'm a bit baffled, since it just works here.
This is the difference with the jumpstart (besides the updated RIFE
jar):
Index: jetty-5.1.4/etc/jetty.xml
===================================================================
--- jetty-5.1.4/etc/jetty.xml (revision 3586)
+++ jetty-5.1.4/etc/jetty.xml (working copy)
@@ -153,7 +153,7 @@
<Set name="rootWebApp">root</Set>
<Call name="addWebApplication">
- <Arg>/</Arg>
+ <Arg>/context</Arg>
<Arg>../web</Arg>
<Set name="extractWAR">false</Set>
Index: lib/rife-1.5.1-jdk15.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: resources/rep/config-base.xml
===================================================================
--- resources/rep/config-base.xml (revision 3586)
+++ resources/rep/config-base.xml (working copy)
@@ -12,4 +12,5 @@
<param name="database_name">jumpstart</param>
<param name="database_user">user</param>
<param name="database_password">password</param>
-</config>
\ No newline at end of file
+ <param name="WEBAPP_CONTEXT_PATH">mycontext</param>
+</config>
When I visit http://localhost:8080/context/admin, I see:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-
type" />
<meta name="keywords" content="" />
<base href="http://localhost:8080/mycontext/" />
<title>RIFE/Jumpstart - Admin - Authentication</title>
<link rel="stylesheet" type="text/css" href="style/common.css" />
</head>
<body>
<form name="credentials" action="mycontext/admin" method="post">
...
Surely this seems to work.
Anything you're doing differently?
Best regards,
Geert
On 03 Jan 2007, at 17:27, Edwin Mol wrote:
Hi Geert,
Here it is:
<param name="WEBAPP_CONTEXT_PATH">mycontext</param>
I have only tested with form action urls: "SUBMISSION:FORM:name".
Regards,
Edwin
BTW: I'm using tomcat
2007/1/3, Geert Bevin <[EMAIL PROTECTED]>: Hi Edwin,
That is weird, can you please copy/paste the configuration parameter
you put in your XML file?
I tried with a local Jetty install by putting the jumpstart at
another webapp context, and by using:
<param name="WEBAPP_CONTEXT_PATH"></param>
The webapp context was removed for generating the links.
Best regards,
Geert
On 03 Jan 2007, at 16:57, Edwin Mol wrote:
> Hi Geert,
>
> Now the request is processed and the generated url is relative,
> this is OK.
> However the generated URL still contains the context path (eg. old:
> "/myapp/elementpath" now: "myapp/elementpath")
>
> Regards,
>
> Edwin
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users