Sarath PS

Greenhorn
+ Follow
since Oct 22, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sarath PS

put the props file in class path and try ,

17 years ago
Have you given socket permission to your class files in conf/catalina.policy ?
18 years ago


I am behind a proxy server. I have tried both enabling and disabling proxy server but in vain.



Proxy doesn't make any difference. Check if you have a firewall.
18 years ago
18 years ago
try bash --login filename.sh

Which will load all variables !
18 years ago
When using factory methods, we don't know the exact class of the object we are creating. What we know is when it should be created and the base class. the actual class instantiated will be depended on so many factors.

The code, that creates the objects, don't want to care about what object is created and how it is created. That responsibility is handed over to the factory, so that the client code can concentrate on it�s (primary ) responsibility. Delegation of responsibility is a good practice(Pattern ? ). Factory pattern encourages this practice.
it's neither model nor controller.
It connects model with the controller. You consider Action classes as a ModelHelper !
18 years ago
I remember some web application that used package-less classes, stopped working after being migrated to 5.0.28.
Package is a must for tomcat after 5.0.x , i believe.
18 years ago
I think we can have multiple front controllers in a single web application.
hi all ,
I created a jsp file that uses some classes( with out any package).
But when i try to execute, Jasper gives me error like this.

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

/usr/java/tomcat-5.0.25/work/Catalina/localhost/myapp/org/apache/jsp/index_jsp.java:6: '.' expected
import Account;
^
1 error


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


Any body know any work around with out changing the package structure ? .This is because , I don't have the source code for the application.

Thanks in advance

Sarath
19 years ago