LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 03:35 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 36
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, 07: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 07:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:17 PM
about Jakarta Struts, Jsp's and Tomcat.... problem iterating in a jsp poeta_boy Programming 2 09-06-2005 03:36 PM
jsp for Linux ugenn Linux - Software 1 02-22-2003 01:47 PM
VB to JSP jayakrishnan Linux - General 3 05-08-2002 01:28 AM
jsp deepak Programming 0 04-18-2001 10:49 AM


All times are GMT -5. The time now is 06:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration