Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
View Interest List Message Details
<< Back to Search Results

Date: 11/03/2005
From: paul@newatlanta.com
Subject: RE: [ServletExec] Setting Servlet Mapping
The pre-configured alias for *.jsp is hardcoded in ServletExec and doesn't

appear in web.xml.  You should be able to override it by mapping *.jsp to
something else in web.xml.  For example, you could map it to a servlet that
simply returns file not found.



Paul



 _____  

From: servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com] On Behalf Of Vijay,
John
Sent: Thursday, November 03, 2005 4:37 PM
To: servletexec-interest@mail.newatlanta.com
Subject: RE: [ServletExec] Setting Servlet Mapping



How and where could I find *.jsp alias that is pre-configured in Servlet
Exec ?



I am looking to configure Servlet Exec only to process certain jsp files.
Thought I've listed out the essential jsp's in "URL              
Pattern" mapped to
"JspServlet", evidently, it is still processing unnecessary           
jsp's.





-----Original Message-----
From: servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com]On Behalf Of Paul
Bonfanti
Sent: Monday, October 24, 2005 8:20 AM
To: servletexec-interest@mail.newatlanta.com
Subject: RE: [ServletExec] Setting rules.properties

I'm afraid rules.properties won't support this.  If you upgrade to SE 
5.0
then you should be able to get this functionality using the
<jsp-property-group> tags in web.xml.  Refer to section JSP.3.3 of the    
JSP
2.0 specification for further details.



Paul



-----Original Message-----
From: servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com] On Behalf Of Vijay,
John
Sent: Thursday, October 20, 2005 2:14 PM
To: servletexec-interest@newatlanta.com
Subject: [ServletExec] Setting rules.properties



If I need "JSP10Servlet" to process jsp only in particular context    
say
"http://<fqdn>/onlyJsp/jsp/*.jsp". Would servlet exec encourage 
such a
definition in rules.properties ?



Please advice, 


<html xmlns:v="urn:schemas-microsoft-com:vml"                      
xmlns:o="urn:schemas-microsoft-com:office:office"                     
xmlns:w="urn:schemas-microsoft-com:office:word"                       
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;           
charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered               
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Setting rules.properties</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.emailstyle18
{font-family:Arial;
color:navy;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-family:Arial;color:navy'>The pre-configured alias for *.jsp 
is
hardcoded in ServletExec and doesn&#8217;t appear in web.xml.&nbsp; You 
should be
able to override it by mapping *.jsp to something else in web.xml.&nbsp;    
For
example, you could map it to a servlet that simply returns file not             
found.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-f
amily:Arial;color:navy'><o:p>&nbsp;</o:p></span>&l
t;/font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-f
amily:Arial;color:navy'>Paul<o:p></o:p></span></fon
t></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-f
amily:Arial;color:navy'><o:p>&nbsp;</o:p></span>&l
t;/font></p>

<div>

<div class=MsoNormal align=center                                            
style='text-align:center'><font size=3
face="Times New Roman"><span                                    
style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span       
style='font-size:10.0pt;
font-family:Tahoma;font-w
eight:bold'>From:</span></font></b><font size=2
face=Tahoma><span                                                         
style='font-size:10.0pt;font-family:Tahoma'>
servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com] <b><span
style='font-weight:bold'>On Behalf Of                              
</span></b>Vijay, John<br>
<b><span                                                               
style='font-weight:bold'>Sent:</span></b> Thursday,    
November 03, 2005
4:37 PM<br>
<b><span                                                               
style='font-weight:bold'>To:</span></b>
servletexec-interest@mail.newatlanta.com<br>
<b><span                                                               
style='font-weight:bold'>Subject:</span></b> RE:       
[ServletExec] Setting
Servlet Mapping</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></
p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span      
style='font-size:
10.0pt;font-family:Arial;color:blue'>How and where could&nbsp;I     
find *.jsp
alias that is pre-configured in Servlet Exec                                    
?</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span      
style='font-size:
10.0pt;font-family:Arial;color:blue'>I am looking to configure Servlet  
Exec
only to process certain jsp files. Thought I've listed out the essential   
jsp's
in &quot;URL Pattern&quot; mapped to &quot;JspServlet&quot;,    
evidently, it is
still processing unnecessary                                                    
jsp's.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

</div>

<blockquote                                                                  
style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 
face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original          
Message-----<br>
<b><span                                                               
style='font-weight:bold'>From:</span></b>
servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com]<b><span
style='font-weight:bold'>On Behalf Of </span></b>Paul  
Bonfanti<br>
<b><span                                                               
style='font-weight:bold'>Sent:</span></b> Monday,      
October 24, 2005
8:20 AM<br>
<b><span                                                               
style='font-weight:bold'>To:</span></b>
servletexec-interest@mail.newatlanta.com<br>
<b><span                                                               
style='font-weight:bold'>Subject:</span></b> RE:       
[ServletExec] Setting
rules.properties</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf    
format -->I&#8217;m
afraid rules.properties won&#8217;t support this.&nbsp; If you upgrade  
to SE
5.0 then you should be able to get this functionality using the
&lt;jsp-property-group&gt; tags in web.xml.&nbsp; Refer to section  
JSP.3.3 of
the JSP 2.0 specification for further                                           
details.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span      
style='font-size:
10.0pt;font-f
amily:Arial;color:navy'>Paul</span></font><o:p></o:
p></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in    
0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span                
style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span                                                               
style='font-weight:bold'>From:</span></b>
servletexec-interest-owner@mail.newatlanta.com
[mailto:servletexec-interest-owner@mail.newatlanta.com] <b><span
style='font-weight:bold'>On Behalf Of                              
</span></b>Vijay, John<br>
<b><span                                                               
style='font-weight:bold'>Sent:</span></b> Thursday,    
October 20, 2005
2:14 PM<br>
<b><span                                                               
style='font-weight:bold'>To:</span></b>
servletexec-interest@newatlanta.com<br>
<b><span                                                               
style='font-weight:bold'>Subject:</span></b>           
[ServletExec] Setting
rules.properties</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

<p><font size=2 face=Arial><span                                 
style='font-size:10.0pt;font-family:Arial'>If
I need &quot;JSP10Servlet&quot; to process jsp only in particular       
context say
&quot;<a                                                                 
href="http://">http://</a>&lt;fqdn&gt;/onlyJsp/jsp/*.
jsp&quot;. Would
servlet exec encourage such a definition in rules.properties                    
?</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></
p>

<p><font size=2 face=Arial><span                                 
style='font-size:10.0pt;font-family:Arial'>Please
advice,</span></font> <o:p></o:p></p>

</div>

</blockquote>

</div>

</body>

</html>

Message Thread
Date Subject Author
11/03/2005 RE: [ServletExec] Setting Servlet Mapping john.vijay@hrblock.com
11/03/2005 RE: [ServletExec] Setting Servlet Mapping paul@newatlanta.com
11/03/2005 RE: [ServletExec] Setting Servlet Mapping john.vijay@hrblock.com
11/03/2005 Re: [ServletExec] Setting Servlet Mapping matt@newatlanta.com
11/04/2005 RE: [ServletExec] Setting Servlet Mapping kellymt@upmc.edu
<< Back to Search Results


   
company media information terms of use privacy policy contact us