new to Railo: converting fusebox app using sesConverter.cfm, weird URL behavior, mapping issue ?

23 views
Skip to first unread message

Matt S

unread,
Jul 29, 2014, 12:51:13 PM7/29/14
to ra...@googlegroups.com
hi there

newbie question I'd guess but, I'm trying to convert an existing app that is built on Fusebox 3, specifically using an old custom tag sesConverter.cfm (http://www.erikv.com/ses/)

for evaluation purposes, I have installed the OSX Jetty version, and loaded my app into /ROOT. The app runs fine (with some minor tag changes in my CFCs) but there is a problem with my SES style URLs

for example

i can run a URL like this :

localhost:8888/index.cfm/fuseaction/playlist.listing

and everything works just fine. but If I run a URL with more URL vars

http://localhost:8888/index.cfm/fuseaction/playlist.listing/playlistDate/2014-07-28/pageType/Todays%20Playlist

the page loads the default layout but has no content, basically ignoring the "fuseaction" var as "playlist.listing", but using "playlist.listing/playlistDate/2014-07-28"

however, if I remove the SES-style URL vars, and replace like so :

http://localhost:8888/index.cfm?fuseaction=playlist.listing&playlistDate=2014-07-28

the page works as expected

i took a look at changing the default filters in what I think Jetty is using locally which would be :

/railo/etc/webdefault.xml

<servlet-mapping>

<servlet-name>CFMLServlet</servlet-name>

<url-pattern>*.cfc</url-pattern>

<url-pattern>*.cfm</url-pattern>

<url-pattern>*.cfml</url-pattern>

<url-pattern>/index.cfc/*</url-pattern>

<url-pattern>/index.cfm/*</url-pattern>

<url-pattern>/index.cfml/*</url-pattern>

</servlet-mapping>

if that is what my local version of Jetty is using for its defaults, it appears that "/index.cfm/*" is already in there

whats confusing to me is that Railo seems fine with pulling the fuseaction var

/index.cfm/fuseaction/playlist.listing

but wont honor anything after that, which makes me think its not the sesConverter.cfm custom tag but rather a mapping issue in jetty / railo

anyone have a suggestion to give me a nudge in the right direction ?

thanks !


Reply all
Reply to author
Forward
0 new messages