identifier expected error
hi all
i'm trying to get my start with small application since got struck in bigger prob.package com.mycompany.messages.action;
import java.io.IOException;
import java.io.*;
//import com.mycompany.message.bean.sambean;
publicclass samaction
{
//BeanName obj = (BeanName) form // here form is a parameter passed in Action execute method.
javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest)javax.faces.context.FacesContext.getCurrentInstance().getExternalContext().getRequest();
String comb = request.getParameter("myform:combo");
System.out.println(comb);
//sambean bea = new sambean();
public String getSuc(){
System.out.println("hi");
return"success";
}
}
its pointing at comb and saying identifier expected

