reed inline comments : 

> -----Original Message-----
> From: Rudi Doku [mailto:[EMAIL PROTECTED]]
> Sent: 25. febr�ar 2002 18:37
> To: [EMAIL PROTECTED]
> Subject: Ho can I make my URL shorter?
> 
> 
> Hello,
> 
 HEEEEEEEELLOOO!!

> I have a URL which is too long. I would appreciate it of 
> someone could help 
> me with the following queries:
> 
> 1. Is it possible to confugure the application so I can 
> remove the port 
> "8080" from the URL?
> 
YEP check server.xml (in tomcat/conf/) and change the port of your
Connector element.

mine looks like this : 

 <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="80" minProcessors="5" maxProcessors="150"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="60000"/>
ok ?

> 2. Can I declare an alias for 
> com.docutech.viewer.web.LoginAction so I don't 
> have to display the entire package? The action for my form is 
> "servlet/com.docutech.viewer.web.LoginAction"

yes, in web.xml (for your webapplication) in webappname/WEB-INF/web.xml
you can define servlet mappings.

<servlet>
    <servlet-name>LoginAction</servlet-name>
    <servlet-class>com.docutech.viewer.web.LoginAction</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>LoginAction</servlet-name>
  <url-pattern>/login/*</url-pattern>
</servlet-mapping>


hope it helps
[EMAIL PROTECTED]

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to