Forum Moderators: open
Have you been to the Caucho [caucho.com] website?
What exactly is your problem, my site runs on Resin alongside JSP's
-gs
Thanks for your reply.
Actually my site is running on resin and when i type down my site the port number comes up in the address bar.
I do not want the port number visible in the address bar.
So, i want the url like this,
[mysite.com...]
instead of
[mysite.com:8080...]
If you have the solution, plz help me out.
Thanks
<web-app>
<!--
- Maps all servlets using URLs like /servlet/test.MyServlet
-->
<servlet-mapping>
<url-pattern>/servlet/*</url-pattern>
<servlet-name>invoker</servlet-name>
</servlet-mapping>
<!--
- Configuration for the InitServlet example.
-
- It uses Resin's short configuration syntax with attributes
- for easier maintenance. You can still use the verbose
- servlet syntax.
-->
<servlet>
<servlet-name>
OutSourceInitializationServlet
</servlet-name>
<servlet-class>
server.OutSourceInitializationServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!--
- Configuration for the MapServlet example
-->
</web-app>
Try replacing your resin.conf with this one i found online! Remember to restart your server and take a back-up of the orig conf file. Let's know the outcome
<caucho.com>
<http-server>
<app-dir>doc</app-dir>
<srun>
<port>8081</port>
</srun>
<host id=''>
<web-app id='/'>
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>com.caucho.jsp.JspServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>*.jsp</url-pattern>
<servlet-name>jsp</servlet-name>
</servlet-mapping>
</web-app>
</host>
</http-server>
</caucho.com>
-gs
<http-server>
<!--- The root file directory of the server. Apache users will change this to /usr/local/apache/htdocs and IIS users will change it to d:\inetpub\wwwroot -->
OLD - <app-dir>doc</app-dir>
NEW - <app-dir>/usr/local/apache/htdocs</app-dir>
OLD - <web-app id='examples/tags'/>
NEW - <web-app id='Path-to-the-index.jsp-excluding-jsp'/>
Can you firstly check them xTc
[edit]Also can you sticky me a copy of your server logs - located in the resin dir[/edit]