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 c:out value not working 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 "c:out value not working" Watch "c:out value not working" New topic

c:out value not working

Souvik Bhattacharya

Joined: Jan 20, 2011
Posts: 1

I am using struts in my project. With that I have saved errors with saveErrors(request,errors) function. But at time of displaying the error I am having problem.

The code to display error is :


Now during display instead of display the error message it display ${message} to screen.
Instead of out method in core if i use <%=message%> to display then it work well.

Why this problem happens. Please suggest me.
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 511
You may want to check FAQ.


Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

Welcome to JR Souvik

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
It is sorta covered in the JavaRanch Style Guide.
subject: c:out value not working
Similar Threads
Struts error message
Messages displayed only if I use saveErrors()
JSP in Struts
Struts Errors