Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

welcome-file-list entry with query string/variables? (tomcat)

Thread view: 
Chris  Lott - 10 Jan 2006 00:13 GMT
I'd like to do something like this:
<welcome-file-list>
       <welcome-file>
           today.html?sort_order=title
       </welcome-file>
   </welcome-file-list>

But it fails because of the query string. Is there a way to do this?
Chris Smith - 10 Jan 2006 01:04 GMT
> I'd like to do something like this:
> <welcome-file-list>
[quoted text clipped - 4 lines]
>
> But it fails because of the query string. Is there a way to do this?

You could map a servlet that redirects to that URL.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Chris  Lott - 10 Jan 2006 01:41 GMT
Thanks... looks like I am going to have to learn a little bit of java--
I just need this one small tweak on a vendor's app :)
Tim B - 10 Jan 2006 02:10 GMT
> Thanks... looks like I am going to have to learn a little bit of java--
> I just need this one small tweak on a vendor's app :)

another possibility is to map a jsp which redirects to that url using the
<jsp:forward> tag, e.g.

<jsp:forward page="mytarget.jsp">
     <jsp:param name="sort_order" value="title"/>
</jsp:forward>

this would probably be simpler than using a servlet if you don't know Java


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.