Advertisement

06.03.2008 at 07:49PM PDT, ID: 23455451
[x]
Attachment Details

Web.xml url-mapping with similiar base

Asked by techieBrandon in J2EE, Java Server Pages (JSP), Java Servlets

Tags: web.xml

I don't have any of my references (in boxes in garage at moment) so hopefully I can get a quick answer here.
I am making a web.xml file for a pretty simple app, but I want to be able to differentiate which servlet to goto depending on a variable being passed. The idea is as follows, but only the view.View servlet gets any action after the modification.

      <servlet-mapping>
            <servlet-name>view.OpenBets</servlet-name>
            <url-pattern>/view?sectionName=openBets*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
            <servlet-name>view.View</servlet-name>
            <url-pattern>/view</url-pattern>
      </servlet-mapping>Start Free Trial
 
Keywords: Web.xml url-mapping with similiar base
 
Loading Advertisement...
 
[+][-]06.03.2008 at 09:39PM PDT, ID: 21706996

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: J2EE, Java Server Pages (JSP), Java Servlets
Tags: web.xml
Sign Up Now!
Solution Provided By: rrz@871311
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.04.2008 at 09:05AM PDT, ID: 21711459

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 10:00AM PDT, ID: 21711958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 12:49PM PDT, ID: 21713496

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 01:15PM PDT, ID: 21713723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 02:50PM PDT, ID: 21714456

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 03:39PM PDT, ID: 21714817

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 05:53PM PDT, ID: 21715660

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 06:40PM PDT, ID: 21715825

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 11:51AM PDT, ID: 21722725

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 12:19PM PDT, ID: 21722996

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 01:28PM PDT, ID: 21723607

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628