aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Webshpere and struts" Watch "Webshpere and struts" New topic
Author

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?

Thanks,
George
Marc Peabody
pie sneak
Sheriff

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Webshpere and struts