obj.conf configuration help

I am creating a profile page and the url in the address bar needs to be http://domain.com/pages/personal/Rajshree.Rath. The page Rajshree.Rath does not exist. I have to get the first name and the last name and create the page dynamically.

I made this change in obj.conf and it worked exactly I needed. The url prepend gave me the first name and last name and the url did not change in the address bar.The page Details.jsp resides on app server.

<Object name="weblogic" ppath="*/pages/personal*">

Service fn="wl_proxy" WebLogicHost="weblogichost" WebLogicPort="weblogicport" PathPrepend="/subdir/Details.jsp?url=" WLProxySSL="ON"

</Object>

However, now the requirement has changed. The page Details.jsp needs to be on the web server.

What configuration I need to add to obj.conf so that the page works on web server ?

Thanks in Advance,

Rajshree

[912 byte] By [rajshreea] at [2007-11-27 8:45:49]
# 1
I don't really understand your question. If you need to make the Detail.jsp work under WebServer, you can just copy it into WebServer's doc-root directory or any webApp directory. There is no need to change obj.conf.
wyb2005a at 2007-7-12 20:47:08 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

I assume you want to process requests for /pages/personal/user as though they were requests for /subdir/Details.jsp?url=/pages/personal/user, where /subdir/Details.jsp is a JSP running on the same web server. You can do that in Sun Java System Web Server 7.0 using the new restart SAF:<Object ppath="*/pages/personal*">

NameTrans fn="restart" uri="/subdir/Details.jsp?url=$uri"

</Object>I'm not aware of any way to do this in earlier versions of Web Server.

An alternative would be to use normal Servlet <url-pattern> mappings in web.xml to map /pages/personal/* to a particular JSP. If you do that, though, the information about the originally requested path won't appear in the query string, so you'd need to modify the way the JSP figures out which user's page is being requested.

elvinga at 2007-7-12 20:47:08 > top of Java-index,Web & Directory Servers,Web Servers...