You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ja...@cps.pf on 2000/06/23 20:44:28 UTC

Réf. : Re: JSP compilation


First, thanks for help.,it's work.
Just two things :
1)
 -webinc and -webxml generate file like that :
     <servlet>
          <servlet-name>login</servlet-name>
          <servlet-class>login</servlet-class>
     </servlet>
     <servlet-mapping>
          <url-pattern>\login.jsp</url-pattern>
          <servlet-name>login</servlet-name>
     </servlet-mapping>

" <url-pattern>\login.jsp</url-pattern> " is not good
the rigth syntaxe (in Windows) is " <url-pattern>/login.jsp</url-pattern> "
Is it a bug ?
The file generate is not a simple text file. I must read it with Write.exe (not
Notepad). So it doesn't work with Tomcat. I must first copy the source from
Write to Notepad and save it.
Another bug ?

2) I would like to compile all JSP before run them. Is it possible to mapping
all *.JSP to servlet , and so not to define all <servlet-mapping> for all JSP ?

Frederic Poirrier