This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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
It's not a secret anymore!