[jboss-dev-forums] [EJB3 Development] - Re: java.lang.NullPointerException in EJB3 from JSP page

Amarnath K do-not-reply at jboss.com
Fri Jun 15 02:27:11 EDT 2012


Amarnath K [https://community.jboss.org/people/amarnath.k86] created the discussion

"Re: java.lang.NullPointerException in EJB3 from JSP page"

To view the discussion, visit: https://community.jboss.org/message/741909#741909

--------------------------------------------------------------
steps

1. create a servlet class, move your jsp scriptlet code to servlet.
2. configure servlet class into web.xml file.
3. create a form have value1, value2 textbox and submit button.
4. press the submit button call the servlet url which you configured in web.xml.
5. once process done in servlet class, pass response as html.
6. Get the response from jsp page, and print.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/741909#741909]

Start a new discussion in EJB3 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120615/9fbd4cce/attachment.html 


More information about the jboss-dev-forums mailing list