Phil Boss

Greenhorn
+ Follow
since Oct 14, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Phil Boss

I am a experienced (years) Java programmer. Lately I have been developing for the PPC platform using C#.NET CF and SQL Server CE. I would like to port my applications to J2ME Personal Profile. Is there any single source I can go to to learn about developing applications for PocketPC 2003 using J2ME? What about JDBC and SQL Server CE?
19 years ago
Rene -
Thanks for the URL mapping example. A few minor tweaks of the filenames and voila! Problem solved.
Thanks, again.
Phil Bossardet
21 years ago
Rene -
Thanks for your response. The name of the servlet is "HelloWorldExample.class". I've tried shortening the class name and I still get the same problem. I've also already added the <servlet></servlet> declaration to the web.xml file. Have any other suggestions?
Phil
Tim -
thanks for your response. I understand the security risk of the "/servlet/" technique. I am just trying to get a servlet to execute. Would you have an example of a servlet declaration +URL mapping that I could look at?
Phil
21 years ago
I have installed Tomcat 4.1.12 on Red Hat Linux 7.2. Starts OK. Runs all the examples.
I created the new web application:
$CATALINA_HOME/webapps/test
./test/index.jsp
./test/WEB-INF
./test/WEB-INF/web.xml
./test/WEB-INF/classes
./test/WEB-INF/classes/HelloWorld/Example.class
I added the <Context> entry in server.xml within the <host></host> tags. index.jsp runs just fine.
If I try to execute the servlet from the index.jsp page or by
http://localhost:8080/test/servlet/HelloWorldExample
I keep getting the HTTP Status error 404:
"The requested resource (/servlet/HelloWorldExample) is not available."
I'm at wit's end. Can somone help?
Thanks,
Phil
21 years ago