aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes El doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "El doubt" Watch "El doubt" New topic
Author

El doubt

sri latha
Greenhorn

Joined: Mar 03, 2006
Posts: 27
ScopedVars.java



scoped-vars.jsp





Can anyone Please explain why my scoped-vars.jsp is not displaying the attribute values from servlet. It is simply displaying the output like this.

attribute1:
attribute2:
attribute3:
Source of "repeated" attribute
Thanks in advance
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Already answered the same one yesterday !

http://www.coderanch.com/t/291490/JSP/java/Accessing-scoped-variables-EL


[My Blog]
All roads lead to JavaRanch
sri latha
Greenhorn

Joined: Mar 03, 2006
Posts: 27
Sorry satou still iam not getting the output. May be i think my jsp is not recognising the servlet. can any one help me.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Everything seems right. Be sure that the URL in your browser is pointing to the mapped servlet and not to the JSP.


A good workman is known by his tools.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Mmh, everything looks fine indeed.
Did you try removing the DOCTYPE in your jsp file ?
sri latha
Greenhorn

Joined: Mar 03, 2006
Posts: 27
Thank you Marc, you are right. i didnt even think when we call servlet only it forwards to jsp.not vice versa according to the code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: El doubt