List Info

Thread: Changing the URL mapping




Changing the URL mapping
user name
2006-11-09 06:18:00
I tried moving Blojsom to ROOT and changing the url mapping
to
"/blogs/*" from the default "/blog/*".
That didn't seem to work
either... Is there some kind of dependency in the code to
the directory
name "/blog"?

David Czarnecki wrote:
> It would be in web.xml, but that would mean that every
request would be
> processed by blojsom. That will cause
"failures" for items such as the CSS,
> images, etc. 
> 
> So ... don't do it.
> 
> On 11/8/06 10:14 PM, "Antonio Kamiya"
<kamiyafujisan.co.jp> wrote:
> 
>> Can you point me to where I would need to fix in
order to allow for a
>> url mapping such as "/*" instead of
"/blog" for the blojsom servlet?
>>
>> I can't seem to find the resources folder when I
make that change.
> 

-- 
Antonio Kamiya <kamiyafujisan.co.jp>
Fujisan Magazine Services. Inc.
t:/+1-510-548-9662
f:/+1-510-548-9575


------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Changing the URL mapping
user name
2006-11-09 13:36:46
Just make sure the blog URL settings in the Properties table
reference
"/blogs/" and not "/blog/".


On 11/9/06 1:18 AM, "Antonio Kamiya"
<kamiyafujisan.co.jp> wrote:

> I tried moving Blojsom to ROOT and changing the url
mapping to
> "/blogs/*" from the default
"/blog/*". That didn't seem to work
> either... Is there some kind of dependency in the code
to the directory
> name "/blog"?
> 
> David Czarnecki wrote:
>> It would be in web.xml, but that would mean that
every request would be
>> processed by blojsom. That will cause
"failures" for items such as the CSS,
>> images, etc. 
>> 
>> So ... don't do it.
>> 
>> On 11/8/06 10:14 PM, "Antonio Kamiya"
<kamiyafujisan.co.jp> wrote:
>> 
>>> Can you point me to where I would need to fix
in order to allow for a
>>> url mapping such as "/*" instead of
"/blog" for the blojsom servlet?
>>> 
>>> I can't seem to find the resources folder when
I make that change.
>> 

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )