Vishal Matere

Ranch Hand
+ Follow
since Jan 22, 2008
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 Vishal Matere

web services or SCEA would help.

I will personally go for SCEA because of value it has in the market
can you please try
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\SL\WEB-INF\classes
11 years ago
ERROR: case expressions must be constant expressions

SOLUTION: final int b = 2;

V
Because service() ultimately calls doGet()/doPost() methods which needs response object to send response to client.

Alternatively user can overide service() method and can write his own code to return response.

HTH
12 years ago
good to know it worked...

V
12 years ago
As you can see its very difficult to find whats wrong with your deployment.
However I will try to help you debug this issue.
1.write a class that implements HttpSessionListener
2.Override sessionCreated() & sessionDestroyed() method and get accession to HttpSession object
3.Print when this session was created/last accessed etc (additional info abt session)
4.write Entry for this class in web.xml under Listener tag.
5.start application, wait for session time out after 15mins (for incorrect timeouts)
6.Debug which session got terminated and if there is any specific reasons behind it.(i.e. By calling session.invalidate() somewhere else in code etc)

Not sure if this helps but HOPE SO..
V
12 years ago

Is this error message externalised?

In struts-config.xml file


in ApplicationResources.properties file


HTH
V
12 years ago
simple.
use same page in your input attribute...
12 years ago
In Action class.

Add error message in Action class like this


And write your error page name in <action ----- input="errorPageName">

HTH
V
[ May 13, 2008: Message edited by: Vishal Matere ]
12 years ago
Congrats Guys

V
12 years ago
Questions always keep on changing.
I doubt about it.
javax.ejb.EJBObject is example of proxy pattern
return super.validate(arg0, arg1);
do you see any problem here.

I am sure you can now show error message. I gave you all hints...

HTH
V
12 years ago
what name you are using for 'checkbox'.
12 years ago