This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP" Watch "JSP" New topic


chandra sekhar

Joined: Apr 21, 2000
Posts: 13
We are unable to execute Jsp file with UseBean tag in JRun server There is no sytanx problem.Where should we place our bean class under JRun subdirectory.Iam sending the code

<title>Bean String Example</title>
<UseBean name="mybean" scope="application" type="Beans.MyBean" ></UseBean>
<%String s="chandu"; %>
<% String s1;%>
<% mybean.setName(s); %>
<%s1= mybean.getName(); %>
The name is <%=s1%>
bean code
package Beans;
public class MyBean
String strName;

public void setName(String s)
strName=new String(s);
public String getName()
return strName;

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13001
JRun has got one of the most confusing complex of directories I have ever seen. The next version is supposed to simplify things - I hope it will go entirely to the recommended J2EE configuration.
I think what you want is the /JRun/jsm-default/classes directory for Bean classes.
Have you checked out Aspose?
subject: JSP
It's not a secret anymore!