LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2010, 02:35 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 37
simple jsp problem.


I have my jsp page located at
/install/apache-tomcat-5.5.29/webapps/jsp-examples/light/login.jsp

There fore i will have to use following url to access it.
http://localhost:8080/jsp-examples/light/login.jsp

How would i make this little shorter like.
http://localhost:8080/login.jsp.

I m using apache tomcat server 5.5.29.
 
Old 08-27-2010, 06:05 AM   #2
vigilandy
Member
 
Registered: Mar 2010
Location: Tokyo
Distribution: Arch, Fedora
Posts: 71

Rep: Reputation: 23
Install your webapp as ROOT instead of jsp-examples,
i.e. /install/apache-tomcat-5.5.29/webapps/ROOT/login.jsp

EDIT: Keep in mind, you may have to replace tomcat's default ROOT webapp.

Last edited by vigilandy; 08-27-2010 at 06:07 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat jsp problem shan_nathan Linux - Software 1 12-28-2007 02:17 PM
about Jakarta Struts, Jsp's and Tomcat.... problem iterating in a jsp poeta_boy Programming 2 09-06-2005 02:36 PM
jsp for Linux ugenn Linux - Software 1 02-22-2003 12:47 PM
VB to JSP jayakrishnan Linux - General 3 05-08-2002 12:28 AM
jsp deepak Programming 0 04-18-2001 09:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration