Mr Ambati i have gone through the code of two servlets and find that you placed HttpSession session = request.getSession(); this code. But what you have to do is get session through...
Type: Posts; User: sweet_person; Keyword(s):
Mr Ambati i have gone through the code of two servlets and find that you placed HttpSession session = request.getSession(); this code. But what you have to do is get session through...
Mr Ambati Please read what i wrote and if you still have queries please send me the Servlet names and the files what you have tested. So that i can come to a precise decisssion.
Mr Ambati, i think you are wrong. request.getSession() creates a new session , irrespective of there is already a session or not.
but request.getSession(false) will not create a session if there...
Yes we can do this. you need to write
<error-page>
<exception-type>javax.sql.SQLException</eception-type>
<location>error.jsp</location>
</error-page>
Just add the above...
Your question is not precise.
Call Back methods are nothing but the methods that should be overridden by you from the Super Class. For example we have execute() method in Action class which should be overridden (mandatory). so...
What are Call back methods in java?
Yes we can have return types of void in declaration tag. and the implicit objects are not accessible in metods, so we have to send the parameters while calling the method.
Please set the environment variable JAVA_HOME to jdk path. and try. hope you will not get this problem again.
Please give the code?
We can Servlet context information using the ServletContext object . i am writing the code pls go through this.
First SERVLET:
ServletContext sc=getServletContext();...
sorry man i couldnt understand your problem. please explain your problem in eloborated manner, so that i can come with answer.
Yes the above code is correct. we can forward .
sorry batman your question is not understood by us. please come with a concise question?
you invoke your Hello class using these methods
<% Hello hello=new Hello();%>
<%=hello.say()%>
You will definitely not get the error. and make sure that you place Hello class in the...
How can we display Html tags on the browser using HTML.
i know using > and < we can do this. But if we have to display for large code how can you do?
what do u mean by caching in Jsp?
The problem is u have get installed Oracle server or some other server that uses port no 8080.
The solution is you get into the tomcat folder/conf/server.xml file and go through the page. on one...
No we cannot have 2 struts-config.xml files. In one case we can use 2 struts-cofig.xml files with some minor change in the file name. i e we can use strtus-config-<module-name>.xml. eg...