The following example shows how to get started using XDoclet to generate the 
descriptors for servlets:
http://www.netbeans.org/kb/41/j2ee-server-integration.html
This is their servlet annotation:
    * @web.servlet name="Compute"
    *              display-name="Computation Servlet"
    *              description="Servlet that computes Fibonacci suite"
    *
    * @web.servlet-mapping url-pattern="/Compute"
    *
    * @web.ejb-ref name="ejb/Fibo"
    *              type="Session"
    *              home="tutorial.ejb.FiboRemoteHome"
    *              remote="tutorial.ejb.FiboRemote
    *              description="Reference to the Fibo EJB"
    *
    * @jboss.ejb-ref-jndi  ref-name="ejb/Fibo"
    *                      jndi-name="ejb/Fibo"



However what if I am working with only JSPs
Do I still need annotations in my JSP?
Also if i have no servlets and only jsps then do i still need to copy the
xdoclet-web-build.xml  and xdoclet-web-build.properties  in the WebModule's 
root directory???
and run the WebDoclet?

Currently I havent run XDoclet on the webmodule and if i compile the index.jsp 
i keep getting the error:
package sessionpack does not exist

Do i need to modify some xml file for it to find the package?


Any help appreciated!
Thanks!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953848#3953848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953848

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to