PostGraduate is still in development, WEB-INF is mapped from the IDE. Anyway, tried the request.getContextPath() on other pages with forms, works well.
-----Original Message----- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 6:31 PM To: Struts Users Mailing List Subject: RE: request.getContextPath(); but this your contextPath. so, request returns that string that you set. Is PostGraduate.war your file name? or in server.xml you have set contextPath="/PostGraduate". navjot |-----Original Message----- |From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 1:44 PM |To: [EMAIL PROTECTED] |Subject: request.getContextPath(); | | |Hi, | |Having a wired problem here. On some of my pages, the |request.getContextPath() works great, but on other pages, it doesn't |seem to work, it only gets the webapp. Eg. |page is in |http://192.168.1.111:8080/PostGraduate/admission/application/listProfil e |Setup |<http://192.168.1.111:8080/PostGraduatte/admission/application/listProf i |leSetup> i'm only receiving a "PostGraduate/" when I do a |request.getContextPath(); | | |Thanks in advance |Amin | | --------------------------------------------------------------------- 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]