It's very hard to get any servlet to respond to just /context (as opposed to /context/servlet). Servlet API 2.1 has a concept of a "welcome page" that can be HTML or JSP, but currently can't be pure servlet (I believe this is addressed in a later version of the Servlet API).
Don't ask me what to change in your web.xml without sending me a copy! :-) One solution is to have a static index.html or index.jsp that redirects to the servlet. I'd need to see your web.xml to figure out your remaining problem. -- [EMAIL PROTECTED] http://tapestry.sf.net > Sorry to reply to you directly.. my post hasn't shown up on the list yet > so I figure something is up.. I got the war working.. > > The first time I run my ApplicationServlet it works fine, but if I > refresh I get "HTTP ERROR: 503 Servlet Not Initialized". > > Also, I am trying to get my servlet to launch from /NAMEOFWAR but so far > I can only get it to launch from /NAMEOFWAR/servlet/NAMEOFSERVLET > > What change must I make to my web.xml in order to address this? > > Thanks in advance > > Luke Galea > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: September 5, 2002 10:40 AM > To: Luke Galea > Subject: RE: [Tapestry-developer] JBoss/Tapestry Error/Problem: Cannot > locate application xml > > There's your problem; all specifications and HTML > templates belong on the classpath, inside WEB- > INF/classes with your Java code. > > -- > [EMAIL PROTECTED] > > http://tapestry.sf.net > > META-INF/MANIFEST.MF > > Login.html > > > WEB-INF/classes/com/bluecatnetworks/meridius/webmin/WebminServlet.class > > WEB-INF/web.xml > > Webmin.application > > Login.jwc > > > > Luke Galea > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: September 5, 2002 10:23 AM > > To: Luke Galea > > Subject: Re: [Tapestry-developer] JBoss/Tapestry Error/Problem: Cannot > > locate application xml > > > > Please do a jar -tf webmin.war and provide the results. > > You probably have some files deployed to the wrong > > location. > > > > -- > > [EMAIL PROTECTED] > > > > http://tapestry.sf.net > > > I have successfully got the tutorial running by placing the required > > > jars in the lib dir of jboss and deploying tutorial.war. > > > I am now trying to deploy my own simple war where I have a war > called > > > webmin.war. It's classes contain an ApplicationServlet, a > login.html, > > > login.jwc and Webmin.application. > > > > > > I have put everything but the servlet in the document root of the > war, > > > and I have tried returning both "Webmin.application" and > > > "/webmin/Webmin.application" from the > > getApplicationSpecificationPath() > > > method of the ApplicationServlet. In both cases it cannot find the > > file > > > and gives an error. A refresh results in a null pointer exception. > > > > > > The web.xml for the war defines the servlet as "webmin" and has a > > > servlet mapping for /webmin/* to webmin. I access the servlet > through > > > http://localhost:8080/webmin/servlet/webmin > > > > > > Any ideas? Thanks in advance! > > > > > > Luke Galea > > > > > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
