Error getting catalina context in struts action.

2004-07-10 Thread Ashok Jain
Hi All,
I am implementing a custom JDBCRealm security for my struts application. I 
have configured the login page path in web.xml and have mapped the path in 
struts-config.xml. When a user tries to access a restricted page it is 
directed to the login page.
After entering userName and password, hitting the submit button caused a 
null pointer exception as it expects a Catalina Container context object. 
THis is because I have overridden the method

authenticate(HttpRequest request,
		HttpResponse response,LoginConfig config)  in AuthenticatedBase.java
in my authentication class called from submit action. THis LoginCOnfig 
object can be obtained from the context object which unfortunately coming as 
null.

Am I doing something wrong? Please help.
Thanks
A J
_
Get Citibank Home Loan ! http://go.msnserver.com/IN/52043.asp At an 
unbelievably low interest rate.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Hello,

I just setup Tomcat 5.019 as part of the NetBeans 3.6/Sun JDK 1.4x package.  
At first I was able to login as manager and admin, after an edit to the 
tomcat-users.xml file.  Now, after apparently using the wrong ID or password to login, 
I can not get back in no matter what I do with the tomcat-users.xml file.  It looks 
like there's some password administration that has locked me out.  I've searched high 
and low in Tomcat doc and can not find a way out of this.  Short of a re-installation, 
what the secrete that I do not know?

Thank you in advance,
-Roger


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can't Login as Admin or manager

2004-07-10 Thread Aman Raheja
Allow us to see your tomcat-users.xml file.
Regards


On Sat, 2004-07-10 at 17:20, BONUCHI, MICHAEL ROGER (SBCSI) wrote:
 Hello,
 
   I just setup Tomcat 5.019 as part of the NetBeans 3.6/Sun JDK 1.4x package.  
 At first I was able to login as manager and admin, after an edit to the 
 tomcat-users.xml file.  Now, after apparently using the wrong ID or password to 
 login, I can not get back in no matter what I do with the tomcat-users.xml file.  It 
 looks like there's some password administration that has locked me out.  I've 
 searched high and low in Tomcat doc and can not find a way out of this.  Short of a 
 re-installation, what the secrete that I do not know?
 
 Thank you in advance,
 -Roger
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Aman Raheja   CompTIA Linux+ Certified
[EMAIL PROTECTED] Brainbench Certified Linux (General) Admin
www.TechQuotes.comBrainbench Certified Linux (RedHat 9) Admin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Hello Aman,

By the way, I have a second Tomcat instance on this Win2K laptop.  Of course, I only 
run one at a time.  The other Tomcat instance, the one outside of the Sun/NetBeans 
directory, works fine.  I can login as admin or manager without error.  Here's my 
tomcat-users.xml for the one that will not let me login:

tomcat-users
  role rolename=tomcat/
  role rolename=manager/
  role rolename=admin/
  role rolename=user/
  user name=tomcat password=tomcat roles=tomcat /
  user name=roger  password=jake roles=manager,admin,user,tomcat /
/tomcat-users

-Roger

-Original Message-
From: Aman Raheja [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 10, 2004 07:29 AM
To: Tomcat Users List
Subject: Re: Can't Login as Admin or manager


Allow us to see your tomcat-users.xml file.
Regards


On Sat, 2004-07-10 at 17:20, BONUCHI, MICHAEL ROGER (SBCSI) wrote:
 Hello,
 
   I just setup Tomcat 5.019 as part of the NetBeans 3.6/Sun JDK 1.4x package.  
 At first I was able to login as manager and admin, after an edit to the 
 tomcat-users.xml file.  Now, after apparently using the wrong ID or password to 
 login, I can not get back in no matter what I do with the tomcat-users.xml file.  It 
 looks like there's some password administration that has locked me out.  I've 
 searched high and low in Tomcat doc and can not find a way out of this.  Short of a 
 re-installation, what the secrete that I do not know?
 
 Thank you in advance,
 -Roger
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Aman Raheja   CompTIA Linux+ Certified
[EMAIL PROTECTED] Brainbench Certified Linux (General) Admin
www.TechQuotes.comBrainbench Certified Linux (RedHat 9) Admin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can't Login as Admin or manager

2004-07-10 Thread Mark Thomas
There is no account lock-out implemented in tomcat. Have a look in server.xml
and see how the realm is configured. You might have changed this through the
admin app. If you have, the previous server.xml should still be in the conf
directory with a timstamp appended to the filename.

Mark

 -Original Message-
 From: BONUCHI, MICHAEL ROGER (SBCSI) [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, July 10, 2004 6:35 PM
 To: Tomcat Users List
 Subject: RE: Can't Login as Admin or manager
 
 Hello Aman,
 
 By the way, I have a second Tomcat instance on this Win2K 
 laptop.  Of course, I only run one at a time.  The other 
 Tomcat instance, the one outside of the Sun/NetBeans 
 directory, works fine.  I can login as admin or manager 
 without error.  Here's my tomcat-users.xml for the one that 
 will not let me login:
 
 tomcat-users
   role rolename=tomcat/
   role rolename=manager/
   role rolename=admin/
   role rolename=user/
   user name=tomcat password=tomcat roles=tomcat /
   user name=roger  password=jake 
 roles=manager,admin,user,tomcat /
 /tomcat-users
 
 -Roger
 
 -Original Message-
 From: Aman Raheja [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 10, 2004 07:29 AM
 To: Tomcat Users List
 Subject: Re: Can't Login as Admin or manager
 
 
 Allow us to see your tomcat-users.xml file.
 Regards
 
 
 On Sat, 2004-07-10 at 17:20, BONUCHI, MICHAEL ROGER (SBCSI) wrote:
  Hello,
  
  I just setup Tomcat 5.019 as part of the NetBeans 
 3.6/Sun JDK 1.4x package.  At first I was able to login as 
 manager and admin, after an edit to the tomcat-users.xml 
 file.  Now, after apparently using the wrong ID or password 
 to login, I can not get back in no matter what I do with the 
 tomcat-users.xml file.  It looks like there's some password 
 administration that has locked me out.  I've searched high 
 and low in Tomcat doc and can not find a way out of this.  
 Short of a re-installation, what the secrete that I do not know?
  
  Thank you in advance,
  -Roger
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -- 
 Aman Raheja CompTIA Linux+ Certified
 [EMAIL PROTECTED]   Brainbench Certified 
 Linux (General) Admin
 www.TechQuotes.com  Brainbench Certified Linux 
 (RedHat 9) Admin
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: favicon question

2004-07-10 Thread Nikola Milutinovic
Mufaddal Khumri wrote:
I have a webapp deployed under tomcat + apache.
I have a taglib in which i have the following:
out.print(link rel='shortcut icon' 
href='/mywebapp/images/favicon.ico' type='image/x-icon');

The favicon.ico is a 16 * 16 icon file.
The favicon shows up in Safari on the Mac , but not on netscape, or IE 
. On windows it does not show up in either IE or Netscape.

I have not put the favicon in the webservers root from where it can 
get it by default. As you can see I have it in mywebapp/images folder.

Does anybody know why this does not work? Or do browsers dont have 
support for this much ?

Look into your logs, where is IE looking for favicon.ico?
Nix.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


NPE in ActionForm where it is not be possible

2004-07-10 Thread Richard Mixon (qwest)
I am getting a NullPointerException in an action form that should
theoretically not be possible :(
Any ideas/help/suggestions are appreciated. Obviously it is possible
:).

I happens when I'm testing. I find a problem, leave my browser up, then
stop/start Tomcat. I select a home page link from the page that is
still displayed - its simply an action wrapped simple JSP page with no
dynamic data that serves as  a central bulletin board for my users.
After that is displayed, I go back to the page that I am developing on.
Boom! I get the NPE in the middle of a getter method on the action form.

Here is the method - the NPE is flagged at the line if
(log.isDebugEnabled()) {.
...
public String getMeasParmsId() {
if (log.isDebugEnabled()) {
log.debug(getMeasParmsId()= + measParmsId);
}
return measParmsId;
}
...

The log variable is initialized when the Action form is instantiated,
like so:
  public class ChartWizardForm extends ActionForm implements
java.io.Serializable {
  private transient Log log =
LogFactory.getLog(ChartWizardForm.class);
  ...

Obviously I'm missing something pretty basic. Is Tomcat re-using a form
instance across restarts? I've got pretty much default settings in
Tomcat:


Here is the exception stack trace:
2004-07-10 12:21:00 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NullPointerException
at
com.ltoj.webapp.form.ChartWizardForm.getMeasParmsId(ChartWizardForm.java
:137)
at
com.ltoj.webapp.action.AdminChartWizardAction.stepMeasParms(AdminChartWi
zardAction.java:88)
at
com.ltoj.webapp.action.AdminChartWizardAction.unspecified(AdminChartWiza
rdAction.java:66)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:260)
at
com.ltoj.webapp.action.BaseAction.execute(BaseAction.java:162)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:204)
at
com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingF
ilter.java:132)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:233)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:204)
at
com.ltoj.webapp.filter.BreadCrumbFilter.doFilter(BreadCrumbFilter.java:9
4)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:233)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:204)
at
com.ltoj.webapp.filter.ActionFilter.doFilter(ActionFilter.java:372)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:233)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:204)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:257)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
67)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:245)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:199)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:151)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:587)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
67)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:184)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:164)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:149)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:149)
at

About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi, I place member.jsp in my webapp root folder, which is 
TOMCAT_HOME -- webapp --myWebApp/

and part of web.xml :
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping

part of struts-config.xml:
action-mappings 
action
path=/Index
type=com.kiss.web.news.actions.Index
unknown=false
validate=true
forward
name=member
path=/Member.jsp
redirect=false
contextRelative=false /
/action
/action-mappings

I call http://localhost:8080/Index.do and member.jsp is shown
but when I change the 
url-pattern*.do/url-pattern
to
url-pattern/*/url-pattern

then I call http://localhost:8080/Index

Index has been called with this error msg:
Invalid path /Member.jsp was requested

How can I fix it? I don't want to type some .do or .action sort of
thing in my url, I type want the url like :
http://localhost:8080/Index

with no extension

Any help?

Regards

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Mark,

I've not touched the server.xml file.  Here's it's contents below (realm 
portion only).  Looks like there is a global realm here, not a simple UserDatabase 
as with the (jakarta released) second instance that I have that works.  Should it be 
commented out?  Remember, this Tomcat instance came from the Sun/NetBeans package.

Thanks for your reply,
Roger

server.xml below:

!-- Because this Realm is here, an instance will be shared globally --

  !-- This Realm uses the UserDatabase configured in the global JNDI
   resources under the key UserDatabase.  Any edits
   that are performed against this UserDatabase are immediately
   available for use by the Realm.  --
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
 debug=0 resourceName=UserDatabase/

  !-- Comment out the old realm but leave here for now in case we
   need to go back quickly --
  !--
  Realm className=org.apache.catalina.realm.MemoryRealm /
  --

  !-- Replace the above Realm with one of the following to get a Realm
   stored in a database and accessed via JDBC --

  !--
  Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=org.gjt.mm.mysql.Driver
  connectionURL=jdbc:mysql://localhost/authority
 connectionName=test connectionPassword=test
  userTable=users userNameCol=user_name userCredCol=user_pass
  userRoleTable=user_roles roleNameCol=role_name /
  --

  !--
  Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=oracle.jdbc.driver.OracleDriver
  connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL
 connectionName=scott connectionPassword=tiger
  userTable=users userNameCol=user_name userCredCol=user_pass
  userRoleTable=user_roles roleNameCol=role_name /
  --

  !--
  Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=sun.jdbc.odbc.JdbcOdbcDriver
  connectionURL=jdbc:odbc:CATALINA
  userTable=users userNameCol=user_name userCredCol=user_pass
  userRoleTable=user_roles roleNameCol=role_name /
  --



-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 10, 2004 13:34 PM
To: 'Tomcat Users List'
Subject: RE: Can't Login as Admin or manager


There is no account lock-out implemented in tomcat. Have a look in server.xml
and see how the realm is configured. You might have changed this through the
admin app. If you have, the previous server.xml should still be in the conf
directory with a timstamp appended to the filename.

Mark

 -Original Message-
 From: BONUCHI, MICHAEL ROGER (SBCSI) [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, July 10, 2004 6:35 PM
 To: Tomcat Users List
 Subject: RE: Can't Login as Admin or manager
 
 Hello Aman,
 
 By the way, I have a second Tomcat instance on this Win2K 
 laptop.  Of course, I only run one at a time.  The other 
 Tomcat instance, the one outside of the Sun/NetBeans 
 directory, works fine.  I can login as admin or manager 
 without error.  Here's my tomcat-users.xml for the one that 
 will not let me login:
 
 tomcat-users
   role rolename=tomcat/
   role rolename=manager/
   role rolename=admin/
   role rolename=user/
   user name=tomcat password=tomcat roles=tomcat /
   user name=roger  password=jake 
 roles=manager,admin,user,tomcat /
 /tomcat-users
 
 -Roger
 
 -Original Message-
 From: Aman Raheja [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 10, 2004 07:29 AM
 To: Tomcat Users List
 Subject: Re: Can't Login as Admin or manager
 
 
 Allow us to see your tomcat-users.xml file.
 Regards
 
 
 On Sat, 2004-07-10 at 17:20, BONUCHI, MICHAEL ROGER (SBCSI) wrote:
  Hello,
  
  I just setup Tomcat 5.019 as part of the NetBeans 
 3.6/Sun JDK 1.4x package.  At first I was able to login as 
 manager and admin, after an edit to the tomcat-users.xml 
 file.  Now, after apparently using the wrong ID or password 
 to login, I can not get back in no matter what I do with the 
 tomcat-users.xml file.  It looks like there's some password 
 administration that has locked me out.  I've searched high 
 and low in Tomcat doc and can not find a way out of this.  
 Short of a re-installation, what the secrete that I do not know?
  
  Thank you in advance,
  -Roger
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -- 
 Aman Raheja CompTIA Linux+ Certified
 [EMAIL PROTECTED]   Brainbench Certified 
 Linux (General) Admin
 www.TechQuotes.com  Brainbench Certified Linux 
 (RedHat 9) Admin
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

Re: About servlet-mapping

2004-07-10 Thread Jarl Skogsholm
keep the original mapping, but also add it to your welcome file list
On Sun, 11 Jul 2004 04:45:49 +0800, Koon Yue Lam [EMAIL PROTECTED] 
wrote:

Hi, I place member.jsp in my webapp root folder, which is
TOMCAT_HOME -- webapp --myWebApp/
and part of web.xml :
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
part of struts-config.xml:
action-mappings 
action
path=/Index
type=com.kiss.web.news.actions.Index
unknown=false
validate=true
forward
name=member
path=/Member.jsp
redirect=false
contextRelative=false /
/action
/action-mappings
I call http://localhost:8080/Index.do and member.jsp is shown
but when I change the
url-pattern*.do/url-pattern
to
url-pattern/*/url-pattern
then I call http://localhost:8080/Index
Index has been called with this error msg:
Invalid path /Member.jsp was requested
How can I fix it? I don't want to type some .do or .action sort of
thing in my url, I type want the url like :
http://localhost:8080/Index
with no extension
Any help?
Regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.
-- Benjamin Franklin (1755)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Finding CSS files in webapp

2004-07-10 Thread William BC Crandall

Greetings fellow Tomcat dancers,

Been losing cycles in a gumption trap, trying to hook a CSS file 
up to XSLT-generated XHTML pages. Many thanks to whomever sees 
my obvious error.

If I hardwire the full-path filename of my development environment 
into the XSLT file, all works as hoped/planned/dreamed. But all 
other techniques I've tried fail. 


Tomcat: 5.0.19. Webapp name: nrd.

WAR layout:

  |-nrd
|-css/nrd.css
|-images/
|-Meta-inf/
|-Web-inf/
  |-classes/
  |-dtd/
  |-lib/
  |-xsl/
  |-web.xml

web.xml:

web-app
  servlet
servlet-name
  controller
/servlet-name
servlet-class
  org.apnp.nrd.ControlServlet
/servlet-class
  /servlet

  servlet-mapping
servlet-name
  controller
/servlet-name
url-pattern
  /*
/url-pattern
  /servlet-mapping
/web-app

XSLT source that works:

head
  meta http-equiv=Content-Type
content=application/xhtml+xml; charset=utf-8/

  link rel=stylesheet type=text/css
href=C:\Apache\Tomcat\Tomcat50\webapps\nrd\css\nrd.css/
/head


Versions of CSS href that do not work:

href=css/nrd.css/
href=/css/nrd.css/
href=./css/nrd.css/
href=nrd/css/nrd.css/
href=/nrd/css/nrd.css/
href=./nrd/css/nrd.css/


I've also tried setting a global XSLT parameter:

  xsl:param name=rootDir select='../docroot'/

and calling that:

  link rel=stylesheet type=text/css
href={$rootDir}css/nrd.css/

which results in a known unsuccesful link:

href=/nrd/css/nrd.css 


Please, if you can, tell me what obvious thing I've missed.

Thanks for any suggestions.


Best wishes,

William BC Crandall
bc.crandall [around] earthlink.net


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DBCP with JDBC driver in WEB-INF/lib

2004-07-10 Thread Steven J. Owens
Hi all,

 I'm using tomcat with DBCP for connection pooling, on a hosted
server.

 My hosting provider is using an older driver that doesn't support
some JDBC 3.0 features I'd like.

 When I asked them about upgrading, they told me I could just stick
the jar file for the more up-to-date driver in WEB-INF/lib and use that.

 What I'm wondering is, how do I tell DBCP to use the WEB-INF/lib
jar file? 

-- 
Steven J. Owens
[EMAIL PROTECTED]

I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt. - Me at http://darksleep.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi Jarl !
sorry, I still don't get what u mean
I try to place 

welcome-file-list
welcome-file/Member.jsp/welcome-file
/welcome-file-list

in web.xml and keep the mapping as :
servlet-mapping
   servlet-nameaction/servlet-name
   url-pattern/*/url-pattern
/servlet-mapping

but I still got the 
Invalid path /Member.jsp was requested
error message...

can u please help me a little deeper?
I want to use the URL like:

http://localhost:8080/Index
rather than:
http://localhost:8080/Index.do

any help will be appreciated
Regards

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]