yugant shah

Greenhorn
+ Follow
since Apr 13, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by yugant shah

Hi

I am Happy to inform you all that today i cleared SCWCD5 with 91 % marks(63/69) ,thanks a lot to all for making this forum

such a wonderful Techy Space ,once again thanks a lot

Thanks,
Yugant Shah
17 years ago
Hello,
Sorry ,
the last line is >>

So this url starts with a "/". in case of getServletContext()().getRequestDispatcher("String url").
18 years ago
Hello,

The request.getRequestDispatcher("String url");
Here the url is relative to the particular request i.e the path is relative to the current resource.
Whereas, when we say,
getServletContext().getRequestDispatcher("String url"),
the url is relative path to the web-context.
So this url starts with a "/". in case of text().getRequestDispatcher("String url").

Thanks,
Yugant Shah.
18 years ago
Consider a stateless session bean CodebookManagerBean.java.
In the ejb-jar.xml we need to specify the transaction type of the bean.
For ex:
<session id="Session_CodebookManager">
<description><![CDATA[]]></description>

<ejb-name>CodebookManager</ejb-name>

<home>service.CodebookManagerHome</home>
<remote>service.CodebookManager</remote>
<local-home>service.CodebookManagerLocalHome</local-home>
<local>service.CodebookManagerLocal</local>
<ejb-class>service.CodebookManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>

</session>

Hope this might solve the issue.

Thanks.
Yugant Shah