This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
wood burning stoves
subject: Webshpere and struts
Similar Threads
Error using Struts Messages
Cannot find message resources ?
JBoss4 Problem using JAAS
Getting error with Struts-menu
Struts: Can we have a html:text tag without a html:form tag outside it.