"the parameter for the servlet are the element after ?" I know this, but here, how to understand the string after ".../portal/"? what's its function?
Massimiliano Dessi wrote:
Depend , The url mapping it's a simply way to mapped the url with started with jetspeed/.... or portal/.... and redirect the request to a servlet by the container, the servlet class have access to the entire http request, the parameter for the servlet are the element after ? ?page=pippo&value=blabla) in a http get.
----- Original Message ----- From: "Zufeng Huang" <[EMAIL PROTECTED]> To: "Jetspeed Developers List" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 11:34 PM Subject: Re: Confused with URLs.
character?Yes, I got you. The request will be processed by org.apache.turbine.Turbine (a class).
All the fields(seperated by '/') after "...portal/" are treated as parameters?
Massimiliano Dessi wrote:
<servlet-name> jetspeed </servlet-name> <servlet-class> org.apache.turbine.Turbine </servlet-class>
it's a name of the servlet ( alias ) jetspeed it's only a name for mappingit's a .class inside a .jar (turbine servlet)
/portal/* /jetspeed/* the * mapped alla resources after portal/
In the sevlet mapping are mapped the url with the correspond servlet
<servlet-mapping> <servlet-name> jetspeed </servlet-name> <url-pattern> /portal/* </url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name> jetspeed </servlet-name> <url-pattern> /jetspeed/* </url-pattern> </servlet-mapping>
----- Original Message ----- From: "Zufeng Huang" <[EMAIL PROTECTED]> To: "Jetspeed Developers List" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 11:08 PM Subject: Re: Confused with URLs.
I just found the following line associated with portal.
<servlet-mapping> <servlet-name> jetspeed </servlet-name> <url-pattern> /portal/* </url-pattern> </servlet-mapping>
why there is a "*" after /portal/? It stands for zero/one/more
one?where can I find the jetspeed servlet? in the /lib/*.jar file? which
apache)Massimiliano Dessi wrote:
1) portal it's a alias in a web.xml to mapping jetspeed servlet (turbine servlet class)
2) media-type it's a media to render a page (http or wml or voice xml)
3) page it's a page of the user anon
4) the "directory" similarly as a system of web directory (such
mtypeare mapped for the user in the file .psml WEB-INF\psml\user\anon\html\en anon it's a name html it's a media
http://localhost/jetspeed/portal/media-type/html/user/anon/page/default.psand en it's a localized psml
----- Original Message ----- From: "Zufeng Huang" <[EMAIL PROTECTED]> To: "Jetspeed Developers List" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 10:32 PM Subject: Confused with URLs.
All,
I think everybody here is familiar with the following URL:
l
/js_pane/114
But I have many quesitons about it:
1. Is "portal" in the above line is a directory? a map? Map to where? 2. I didn't found any directory or file named "media-type", what's it? 3. I didn't found any directory or file named "page", what's it? 4. "default.psml/js_pane/114", what it means?
It seems that URL/PATH of Java-based application server has much difference with traditional web server such as apache. Anybody can give me an explain?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
