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 HTML code in 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 "HTML code in Struts" Watch "HTML code in Struts" New topic

HTML code in Struts

Priya Jotwani
Ranch Hand

Joined: Oct 30, 2002
Posts: 53

I am writing JSP using Struts Tags in WSAD. Is there anyway to preview my JSPs so that I can atleast see that the HTML Code in my page is as desired ?

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

That little tab labeled "Preview" might do the trick.

A good workman is known by his tools.
Priya Jotwani
Ranch Hand

Joined: Oct 30, 2002
Posts: 53
Marc, the Preview tag doesn't diplays the listbox. Though it displays me the options of the listbox but its more like labels than than the listBox options. Any idea wat could be wrong ?

I agree. Here's the link:
subject: HTML code in Struts
Similar Threads
display html in jsp using struts action
Struts taglibs - references - doubt
Struts 2 + hibernate + validation
bean:write not working
bean:message in a java class