Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Unusual environment from servlet hosting provider

Reply
Thread Tools

Unusual environment from servlet hosting provider

 
 
Mark Voorberg
Guest
Posts: n/a
 
      09-13-2003
Hi,
I'm trying to deploy a JSP/Servlet application on my web hosting provider
that provides private JVM Tomcat 4.1 support.

The first problem is that their environment is setup very strange. The
WEB-INF folder is at the root of my domain.
e.g. www.MyDomain.com/WEB-INF/
They've blocked direct access to the folder, but that isn't the issue.

The second problem is that I can't run a servlet without including
"/servlets/*" in the path.
When running my app, the path should look like
http://localhost/Timesheet/TimesheetServlet so there's a smooth transition
between JSP & the servlet.

While they have blocked access to the folder, I don't want to unzip the war
file into my root folder.

Am I missing something or is this environment fundamentally flawed?

Thanks,
Mark Voorberg
www.objectclarity.com





 
Reply With Quote
 
 
 
 
Keith Bjorndahl
Guest
Posts: n/a
 
      09-20-2003
Hello Mark.

"Mark Voorberg" <(E-Mail Removed)> wrote in message news:<uxG8b.2641$VS2.2142@pd7tw1no>...
> Hi,
> I'm trying to deploy a JSP/Servlet application on my web hosting provider
> that provides private JVM Tomcat 4.1 support.
>
> The first problem is that their environment is setup very strange. The
> WEB-INF folder is at the root of my domain.
> e.g. www.MyDomain.com/WEB-INF/
> They've blocked direct access to the folder, but that isn't the issue.


At first glance, it looks like you are probably sharing the Tomcat JVM
instead of having a private JVM...or if there is a Tomcat directory in
your account they may have a symbolic link from the webapps/ROOT
directory to your home directory to make "easier" for you.


>
> The second problem is that I can't run a servlet without including
> "/servlets/*" in the path.
> When running my app, the path should look like
> http://localhost/Timesheet/TimesheetServlet so there's a smooth transition
> between JSP & the servlet.


This could happen if they are running Tomcat behind Apache or another
web server. In this case, your ISP should be able to have it pass all
requests on to Tomcat instead of just /servlet/* and /*.jsp and they
you can map all of the servlets that you like in the web.xml file.

>
> While they have blocked access to the folder, I don't want to unzip the war
> file into my root folder.
>
> Am I missing something or is this environment fundamentally flawed?
>
> Thanks,
> Mark Voorberg
> www.objectclarity.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Hosting, Reseller Hosting, and Dedicated Hosting!!!!!! teo1991 Ruby 0 04-02-2009 01:50 PM
Web Hosting, Reseller Hosting, and Dedicated Hosting!!!!!! ufi02 ASP .Net 0 03-27-2009 07:49 PM
Informix .net provider - Sql server .net provider BS ASP .Net 3 06-17-2004 01:11 AM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM
Transferring From Old e-mail Provider Account To A New One (different provider): Any Way To ? Robert11 Computer Support 0 06-26-2003 04:38 PM



Advertisments