File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Webshpere and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Webshpere and struts" Watch "Webshpere and struts" New topic

Webshpere and struts

George Toronto
Ranch Hand

Joined: Dec 30, 2000
Posts: 78
Hi Marc and everyone,

I use websphere to build up my struts web apps. I am stucked by the following problem for a while, could you help me out?

the structure is a basice one. login.jsp(LoginForm) ->LoginAction ->forward to ok.jsp. In ok.jsp, I used <bean:message> or <bean:write>, then I got an error :

[Servlet Error]-[JSP 1.2 Processor]: java.lang.IllegalArgumentException: can't access SESSION_SCOPE without an HttpSession

If I kick bean tags off and use jsp statements to see the results, everything is ok. what happened?

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Could you show the full tags that did and did not work?

A good workman is known by his tools.
I agree. Here's the link:
subject: Webshpere and struts